@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Roboto;
    margin: 0;
    padding: 0;
}

/*----------HEADER----------*/
.header {
    background-color: #272525;
    /*background-color: #0A70B8;*/
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
        
.header-container {   
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
        
.logo {
    display: flex;
    align-items: center;
}

.logo img{
    height: 45px;
    width: auto;
}

/* Botón hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Navegación */
.nav {
    display: flex;
    align-items: center;
}

.nav-header {
    display: none;
}

.menu-close {
    display: none;
}
        
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}
        
.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffffff;
    background-color: #E8AE30;
    border-radius: 6px;
}

.nav-social {
    display: none;
}

.menu-overlay {
    display: none;
}

.nav-menu .active{
    color: #ffffff;
    background-color: #E8AE30;
    border-radius: 6px;
}

/*----------BANNER----------*/
.slides img{
    width: 100%;
    height: 500px;
    object-fit: cover;
}


/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}


/*
.banner {
    background: url(../imagenes/fondo.webp);
    position: relative;
    overflow: hidden;
    padding: 150px 0;
    color: white;
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
}
*/
.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.banner-title {
    margin-bottom: 20px;
    line-height: 1.2;
    font-size: 35px;
    font-weight: 800;
}

.footer {
            background-color: #272525;
            color: white;
            padding: 2rem 1rem;
        }

        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            align-items: start;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            justify-self: start;
        }

        .logo {
            max-width: 150px;
            height: auto;
        }

        .footer-section h3 {
            color: #ffffff;
            margin-bottom: 1rem;
            font-size: 1.1rem;
            border-bottom: 2px solid #E8AE30;
            padding-bottom: 0.5rem;
            display: inline-block;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: #E8AE30;
        }

        .contact-info {
            list-style: none;
        }

        .contact-info li {
            margin-bottom: 0.8rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .contact-icon {
            width: 40px;
            height: 40px;
            background-color: #555;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            flex-shrink: 0;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            justify-content: flex-start;
        }

        .social-link {
            width: 40px;
            height: 40px;
            background-color: #555;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: background-color 0.3s ease;
        }

        .social-link:hover {
            background-color: #E8AE30;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-menu{
                gap: 10px;
            }

            .nav-menu a{
                font-size: 15px;
                padding: 10px 5px;
            }

            .footer-container {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
            }

            .footer-logo {
                justify-self: center;
                margin-bottom: 1rem;
            }

            .footer-section h3 {
                font-size: 1.2rem;
            }

            .social-links {
                justify-content: center;
            }

            .contact-info li {
                justify-content: center;
            }

            .banner{
                padding: 120px 0;
            }
        }

        @media (max-width: 480px) {
            

             /* Mostrar botón hamburguesa */
            .menu-toggle {
                display: flex;
            }


            /* Navegación móvil */
            .nav {
                position: fixed;
                top: 0;
                left: -100%;
                width: 80%;
                max-width: 300px;
                height: 100vh;
                background-color: #272525;
                flex-direction: column;
                align-items: flex-start;
                padding: 20px;
                transition: left 0.3s ease;
                overflow-y: auto;
                z-index: 1002;
            }

            .nav.active {
                left: 0;
            }

            /* Botón cerrar */
            .menu-close {
                display: block;
                position: absolute;
                top: 20px;
                right: 20px;
                background: none;
                border: none;
                color: #fff;
                font-size: 24px;
                cursor: pointer;
                padding: 5px;
                transition: color 0.3s ease;
            }

            .menu-close:hover {
                color: #E8AE30;
            }

            /* Logo en el menú */
            .nav-header {
                display: block;
                width: 100%;
                padding: 20px 0;
                border-bottom: 1px solid #444;
                margin-bottom: 30px;
            }

            .nav-header img {
                height: 40px;
                width: auto;
            }

            /* Menú vertical */
            .nav-menu {
                flex-direction: column;
                gap: 0;
                width: 100%;
                margin-top: 20px;
            }

            .nav-menu li {
                width: 100%;
                border-bottom: 1px solid #444;
            }

            .nav-menu a {
                display: block;
                padding: 15px 0;
                font-size: 15px;
            }

            .nav-menu a:hover {
                color: #E8AE30;
                background: none;
            }

            .nav-menu .active{
                color: #E8AE30;
                background: none;
            }

            /* Redes sociales en el menú */
            .nav-social {
                display: block;
                width: 100%;
                margin-top: auto;
                padding-top: 60px;
                /*border-top: 1px solid #444;*/
            }

            .nav-social h3 {
                color: #fff;
                font-size: 16px;
                margin-bottom: 15px;
                font-weight: 500;
            }

            .social-icons {
                display: flex;
                gap: 15px;
            }

            .nav-social .social-link {
                width: 45px;
                height: 45px;
                background-color: #555;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                text-decoration: none;
                transition: background-color 0.3s ease;
                font-size: 18px;
            }

            .nav-social .social-link:hover {
                background-color: #E8AE30;
            }

            /* Overlay */
            .menu-overlay {
                display: block;
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100vh;
                background-color: rgba(0, 0, 0, 0.5);
                opacity: 0;
                visibility: hidden;
                transition: opacity 0.3s ease, visibility 0.3s ease;
                z-index: 1001;
            }

            .menu-overlay.active {
                opacity: 1;
                visibility: visible;
            }

            
            .footer {
                padding: 1.5rem 0.5rem;
            }
            
            .footer-container {
                gap: 1.5rem;
            }

            .footer-section h3 {
                font-size: 1.1rem;
            }

            .social-links {
                gap: 0.5rem;
            }

            .social-link {
                width: 35px;
                height: 35px;
            }

            .logo {
                max-width: 120px;
            }

            .banner{
                padding: 100px 0;
            }

            .banner-title{
                font-size: 20px;
            }


            
            .header-container {
                flex-direction: row-reverse;
                justify-content: space-between;
            }
        }