@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playball&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* Fireflies / Glowing Sparks Effect (Subtle adventure theme) */
.fireflies-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
}

.firefly {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #FCBE04; /* Color amarillo del logo */
    border-radius: 50%;
    box-shadow: 0 0 10px #FCBE04, 0 0 20px #FCBE04;
    opacity: 0;
    animation: riseAndFade 14s infinite ease-in-out;
}

@keyframes riseAndFade {
    0% {
        transform: translateY(105vh) translateX(0) scale(0.6);
        opacity: 0;
    }
    15% {
        opacity: 0.75;
    }
    85% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-10vh) translateX(80px) scale(1.3);
        opacity: 0;
    }
}

/* Fireflies vertical delay and spacing offsets */
.firefly:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 15s; }
.firefly:nth-child(2) { left: 25%; animation-delay: 2.5s; animation-duration: 18s; }
.firefly:nth-child(3) { left: 40%; animation-delay: 5s; animation-duration: 13s; }
.firefly:nth-child(4) { left: 55%; animation-delay: 7.5s; animation-duration: 21s; }
.firefly:nth-child(5) { left: 70%; animation-delay: 1.2s; animation-duration: 16s; }
.firefly:nth-child(6) { left: 85%; animation-delay: 6.2s; animation-duration: 17s; }
.firefly:nth-child(7) { left: 18%; animation-delay: 9s; animation-duration: 19s; }
.firefly:nth-child(8) { left: 48%; animation-delay: 11s; animation-duration: 14s; }
.firefly:nth-child(9) { left: 78%; animation-delay: 3.8s; animation-duration: 20s; }

.hero-description-text {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.glass-card {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.scrolled-nav {
    background-color: #252525 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

::selection {
    background-color: #FCBE04; 
    color: #252525;
}

.swiper-pagination-bullet-active {
    background-color: #FCBE04 !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(0.5); 
    opacity: 0.6;
    transition: 0.3s;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    filter: invert(0); 
}

body { background-color: #FCFDF9; font-family: 'Montserrat', sans-serif; color: #252525; }
        
.nav-scrolled {
    background-color: #252525 !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.swiper-button-next, .swiper-button-prev { color: #fff !important; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.swiper-button-next:hover, .swiper-button-prev:hover { color: #FCBE04 !important; }
.swiper-pagination-bullet-active { background-color: #FCBE04 !important; }

.breadcrumb-separator::before { content: '/'; margin: 0 0.5rem; color: #FCBE04; }

@keyframes scroll-left-right-infinite {
    0% { transform: translateX(-33.333%); }
    100% { transform: translateX(0); }
}

.animate-infinite-scroll {
    animation: scroll-left-right-infinite 30s linear infinite;
    display: flex;
    width: max-content;
}

.group:hover .animate-infinite-scroll {
    animation-play-state: paused;
}

/* ================================================
   POLAROID STYLES
   ================================================ */

.polaroid {
    background: #fff;
    padding: 12px 12px 44px 12px;
    box-shadow:
        0 2px 4px rgba(0,0,0,0.12),
        0 8px 24px rgba(0,0,0,0.18),
        0 20px 48px rgba(0,0,0,0.10);
    position: relative;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.4s ease;
    cursor: pointer;
}

.polaroid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 2;
    border-radius: inherit;
}

.polaroid:hover {
    box-shadow:
        0 4px 8px rgba(0,0,0,0.18),
        0 16px 40px rgba(0,0,0,0.25),
        0 32px 64px rgba(0,0,0,0.12);
    z-index: 10;
}

.polaroid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.92) contrast(1.04);
}

.polaroid-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Caveat', cursive;
    font-size: 15px;
    font-weight: 600;
    color: #3d3530;
    letter-spacing: 0.01em;
    padding: 0 8px;
    text-align: center;
}

.polaroid-tilt-l  { transform: rotate(-4deg); }
.polaroid-tilt-r  { transform: rotate(3deg); }
.polaroid-tilt-l2 { transform: rotate(-2deg); }
.polaroid-tilt-r2 { transform: rotate(5deg); }
.polaroid-tilt-l3 { transform: rotate(-6deg); }
.polaroid-tilt-r3 { transform: rotate(2deg); }

.polaroid-tilt-l:hover  { transform: rotate(-1deg) scale(1.04); }
.polaroid-tilt-r:hover  { transform: rotate(1deg) scale(1.04); }
.polaroid-tilt-l2:hover { transform: rotate(-0.5deg) scale(1.04); }
.polaroid-tilt-r2:hover { transform: rotate(1deg) scale(1.04); }
.polaroid-tilt-l3:hover { transform: rotate(-1.5deg) scale(1.04); }
.polaroid-tilt-r3:hover { transform: rotate(0.5deg) scale(1.04); }

/* Tape amarilla en la parte superior */
.polaroid-tape::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: 52px;
    height: 22px;
    background: rgba(252, 190, 4, 0.60);
    border-radius: 2px;
    z-index: 5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.polaroid-tape-l::after {
    left: 20%;
    transform: translateX(0) rotate(5deg);
}

.polaroid-tape-r::after {
    left: auto;
    right: 20%;
    transform: translateX(0) rotate(-3deg);
}

/* Fondo tipo tablero de corcho */
.polaroid-wall {
    background-color: #f0ebe0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(120,80,40,0.06) 1px, transparent 0);
    background-size: 18px 18px;
}

/* ================================================
   TEXT SHINE (MIRROR SWEEP) ANIMATION - SINGLE RUN
   ================================================ */

@keyframes shineSweep {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.shine-white {
    background: linear-gradient(110deg, #ffffff 0%, #ffffff 40%, #e2e8f0 47%, #ffffff 50%, #e2e8f0 53%, #ffffff 60%, #ffffff 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineSweep 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.shine-yellow {
    background: linear-gradient(110deg, #FCBE04 0%, #FCBE04 40%, #fffbeb 47%, #ffffff 50%, #fffbeb 53%, #FCBE04 60%, #FCBE04 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineSweep 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes strokeShine {
    0%, 100% {
        filter: drop-shadow(0 0 0px rgba(255,255,255,0));
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(255,255,255,0.5)) brightness(1.2);
    }
}

.animate-stroke-shine {
    animation: strokeShine 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}