/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

body {
    padding-top: 80px; /* Compensa la barra de navegación fija */
}

/* Barra de navegación */
.navbar {
    position: fixed;
    top: 0;
    height: 80px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.logo {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-img {
    max-width: 200px;
    width: auto;
    height: auto;
    max-height: 60px;
    transition: all 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.menu {
    flex: 2;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.menu a:hover {
    color: #1b3d73;
}

.right-buttons {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.login, .idioma, .signup {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

.login, .signup {
    background: #162640;
    color: white;
}

.login:hover, .signup:hover {
    background: #1b3d73;
    color: white;
}

.idioma {
    background: #f0f0f0;
    transition: all 0.3s;
    min-width: 50px;
}

.idioma:hover {
    background: #e0e0e0;
}

/* Secciones */
section {
    min-height: 100vh;
    padding: 80px 5% 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#conocenos {
    background: #ffffff;
}

#contactanos {
    background: #ffffff;
}

/* Footer */
#contactanos {
    position: relative;
    min-height: auto; /* Elimina el 100vh */
    padding-bottom: 80px; /* Espacio para el footer */
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    margin-bottom: 80px;
}

.logo-footer {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.foot-logo{
    width: auto;
    height: auto;
    max-height: 230px;
    max-width: 200px;
    transition: all 0.3s;
}

.contacto {
    flex: 1;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contacto p {
    margin: 10px 0;
}

.social {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alinea a la izquierda */
    justify-content: center;
    gap: 15px;
}

.social a {
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1rem; /* Tamaño para el texto */
    transition: transform 0.3s;
}

.social i {
    font-size: 1.5rem; /* Tamaño para los iconos */
    width: 30px; /* Ancho fijo para alineación */
    text-align: center;
    position: relative;
    top: 1px;
}
.social a:hover i {
    animation: bounce 0.5s;
}
@keyframes bounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

.social a:hover {
    transform: translateX(5px);
}

.social-Fb:hover {
    color: #3b5998;
}

.social-In:hover {
    color: #E1306C;
}

.social-Li:hover {
    color: #0077B5;
}

.copyright-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: #162640;
    color: white;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
        height: auto;
    }

    .logo-img {
        height: 50px;
        max-width: 200px;
    }

    .menu {
        margin: 15px 0;
        flex-wrap: wrap;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        margin-bottom: 60px;
    }

    .logo-footer, .social {
        align-items: center;
        text-align: center;
    }

    .social {
        align-items: center;
    }
    
    .social a {
        flex-direction: column;
        text-align: center;
    }

    .copyright-footer {
        padding: 15px 10px;
        font-size: 14px;
    }

}
