/* ============================================
   index.css - Estilos específicos para index.html
   ============================================ */

/* Importar variables globales */
@import url('global.css');

/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-divider {
    width: 100px;
    height: 3px;
    background-color: #b8860b;
    margin: 0 auto 30px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BIENVENIDA ===== */
.welcome {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.welcome h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #b8860b;
    font-size: 2.5rem;
    position: relative;
}

.welcome h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #b8860b;
}

.welcome-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.welcome-text {
    flex: 1;
    min-width: 300px;
}

.welcome-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.welcome-logo {
    flex: 0 0 300px;
    text-align: center;
}

.welcome-logo img {
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== GALERÍA ===== */
.gallery {
    padding: 80px 0;
    background-color: #ffffff;
}

.gallery h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #b8860b;
    font-size: 2.5rem;
    position: relative;
}

.gallery h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #b8860b;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ===== CONTACTO ===== */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.contact-section h2 {
    margin-bottom: 40px;
    color: #b8860b;
    font-size: 2.5rem;
    position: relative;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #b8860b;
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    text-decoration: none;
}

.whatsapp-button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.whatsapp-button:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    color: #333;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.social-links a:hover {
    color: #b8860b;
    transform: translateY(-5px);
}

/* ===== FOOTER ===== */
footer {
    background-color: #333;
    color: #ffffff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    text-align: center;
    flex: 1;
}

.footer-logo img {
    height: 80px;
}

.footer-info {
    flex: 2;
    text-align: center;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero {
        height: 85vh;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .hero p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .welcome {
        padding: 60px 0;
    }
    .welcome h2 {
        font-size: 2rem;
    }
    .welcome-content {
        flex-direction: column;
        text-align: center;
    }
    .welcome-text p {
        text-align: center;
    }
    .welcome-logo {
        flex: 0 0 100%;
    }
    .gallery {
        padding: 60px 0;
    }
    .gallery h2 {
        font-size: 2rem;
    }
    .contact-section {
        padding: 60px 0;
    }
    .contact-section h2 {
        font-size: 2rem;
    }
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 70vh;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-divider {
        width: 60px;
        margin-bottom: 20px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gallery-item img {
        height: 200px;
    }
    .welcome h2 {
        font-size: 1.8rem;
    }
    .gallery h2 {
        font-size: 1.8rem;
    }
    .contact-section h2 {
        font-size: 1.8rem;
    }
    .whatsapp-button {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
    }
    .social-links {
        gap: 15px;
    }
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}