/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00773f;
    --primary-dark: #004631;
    --primary-light: #bedb8b;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Slider de Fondo */
.background-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 1;
}

.bg-slide.active {
    opacity: 1;
    z-index: 2;
}

.bg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Logo GAD */
.gad-logo {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: fadeInDown 1s ease-out;
    background: transparent;
    padding: 15px 25px;
}

.gad-logo img {
    height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

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

/* Contenido Principal */
.main-content {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 40px 40px;
    animation: fadeIn 1s ease-in;
}

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

/* Subtítulo */
.subtitle-section {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 20px;
}

.subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8), 0 1px 5px rgba(0, 0, 0, 0.6);
    animation: fadeIn 1.2s ease-out 0.3s both;
}

/* Indicadores del Slider */
.slider-dots {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 4;
    animation: fadeIn 1.5s ease-out;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.dot.active,
.dot:hover {
    background: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--primary-color);
}

/* Cuenta Regresiva */
.countdown-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 30px;
    background: rgba(0, 119, 63, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 119, 63, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: zoomIn 0.8s ease-out 0.5s both;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.countdown-title {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 35px;
    font-weight: 600;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.8), 0 1px 8px rgba(0, 0, 0, 0.6);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 25px 35px;
    border-radius: 15px;
    backdrop-filter: blur(20px);
    min-width: 120px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.countdown-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.countdown-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Redes Sociales */
.social-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 1s both;
}

.social-title {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.social-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4rem;
    transition: all 0.4s ease;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.social-btn:hover::before {
    transform: scale(1);
}

.social-btn:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.social-btn i {
    position: relative;
    z-index: 1;
}

.facebook { background: #3b5998; }
.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.whatsapp { background: #55a546; }
.tiktok { background: #000000; }

/* Contacto */
.contact-section {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out 1.2s both;
}

.contact-email {
    font-size: 1.05rem;
    color: var(--white);
    font-weight: 400;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8), 0 1px 6px rgba(0, 0, 0, 0.6);
}

.contact-email i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 8px rgba(0, 119, 63, 0.6));
}

.contact-email a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    font-weight: 500;
}

.contact-email a:hover {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 119, 63, 0.5);
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 4;
}

.copyright {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Responsive: Tablet */
@media (max-width: 768px) {
    .gad-logo {
        top: 20px;
        padding: 12px 20px;
    }

    .gad-logo img {
        height: 50px;
    }

    .main-content {
        padding: 100px 15px 30px;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .countdown-section {
        padding: 30px 20px;
    }

    .countdown-title {
        font-size: 1.5rem;
    }

    .countdown {
        gap: 20px;
    }

    .countdown-item {
        padding: 20px 25px;
        min-width: 100px;
    }

    .countdown-value {
        font-size: 2.2rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .social-title {
        font-size: 1rem;
    }

    .contact-email {
        font-size: 0.95rem;
    }

    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .slider-dots {
        bottom: 80px;
    }

    .footer {
        padding: 15px;
    }

    .copyright {
        font-size: 0.7rem;
    }
}

/* Responsive: Móvil */
@media (max-width: 480px) {
    .gad-logo {
        top: 15px;
        padding: 10px 15px;
    }

    .gad-logo img {
        height: 40px;
    }

    .main-content {
        padding: 90px 10px 20px;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .countdown-section {
        padding: 25px 15px;
    }

    .countdown-title {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }

    .countdown {
        gap: 15px;
    }

    .countdown-item {
        padding: 15px 20px;
        min-width: 85px;
    }

    .countdown-value {
        font-size: 1.8rem;
    }

    .countdown-label {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .social-title {
        font-size: 0.9rem;
    }

    .contact-email {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 20px;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .slider-dots {
        bottom: 75px;
        gap: 12px;
    }

    .dot {
        width: 12px;
        height: 12px;
    }
}

/* Responsive: Altura Baja */
@media (max-height: 700px) {
    .gad-logo {
        top: 15px;
        padding: 8px 15px;
    }

    .gad-logo img {
        height: 45px;
    }

    .countdown-section {
        margin-bottom: 40px;
        padding: 30px 25px;
    }

    .countdown-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .social-section {
        margin-bottom: 20px;
    }
}
