﻿/* Halloween Decorations */
.halloween-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

#first-item:nth-child(1) {
    background-image: url('./backend/images/carrousel/Generated_Image_1.png');
    background-repeat: no-repeat;
    background-size: cover; /* Cambiado de contain a cover */
    background-position: center center;
    height: 100vh; /* Cambiado para usar toda la altura de la ventana */
    position: relative;
    overflow: hidden;
    display: flex; /* Agregado para centrar contenido */
    align-items: center; /* Agregado para centrar contenido */
    justify-content: center; /* Agregado para centrar contenido */
}

/* Media query para móvil */
@media (max-width: 768px) {
    #first-item:nth-child(1) {
        background-image: url('./backend/images/carrousel/Generated_Image_mobile.png');
        height: 100vh;
        background-position: center;
        background-size: cover;
        overflow-y: auto;
        /*padding: 60px 15px;*/ /* Espacio para el navbar y padding lateral */
    }

    .content-container.happy-halloween {
        display: none;
    }

    .mobile-signup-link {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px;
    }

        .mobile-signup-link .content-container {
            margin: 0 auto;
        }

        .mobile-signup-link .main-title h1 {
            font-size: 1.8rem;
            line-height: 1.2;
        }

        .mobile-signup-link .btn-halloween {
            margin-top: 15px;
        }
}

#second-item:nth-child(2) {
    background-image: url('./backend/images/carrousel/Generated_Image_2.png');
    background-repeat: no-repeat;
    background-size: cover; /* Cambiado de contain a cover */
    background-position: center center;
    height: 100vh; /* Cambiado para usar toda la altura de la ventana */
    position: relative;
    overflow: hidden;
    display: flex; /* Agregado para centrar contenido */
    align-items: center; /* Agregado para centrar contenido */
    justify-content: center; /* Agregado para centrar contenido */
}

#third-item:nth-child(3) {
    background-image: url('./backend/images/carrousel/Generated_Image_3.png');
    background-repeat: no-repeat;
    background-size: cover; /* Cambiado de contain a cover */
    background-position: center center;
    height: 100vh; /* Cambiado para usar toda la altura de la ventana */
    position: relative;
    overflow: hidden;
    display: flex; /* Agregado para centrar contenido */
    align-items: center; /* Agregado para centrar contenido */
    justify-content: center; /* Agregado para centrar contenido */
}

/* 🎄 CHRISTMAS THEME 🎅 */

:root {
    --christmas-red: #d32f2f;
    --christmas-green: #2e7d32;
    --christmas-gold: #ffeb3b;
    --christmas-white: #ffffff;
}

/* Fondo general festivo */
/*#first-item:nth-child(1) {
            background-image: url('./backend/images/carrousel/Generated_Image_1.png');
            background-size: cover;
            background-position: center;
            position: relative;
            opacity:0.8;
        }*/

/* ❄️ Snow animation */
.snow-container {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    top: 0;
    left: 0;
    z-index: 1000;
}

.snowflake {
    position: absolute;
    color: white;
    opacity: 0.8;
    animation: snowFall 10s linear infinite;
}

@keyframes snowFall {
    0% {
        transform: translateY(-10px);
        opacity: 0.8;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0.2;
    }
}

/* 🎄 Christmas trees */
.christmas-tree {
    position: absolute;
    font-size: 50px;
    animation: treeGlow 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px var(--christmas-green));
}

@keyframes treeGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px var(--christmas-green));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px var(--christmas-gold));
    }
}

/* 🎁 Gifts */
.christmas-gift {
    position: absolute;
    font-size: 35px;
    animation: giftPulse 3s ease-in-out infinite;
}

@keyframes giftPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* 🔔 Bells */
.christmas-bell {
    position: absolute;
    font-size: 35px;
    animation: bellSwing 2s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes bellSwing {
    0%, 100% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }
}

/* 🎅 Santa flying */
.flying-santa {
    position: absolute;
    top: 20%;
    left: -20%;
    font-size: 40px;
    animation: santaFly 12s linear infinite;
    z-index: 1002;
}

@keyframes santaFly {
    0% {
        transform: translateX(-20%);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(120vw);
        opacity: 0;
    }
}

.main-title {
    position: relative; /* para contener el texto */
    background-color: rgba(0, 0, 0, 0.6); /* negro semi-transparente */
    padding: 15px 25px; /* espacio interno */
    border-radius: 10px; /* bordes suaves opcionales */
    display: inline-block; /* ajusta al ancho del contenido */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* sombra para profundidad */
    z-index: 9998; /* ligeramente debajo del texto */
}

/* Festive text glow */
.title-text {
    position: relative; /* o absolute/fixed según el layout */
    font-family: 'Raleway', sans-serif;
    color: #ffffff; /* blanco puro */
    text-shadow: 0 0 1px #ffffff, /* brillo interior sutil */
    0 0 3px #3399ff, /* borde azul fino */
    0 0 6px #66ccff; /* halo azul exterior más suave */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    pointer-events: none; /* opcional, para que no interfiera con clics */
}

/* Festive text glow */
.sub-title-text {
    position: relative; /* o absolute/fixed según el layout */
    font-family: 'Raleway', sans-serif;
    color: #ffffff; /* blanco puro */
    text-shadow: 0 0 1px #ffffff, /* brillo interior sutil */
    0 0 3px #3399ff, /* borde azul fino */
    0 0 6px #66ccff; /* halo azul exterior más suave */
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    pointer-events: none; /* opcional, para que no interfiera con clics */
}


/* Festive button */
.btn-halloween {
    background: linear-gradient(45deg, var(--christmas-red), var(--christmas-green));
    color: #ffffff !important;
    border: 2px solid rgba(100, 170, 255, 0.8);
    box-shadow: 0 0 10px rgba(100, 170, 255, 0.8), 0 0 20px rgba(150, 200, 255, 0.4), 0 0 30px var(--christmas-gold);
    transition: all 0.3s ease;
}

    .btn-halloween:hover {
        box-shadow: 0 0 15px rgba(120, 190, 255, 0.9), 0 0 25px rgba(180, 220, 255, 0.6), 0 0 40px var(--christmas-gold);
        transform: scale(1.05);
    }



/* Responsive adjustments */
@media (max-width: 768px) {
    .main-title h1.title-text {
        font-size: 2.5rem;
    }

    .sub-title-text {
        font-size: 1.7rem;
    }
}

/* Link solo visible en mobile */
.mobile-signup-link {
    display: none;
}

@media (max-width: 768px) {
    .mobile-signup-link {
        display: block !important;
    }

    #first-item .content-container.happy-halloween.d-none.d-md-block {
        display: none !important;
    }
}

.lower {
    margin-top: 14rem !important;
}

.exclusive-badge {
    margin-bottom: 2rem;
    margin-top: 2rem;
}