/* ========== HERO/PORTADA CON COUNTDOWN ========== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('./images/cover.jpeg') center/cover no-repeat;
    background-color: #dcd4cc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 80px;
    position: relative;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Mostrar cuando el sobre se abre */
body.show-content .hero-section {
    opacity: 1;
    visibility: visible;
}

.hero-content {
    color: white;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 25px;
    color: #c9b899;
}

body.show-content .hero-subtitle {
    animation: fadeInDown 1s ease 0.5s both;
}

.hero-title {
    font-family: 'Pinyon Script', cursive;
    font-size: clamp(3.5rem, 12vw, 7rem);
    margin: 20px 0;
    color: white;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    line-height: 1.2;
}

body.show-content .hero-title {
    animation: fadeInScale 1.2s ease 0.7s both;
}

.hero-date {
    font-size: 1.3rem;
    letter-spacing: 12px;
    margin-bottom: 50px;
    font-weight: 300;
    color: rgba(255,255,255,0.95);
}

body.show-content .hero-date {
    animation: fadeInUp 1s ease 0.9s both;
}

.hero-divider {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9b899, transparent);
    margin: 30px auto 50px;
}

body.show-content .hero-divider {
    animation: fadeIn 1s ease 1.1s both;
}

.hero-announcement {
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: white;
    font-weight: 500;
}

body.show-content .hero-announcement {
    animation: fadeIn 1s ease 1.3s both;
}

/* ========== COUNTDOWN TIMER ========== */
.countdown {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

body.show-content .countdown {
    animation: fadeInUp 1s ease 1.5s both;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 20px 25px;
    min-width: 100px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.countdown-label {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: white;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 20px 60px;
    }
    
    .hero-subtitle {
        font-size: 0.7rem;
        letter-spacing: 5px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-date {
        font-size: 1.1rem;
        letter-spacing: 8px;
    }
    
    .countdown {
        gap: 12px;
    }
    
    .countdown-box {
        padding: 15px 18px;
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2.2rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 0.65rem;
        letter-spacing: 4px;
    }
    
    .hero-date {
        letter-spacing: 6px;
    }
    
    .countdown {
        gap: 8px;
    }
    
    .countdown-box {
        padding: 12px 15px;
        min-width: 70px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
}
