/* Reset básico y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
a {
    text-decoration: none;
    color: inherit;
}

/* Header y Navbar (actualizado) */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
}
.logo-container {
    display: flex;
    align-items: center;
}
.logo-image {
    width: 150px;
    height: 75px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(2px 4px 6px black);
}
.logo-image:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(52, 152, 219, 0.5));
}
nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
nav ul li {
    margin-left: 30px;
    position: relative;
}
nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}
nav ul li a:hover {
    color: #3498db;
}
nav ul li a:hover::after {
    width: 100%;
}
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content li {
    margin: 0;
}
.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
    text-align: left;
}
.dropdown-content a:hover {
    background-color: #f1f1f1;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #3498db;
}
.middle-logos {
    display: flex;
    align-items: center;
}
.middle-logo-image {
    width: 80px;
    height: 40px;
    object-fit: contain;
    margin: 0 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.middle-logo-image:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(52, 152, 219, 0.5));
}

/* Estilos responsive */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .logo-container {
        align-items: self-start;
    }
    .middle-logos {
        order: 2;
        flex-grow: 1;
        justify-content: center;
    }
    .menu-toggle {
        display: block;
        order: 3;
    }
    nav {
        width: 100%;
        order: 4;
        display: none;
    }
    nav.active {
        display: block;
    }
    nav ul {
        flex-direction: column;
    }
    nav ul li {
        margin: 10px 0;
    }
    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
    }
    .dropdown.active .dropdown-content {
        display: block;
    }
}
/* Menú desplegable (sin cambios) */
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content li {
    margin: 0;
}
.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
    text-align: left;
}
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Menú móvil (sin cambios) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #3498db;
}

/* Estilos actualizados para la sección de Contacto */
.contacto {
    padding: 8rem 0;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.contacto-container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contacto-info {
    flex: 1;
    padding: 3rem;
    background-color: #3498db;
    color: #fff;
}

.contacto-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.contacto-info p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contacto-info ul {
    list-style: none;
    padding: 0;
}

.contacto-info ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contacto-info ul li i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.contacto-form {
    flex: 1;
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.btn-submit {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(52, 152, 219, 0.1);
}

.btn-submit:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(52, 152, 219, 0.2);
}

/* Estilos actualizados para el mapa */
.mapa-container {
    margin-top: 4rem;
    height: 400px;
    width: 100%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #666;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Actualización del estilo para el botón de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #FFFFFF;
}

/* Footer (actualizado) */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 4rem 0 2rem;
    }
    .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    }
    .footer-section {
    width: calc(33.333% - 20px);
    margin-bottom: 2rem;
    }
    .footer-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1rem;
    }
    .footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #3498db;
    }
    .footer-section ul {
    list-style: none;
    }
    .footer-section ul li {
    margin-bottom: 0.5rem;
    }
    .footer-section ul li a {
    transition: color 0.3s ease;
    }
    .footer-section ul li a:hover {
    color: #3498db;
    }
    .footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    font-size: 0.9rem;
    color: #bdc3c7;
    }
    

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    nav.active {
        display: block;
    }
    nav ul {
        flex-direction: column;
        padding: 1rem;
    }
    nav ul li {
        margin: 0;
        padding: 0.5rem 0;
    }
    nav ul li a::after {
        display: none;
    }
    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
    }
    .dropdown.active .dropdown-content {
        display: block;
    }
    .contacto-container {
        flex-direction: column;
    }
    .contacto-info,
    .contacto-form {
        padding: 2rem;
    }
    .footer-section {
        width: 100%;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        right: 20px;
        bottom: 20px;
        font-size: 24px;
    }
}

