:root {
    /* --primary-color: #fdcc58; original */
    /* --primary-color: #b17e09;  */
    /* --primary-color: #704f03;  */
    --primary-color: #ddad3e; 
    --secondary-color: #2ecc71; 
    --text-color: #f7f7f7; 
    /* --background-color: #3b3b3b; */
    --background-color: #212121;
}

html {
    font-size: 10px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
}

body {
    font-size: 1.6rem;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%; 
    margin: 0 auto;
    overflow-x: hidden;
}

.hamburger {
    display: none;
    font-size: 2.5rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    
    
}




/* audio */
.audio-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0; /* Ajusta el margen según necesites */
}

/* Estilos de navegación */
.layout__nav {
    width: 100%;
    height: 8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background-color: rgba(59, 59, 59, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
    
    
}

.layout__nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: -13rem;
    font-size: 1.4rem;
}

.layout__nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    transition: all 200ms ease-in-out;
}

.layout__nav ul li a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
    font-weight: 600;
}

.nav__logo {
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1rem;
    
}

.nav__logo img {
    width: 4rem;
    height: 4rem;
}

.nav__redes {
    display: flex;
    gap: 2rem;
    
}

.nav__redes i {
    font-size: 2rem;
    color: var(--text-color);
    transition: color 0.3s ease;
    transition: all 200ms ease-in-out;
}

.nav__redes i:hover {
    color: var(--primary-color);
    transform: scale(1.5);
}

/* Estilos del contenido principal */
.layout__main {
    flex-grow: 1;
    display: flex;
    flex-direction: column; 
    align-items: center;
    padding: 2rem;
    margin-top: 8rem; 
  }
.main__hero {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 2rem;
    box-sizing: border-box;
}


.main__quienesSomos {
    padding: 6rem 4rem;
    background-color: rgba(59, 59, 59, 0.1);
    margin-top: 4rem;
}

.quienesSomos__title {
    text-align: center;
    font-size: 4rem;
    color: var(--primary-color);
    margin: 4rem;
}

.quienesSomos__container {
    display: flex;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.container__izq {
    flex: 0 0 45%;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
}

.izq__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-top: 3rem;

}

.container__der {
    flex: 0 0 55%;
}

.content-wrapper {
    padding: 2rem;
}

.intro-text {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.container__der h3 {
    color: var(--text-color);
    font-size: 2.4rem;
    margin: 2.5rem 0 1.5rem;
}

.features, .products {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.features p, .products p {
    line-height: 1.6;
}

.features strong, .products strong {
    color: var(--text-color);
}


.footer {
    background-color: #212121; 
    color: #f7f7f7; 
    padding: 2rem;
    text-align: center;
    font-size: 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 2rem;
}

.footer__social a {
    color: #f7f7f7;
    font-size: 2.5rem;
    transition: color 0.3s ease;
}

.footer__social a:hover {
    color: var(--primary-color); 
    transform: scale(1.1);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__contact p {
    margin: 0;
    font-size: 1.4rem;
}

.footer__contact i {
    margin-right: 0.5rem;
}
.footer__link{
    font-size: 1.6rem;
}

.footer__credits {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #bbb;
}

.footer__credits p {
    margin: 0;
}

.contact__title{
    margin: 1rem;
}

/* escarapela flotante */
.floating-escarapela {
    position: fixed; /* Para mantenerlo flotando sobre la página */
    bottom: 20px; /* Ajusta la posición vertical */
    right: 20px; /* Ajusta la posición horizontal */
    z-index: 1000; /* Asegura que esté por encima del slider */
}

.floating-escarapela img {
    width: 90px; /* Ajusta el tamaño del logo */
    height: auto;
    filter: drop-shadow(10px 10px 10px black);
}







/* Responsive design */


@media (max-width: 768px) {
    html {
        font-size: 8px;
    }

    .layout__nav {
        padding: 1rem 2rem;
    }
    
    
    .quienesSomos__container {
        flex-direction: column;
    }

    .container__izq {
        flex: 0 0 100%;
    }

    .image-container {
        min-height: 400px;
    }

    .container__der {
        flex: 0 0 100%;
    }

    .content-wrapper {
        padding: 1rem 0;
    }

    .quienesSomos__title {
        font-size: 3rem;
    }
    .main__instrumentos {
        padding: 4rem 1.5rem;
    }

    
    .hamburger {
        display: block; 
    }
    
    
    #nav-menu {
        display: none; 
        flex-direction: column;
        width: 100%;
        height: auto;
        position: absolute;
        top: 0;
        right: 0;
        background-color: rgba(59, 59, 59, 0.9);
    }

    .nav-menu2{
        display: none;
    }
    
    #nav-menu.active {
        display: flex; 
    }
    
    #nav-menu li {
        text-align: center;
        padding: 1rem 0;
    }
    
} 

@media (max-width: 480px) {

    .layout{
        width: 100%;
        
    }
    
    .layout__nav ul {
        display: none;
    }
    .layout__nav{
        width: 100%;
        
    }
    


    .hero__izq h2 {
        font-size: 4rem;
        margin-left: 0;
    }

    .hero__izq h1 {
        font-size: 3rem;
        margin-left: 0;
    }
    .hero__izq p{
        margin-left: 0;
        text-align: center;
    }

    .hero__izq, .hero__der {
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .hero__der {
        margin-top: 5rem;
        display: flex;
        justify-content: center; 
        height: 40vh;
    }

    .hero__der img {
        margin: 0 auto;
        width: auto;
        height: auto;
        max-width: 100%;
        object-fit: contain; 
        align-items: center;
    }

    .main__quienesSomos {
        padding: 3rem 1.5rem;
        
        
    }

    

    .image-container {
        min-height: 200px;
        
    }

    .container__der h3 {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1.6rem;
    }
    .instrumentos__container{
        flex-direction: column;

    }

    .instrumentos__title{
        margin-top: 4rem;
    }

    .card{
        margin-top: 3rem;
        
    }
    

    .card img {
        height: 350px;
    }

    .card h2 {
        font-size: 2.2rem;
        padding: 1.5rem;
        
    }

    .hamburger {
        display: block; 
    }


    #nav-menu {
        display: none; 
        flex-direction: column;
        width: 100%;
        height: auto;
        position: absolute;
        top: 8rem;
        right: 0;
        background-color: rgba(59, 59, 59, 0.9);
    }
    .nav-menu2{
        display: none;
    }

    #nav-menu.active {
        display: flex; 
    }

    #nav-menu li {
        text-align: center;
        padding: 1rem 0;
    }

    .instrumentos-container{
        flex-direction: column;
        gap: 15rem;
    }

    .sub-seccion .sub-submenu {
        
        left: 85%;}

        .sub-seccion .sub-submenu {
            display: none;
            position: absolute;
            top: 0;
            left: 95%;
            margin-left: 0.5rem;
            
        
        
    }

    .footer {
        padding: 1.5rem;
        font-size: 1.2rem;
    }

    .footer__social a {
        font-size: 2rem;
    }

    .footer__contact p {
        font-size: 1.2rem;
    }

    .footer__credits {
        font-size: 1rem;
    }

    /* escarapela flotante */
.floating-escarapela {
    
    bottom: 15px; /* Ajusta la posición vertical */
    right: 15px; /* Ajusta la posición horizontal */
    
}

.floating-escarapela img {
    width: 60px; /* Ajusta el tamaño del logo */
    height: auto;
    
}

.maps {
  width: 300px;
  margin: 0 auto; /* centra horizontalmente */
  display: block; /* necesario para que margin funcione */
  border-radius: 15px;
}


}