/* style.css - Versión actualizada */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 70px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: #448ac9;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 0.9rem;
    color: #666;
}

.contact-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    background-color: #448ac9;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-label {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 3px;
}

.contact-value {
    font-weight: 600;
    color: #448ac9;
}

/* Menú hamburguesa para móvil */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #448ac9;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

/* Menú móvil desplegable */
.mobile-menu {
    display: none;
    background-color: #fff;
    padding: 20px 0;
    border-top: 1px solid #eee;
    margin-top: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mobile-menu.active {
    display: block;
}

.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-contact-item:last-child {
    border-bottom: none;
}

.mobile-contact-item i {
    background-color: #448ac9;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.mobile-contact-item span {
    color: #333;
    font-weight: 500;
}

/* Banner */
.banner {
    background: linear-gradient(rgba(26, 95, 90, 0.85), rgba(26, 58, 95, 0.9)), url('assets/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
}

.banner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.banner-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.features {
    list-style: none;
}

.features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features i {
    color: #4dabf7;
}

.contact-form-container {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.form-header {
    margin-bottom: 25px;
    text-align: center;
}

.form-header h3 {
    color: #448ac9;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #448ac9;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
}

.submit-btn {
    background-color: #448ac9;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #2c4f7c;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Sección Sobre Nosotros */
.about {
    padding: 80px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #448ac9;
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    background-color: #e9f5ff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 1.8rem;
    color: #448ac9;
}

.service-card h3 {
    color: #448ac9;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Galería */
.gallery {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(68, 138, 201, 0.9));
    color: white;
    padding: 25px 20px 20px;
    transform: translateY(10px);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

/* Footer */
.footer {
    background-color: #448ac9;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-logo h3 {
    font-size: 1.5rem;
}

.footer-description {
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Estilos para redes sociales en el footer */
.social-media h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon.facebook {
    background-color: #3b5998;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook:hover {
    background-color: #2d4373;
}

.social-icon.instagram:hover {
    opacity: 0.9;
}

.footer-contact h4,
.footer-hours h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
}

.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    opacity: 0.9;
}

.contact-details i {
    margin-top: 3px;
    color: #4dabf7;
}

.footer-hours p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive - Versión actualizada */
@media (max-width: 992px) {
    .banner-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .banner-text h2 {
        font-size: 2.2rem;
    }
    
    .header-content {
        flex-direction: row;
        gap: 20px;
    }
    
    .contact-info {
        display: flex;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .banner {
        padding: 60px 0;
    }
    
    .banner-text h2 {
        font-size: 1.9rem;
    }
    
    /* Ocultar información de contacto en header para móvil */
    .contact-info {
        display: none;
    }
    
    /* Mostrar menú hamburguesa en móvil */
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .about, .gallery {
        padding: 60px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .contact-details p {
        justify-content: center;
    }
    
    .footer-logo {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 20px;
    }
    
    .banner-text h2 {
        font-size: 1.7rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .logo {
        flex-direction: row;
        text-align: left;
    }
    
    .logo img {
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
    }
}