/* Dream Land — cinematic motion layer. Same colors, same layout. */

.hero,
.page-hero {
    isolation: isolate;
    overflow: hidden;
}

.hero-bg {
    z-index: 0;
    transform: none;
    animation: none;
    background-size: cover;
    background-position: center;
    filter: none;
}

.hero-overlay {
    z-index: 1;
    background: linear-gradient(100deg, rgba(0, 57, 128, 0.22) 0%, rgba(0, 57, 128, 0.06) 38%, transparent 68%);
}

.hero-content {
    z-index: 4;
}

.hero-overlay::after {
    display: none;
}

.hero-content h1,
.page-hero h1 {
    animation: riseIn 1s ease both;
    text-shadow: 0 2px 18px rgba(0, 57, 128, 0.55), 0 8px 32px rgba(0, 57, 128, 0.4);
}

.hero-content h1::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 1rem;
    margin-inline: auto;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--gold-2), var(--gold), transparent);
    box-shadow: 0 0 16px rgba(0, 104, 181, 0.7);
}

.hero-content p,
.page-hero p {
    animation: riseIn 1s ease 0.16s both;
    text-shadow: 0 2px 14px rgba(0, 57, 128, 0.5);
}

.sparkle-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.hero .sparkle-layer {
    opacity: 0.22;
}

.sparkle-layer span {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, var(--gold) 55%, transparent 72%);
    opacity: 0;
    animation: twinkle linear infinite;
    box-shadow: 0 0 10px rgba(0, 104, 181, 0.8);
}

.site-header {
    background: transparent;
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.header-glass {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(16px) saturate(1.15);
    -webkit-backdrop-filter: blur(16px) saturate(1.15);
    pointer-events: none;
    z-index: 0;
}
.header-inner { z-index: 1; }
.site-header.scrolled .header-glass {
    background: rgba(255, 255, 255, 0.94);
}
.site-header.scrolled {
    box-shadow: 0 10px 28px rgba(0, 57, 128, 0.08);
    border-bottom-color: rgba(0, 104, 181, 0.28);
}

.nav-links a::after {
    content: '';
    position: absolute;
    right: 0;
    left: 0;
    bottom: -10px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.btn-gold {
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.5) 50%, transparent 80%);
    transform: translateX(120%);
    pointer-events: none;
}

.btn-gold:hover::before {
    animation: shineSweep 0.75s ease;
}

.feature-icon,
.service-circle {
    position: relative;
}

.feature-item:nth-child(1) .feature-icon { animation: floatSoft 4.6s ease-in-out infinite; }
.feature-item:nth-child(2) .feature-icon { animation: floatSoft 5.1s ease-in-out 0.4s infinite; }
.feature-item:nth-child(3) .feature-icon { animation: floatSoft 4.8s ease-in-out 0.8s infinite; }
.feature-item:nth-child(4) .feature-icon { animation: floatSoft 5.4s ease-in-out 0.2s infinite; }

.feature-item:hover .feature-icon {
    animation-play-state: paused;
    border-color: var(--gold);
    box-shadow: 0 10px 24px rgba(0, 104, 181, 0.28);
    color: var(--gold-dark);
}

.dest-card-overlay {
    z-index: 3;
}

.dest-card::after {
    z-index: 1;
}

.dest-card,
.pkg-card,
.dest-list-card,
.activity-card {
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.dest-card::after,
.pkg-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
    transform: translateX(130%);
    transition: transform 0.7s ease;
    z-index: 2;
}

.pkg-card {
    position: relative;
    overflow: hidden;
}

.pkg-card img,
.pkg-card-media img,
.dest-list-card img,
.activity-card img {
    transition: transform 0.7s ease;
}

.dest-card:hover,
.pkg-card:hover,
.dest-list-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(0, 57, 128, 0.16);
}

.dest-card:hover::after,
.pkg-card:hover::after {
    transform: translateX(-130%);
}

.pkg-card:hover img,
.pkg-card:hover .pkg-card-media img,
.dest-list-card:hover img,
.activity-card:hover img {
    transform: scale(1.07);
}

.dest-arrow {
    transition: transform 0.3s ease, background 0.25s ease;
}

.dest-card:hover .dest-arrow {
    transform: translateX(-4px);
}

.service-item:hover .service-circle {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 14px 28px rgba(0, 104, 181, 0.22);
}

.service-circle {
    transition: transform 0.35s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.testimonial-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 57, 128, 0.12);
}

.quote-mark {
    animation: pulseGold 3.5s ease-in-out infinite;
}

.promo-banner {
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.promo-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 57, 128, 0.18);
}

.promo-banner > img {
    transition: transform 8s ease;
}

.promo-banner:hover > img {
    transform: scale(1.06);
}

.section-head.is-center {
    justify-content: center;
    text-align: center;
}

/* Decorative homepage section titles */
.section-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.section-title.is-center {
    align-items: center;
    text-align: center;
    width: 100%;
}

.section-title-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.28rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 104, 181, 0.14);
    border: 1px solid rgba(0, 104, 181, 0.28);
    color: var(--gold-dark, #00A8B8);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.section-title-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold, #6FFFFE);
    box-shadow: 0 0 0 3px rgba(0, 104, 181, 0.2);
    flex-shrink: 0;
}

.section-title h2,
.section-head .section-title h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.55rem, 3vw, 2.05rem);
    font-weight: 800;
    line-height: 1.35;
    position: relative;
    display: inline-block;
    padding-bottom: 0.7rem;
}

.section-title h2::after,
.section-head .section-title h2::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 68px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--gold, #6FFFFE), rgba(0, 104, 181, 0.15));
    margin-top: 0;
}

.section-title.is-center h2::after,
.section-head.is-center .section-title h2::after {
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(90deg, transparent, var(--gold, #6FFFFE), transparent);
    width: 88px;
}

.section-head h2::after {
    content: none;
}

.widget-card {
    animation: riseIn 0.9s ease 0.25s both;
}

.btn-whatsapp,
.sticky-whatsapp .btn {
    animation: whatsappPulse 2.4s ease-in-out infinite;
}

.socials a:hover {
    transform: translateY(-3px);
}

.site-footer {
    position: relative;
}

.footer-wave {
    filter: drop-shadow(0 -8px 18px rgba(0, 57, 128, 0.12));
}

.footer-cta {
    overflow: hidden;
    isolation: isolate;
}

.footer-cta::after {
    display: none;
}

.site-footer::before {
    display: none;
}

.js-ready .reveal {
    opacity: 0;
    transform: translateY(28px);
}

.js-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.75s ease var(--d, 0ms), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms);
}

@keyframes kenburns {
    from { transform: scale(1.08) translate3d(0, 0, 0); }
    to { transform: scale(1.14) translate3d(1.5%, -1.5%, 0); }
}

@keyframes aurora {
    from { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.7; }
    to { transform: translate3d(-4%, 3%, 0) rotate(6deg); opacity: 1; }
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.4); }
    40% { opacity: 0.95; transform: scale(1); }
    70% { opacity: 0.2; transform: scale(0.7); }
}

@keyframes shineSweep {
    from { transform: translateX(120%); }
    to { transform: translateX(-120%); }
}

@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulseGold {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28); }
    50% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55); }
}

@keyframes starShift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-2%, -3%, 0); }
}

@media (max-width: 992px) {
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255, 255, 255, 0.97);
    }
    .sparkle-layer,
    .footer-stars,
    .footer-orbs {
        display: none !important;
    }
    .feature-item .feature-icon,
    .sticky-whatsapp .btn,
    .ai-chat-fab,
    .service-icon,
    .cta-orb {
        animation: none !important;
    }
    .pkg-card:hover,
    .offer-card:hover,
    .dest-card:hover,
    .feature-item:hover,
    .btn-gold:hover,
    .testimonial-card:hover {
        transform: none !important;
    }
    .js-ready .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-bg {
        animation: none !important;
        transform: none !important;
    }
}

@media (max-width: 640px) {
    .hero-content {
        text-align: center;
    }
    .hero-content h1::after {
        width: 54px;
        margin: 0.75rem auto 0;
    }
    .hero-overlay {
        background: linear-gradient(180deg, rgba(0, 57, 128, 0.18) 0%, rgba(0, 57, 128, 0.45) 100%);
    }
    .sticky-whatsapp .btn { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.32); }
    .widget-card {
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    .hero-bg { transform: none; }
    .js-ready .reveal {
        opacity: 1;
        transform: none;
    }
}
