:root {
    /* Papito's Rasta Palette */
    --rasta-black: #0A0A0A;
    --rasta-green: #1B5E20;
    --rasta-yellow: #FFC107;
    --rasta-red: #B71C1C;
    
    --deep-emerald: var(--rasta-black);
    --emerald-light: var(--rasta-green);
    --brushed-gold: var(--rasta-yellow);
    --accent-red: var(--rasta-red);
    
    --text-main: #E0E0E0;
    --white: #FFFFFF;
    
    /* Gradients & Glows */
    --gold-glow: rgba(255, 193, 7, 0.4);
    --red-glow: rgba(183, 28, 28, 0.6);
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    background-color: var(--rasta-black);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 193, 7, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--brushed-gold);
    font-size: 1.2rem; /* Slightly smaller base */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    .logo span {
        display: none; /* Hide text on tiny screens to save space for hamburger */
    }
}

.logo-img {
    height: 35px;
    width: auto;
    mix-blend-mode: screen; /* Makes black background transparent */
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: 3rem;
    margin-right: auto;
}

.language-switcher {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-right: 1rem;
}

.language-switcher a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.7;
}

.language-switcher a.active {
    color: var(--brushed-gold);
    opacity: 1;
}

.language-switcher a:hover {
    color: var(--brushed-gold);
    opacity: 1;
}


.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--brushed-gold);
}

.nav-cta {
    background: var(--rasta-green);
    border: 2px solid var(--rasta-yellow);
    color: var(--rasta-yellow);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--rasta-yellow);
    color: var(--rasta-black);
    border-color: var(--rasta-green);
    box-shadow: 0 0 20px var(--gold-glow);
}

.reviews-brand-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0.5rem; /* Even tighter */
}
/* Premium Unified Logo Entrance Animation */
.logo-entrance {
    opacity: 0 !important;
    transform: scale(0.5) rotate(-15deg) !important;
    transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.logo-entrance.animated {
    opacity: 1 !important;
    transform: scale(1) rotate(0deg) !important;
}

.reviews-logo {
    max-width: 250px; /* Even bigger */
    height: auto;
    mix-blend-mode: screen; /* REMOVES border artifacts by making black transparent */
}

.reviews-title {
    color: var(--brushed-gold);
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    margin: 0;
}

@media (max-width: 768px) {
    .reviews-brand-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .reviews-logo {
        max-width: 90px;
    }
    .reviews-title {
        font-size: 2rem;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 2rem;
    overflow: hidden;
    background-color: var(--rasta-black); /* Fallback */
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.2), rgba(10, 10, 10, 0.5));
    z-index: 2;
}

.video-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8; /* Increased from 0.5 for more life */
    transform: scale(1.1);
    transition: transform 0.1s linear;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1200px; /* Even wider to prevent awkward wrapping */
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5.5vw, 4rem); /* Slightly smaller to prevent awkward wrapping */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--brushed-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 3;
    overflow-wrap: normal;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-main);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    line-height: 1.5;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.cta-button {
    display: inline-block;
    background: var(--rasta-green);
    color: var(--rasta-yellow);
    padding: 1rem 2.5rem;
    border-radius: 40px;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease 2s forwards;
    border: 2px solid var(--rasta-yellow);
}

.cta-button:hover {
    background: var(--rasta-yellow);
    color: var(--rasta-black);
    box-shadow: 0 0 30px var(--gold-glow);
    border-color: var(--rasta-green);
}

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

/* Frog Animation */
.floating-frog {
    animation: frogFloat 4s ease-in-out infinite;
}

@keyframes frogFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Tours Section */
.tours-section {
    padding: 8rem 0;
    background: var(--deep-emerald);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3rem;
    color: var(--brushed-gold);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--text-main);
    opacity: 0.7;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.tour-card {
    background: var(--emerald-light);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.tour-card.visible, .staggered-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.staggered-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tour-card:hover {
    border-color: var(--brushed-gold);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.graceful-image-frame {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #000;
}

.graceful-image-frame::before {
    content: "";
    position: absolute;
    top: -10%; left: -10%; right: -10%; bottom: -10%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.6);
    z-index: 1;
}

.graceful-image-frame img, .tour-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.tour-image-container {
    width: 100%;
    height: 280px;
}

.tour-card:hover .tour-img {
    transform: scale(1.05);
}

.tour-info {
    padding: 2rem;
}

.tour-info h3 {
    font-size: 1.5rem;
    color: var(--brushed-gold);
    margin-bottom: 1rem;
}

.tour-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
    opacity: 0.8;
    margin-bottom: 2rem;
    min-height: 60px;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    gap: 1rem; /* Prevent touching */
}

.tour-price {
    font-family: 'Outfit';
    font-weight: 700;
    color: var(--brushed-gold);
    font-size: 1.1rem;
}

.tour-book {
    color: var(--rasta-yellow);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid var(--rasta-yellow);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s;
}

.tour-book:hover {
    background: var(--rasta-green);
    color: var(--white);
    border-color: var(--rasta-green);
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--emerald-light);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}

.about-content.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--brushed-gold);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.about-img {
    width: 100%;
    max-width: 400px;
    border-radius: 50%;
    border: 4px solid var(--brushed-gold);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.2);
}

/* Footer */
.footer {
    background: #04120F;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    color: var(--brushed-gold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--rasta-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    opacity: 0.4;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    padding: 0.5rem;
}

/* ==========================================================================
   Scrolltelling Hero
   ========================================================================== */
.scrolltelling-hero {
    height: 200vh;
    position: relative;
    background: #000;
}

.scrolltelling-hero .video-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Pull the first scene up so it overlays the video immediately on page load */
.scrolltelling-hero .video-container + .scroll-scene {
    margin-top: -100vh;
}

.scroll-scene {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.scroll-scene.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-center-logo {
    max-width: 160px;
    margin-bottom: 0;
    filter: drop-shadow(0 4px 16px rgba(212,175,55,0.4));
    /* Start oversized, settle down */
    transform: scale(1.8);
    opacity: 0;
    transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease;
}

.hero-center-logo.logo-revealed {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 4px 16px rgba(212,175,55,0.5));
}

.scroll-scene.is-visible .hero-center-logo {
    /* handled by logo-revealed class via JS */
}

/* Logo above Exclusive Excursions */
.section-logo {
    max-width: 90px;
    display: block;
    margin: 0 auto 0.75rem;
    filter: drop-shadow(0 2px 6px rgba(212,175,55,0.3));
    opacity: 0.85;
}


/* ==========================================================================
   Section Bridge (Hero → Content pathway)
   ========================================================================== */
.section-bridge {
    background: var(--bg-primary);
    position: relative;
}

@keyframes bridgeDraw {
    from { transform: scaleY(0); opacity: 0; }
    to   { transform: scaleY(1); opacity: 1; }
}

@keyframes bridgeDiamond {
    from { opacity: 0; transform: scale(0.3) rotate(45deg); }
    to   { opacity: 1; transform: scale(1) rotate(0deg); }
}

.bridge-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--brushed-gold), transparent);
    transform-origin: top center;
    transform: scaleY(0);
    opacity: 0;
    animation: bridgeDraw 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-play-state: paused;
}

.section-bridge.visible .bridge-line {
    animation-play-state: running;
}

.bridge-diamond {
    color: var(--brushed-gold);
    font-size: 1.1rem;
    opacity: 0;
    transform: scale(0.3) rotate(45deg);
    display: block;
    animation: bridgeDiamond 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.95s forwards;
    animation-play-state: paused;
}

.section-bridge.visible .bridge-diamond {
    animation-play-state: running;
}

/* ==========================================================================
   Marquee Animation
   ========================================================================== */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: var(--rasta-green); /* A strong brand color background */
    border-top: 1px solid var(--brushed-gold);
    border-bottom: 1px solid var(--brushed-gold);
    padding: 12px 0;
    position: relative;
    display: flex;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-item {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.marquee-item span.star {
    color: var(--brushed-gold);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


@media (max-width: 1024px) {
    .container { padding: 0 1.5rem; }
    .hero-title { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    /* Navbar Mobile */
    .navbar { padding: 0.75rem 1rem; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--rasta-black);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        z-index: 1000;
        margin-left: 0;
        margin-right: 0;
    }
    
    .nav-links.active { display: flex; }
    .nav-cta { width: 100%; text-align: center; }

    .language-switcher {
        margin-left: auto;
        margin-right: 1.5rem;
        font-size: 0.85rem;
    }

    .mobile-toggle {
        display: block;
        cursor: pointer;
        color: var(--white);
        font-size: 1.5rem;
    }

    /* Hero Mobile Stack & Stabilize */
    .scrolltelling-hero {
        height: auto !important;
        min-height: 100vh;
        position: relative;
        background: #000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 100px !important;
        padding-bottom: 50px !important;
    }
    .scrolltelling-hero .video-container {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100% !important;
        z-index: 1;
    }
    .scrolltelling-hero .video-container + .scroll-scene {
        margin-top: 0 !important;
    }
    .scroll-scene {
        height: auto !important;
        min-height: auto !important;
        padding: 2rem 1.5rem !important;
        opacity: 1 !important;
        transform: none !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2;
    }
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1.5rem !important;
    }
    .hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
    }
    .hero-cta-logo {
        max-width: 150px !important;
        margin-top: 1rem !important;
    }

    /* Tour Grid */
    .tour-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    .tour-footer {
        flex-wrap: wrap; /* Wrap if price is long */
        justify-content: center;
        text-align: center;
        gap: 1rem;
    }
    
    .tour-price { width: 100%; }
    .tour-book { width: auto; }

    /* Reviews Mobile Fix */
    .reviews-brand-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .reviews-logo {
        max-width: 90px; /* Reduced heavily for mobile */
    }

    /* Tour Pages Hero Mobile Fixes */
    header:not(.hero-section) h1 {
        font-size: 2.2rem !important;
    }
    header:not(.hero-section) p {
        font-size: 1.1rem !important;
    }
    header:not(.hero-section) {
        padding: 100px 1rem 60px !important;
        min-height: 50vh !important;
    }
    .reviews-title {
        font-size: 1.8rem;
    }

    /* Review & Photo Fans - Mobile Stabilization */
    .review-fan, .gallery-fan-container { height: 450px; perspective: none; }
    .photo-fan, .review-card { width: 240px; height: 320px; }
    
    .fan-photo:nth-child(1), .review-card:nth-child(1) { transform: rotate(-8deg) translateX(-40px); }
    .fan-photo:nth-child(2), .review-card:nth-child(2) { transform: rotate(-4deg) translateX(-20px); }
    .fan-photo:nth-child(3), .review-card:nth-child(3) { transform: rotate(0deg); }
    .fan-photo:nth-child(4), .review-card:nth-child(4) { transform: rotate(4deg) translateX(20px); }
    .fan-photo:nth-child(5), .review-card:nth-child(5) { transform: rotate(8deg) translateX(40px); }

    .photo-fan:hover .fan-photo:nth-child(1) { transform: rotate(-15deg) translateX(-100px); }
    .photo-fan:hover .fan-photo:nth-child(2) { transform: rotate(-7deg) translateX(-50px); }
    .photo-fan:hover .fan-photo:nth-child(3) { transform: rotate(0deg) translateY(-20px); }
    .photo-fan:hover .fan-photo:nth-child(4) { transform: rotate(7deg) translateX(50px); }
    .photo-fan:hover .fan-photo:nth-child(5) { transform: rotate(15deg) translateX(100px); }

    .review-fan:hover .review-card:nth-child(1) { transform: rotate(-15deg) translateX(-100px); }
    .review-fan:hover .review-card:nth-child(2) { transform: rotate(-7deg) translateX(-50px); }
    .review-fan:hover .review-card:nth-child(3) { transform: rotate(0deg) translateY(-20px); }
    .review-fan:hover .review-card:nth-child(4) { transform: rotate(7deg) translateX(50px); }
    .review-fan:hover .review-card:nth-child(5) { transform: rotate(15deg) translateX(100px); }
}

/* Moving Gallery Carousel */
.papito-gallery-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 4rem calc(50vw - 300px);
    perspective: 1500px;
    transform-style: preserve-3d;
    scroll-behavior: smooth;
    align-items: center;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.papito-gallery-carousel::-webkit-scrollbar {
    display: none;
}
.papito-gallery-carousel .gallery-item {
    flex: 0 0 80%;
    max-width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    scroll-snap-align: center;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0.5;
    transform: scale(0.8) rotateY(30deg);
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: -10px 10px 20px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
    .papito-gallery-carousel {
        padding: 2rem 5vw;
    }
    .papito-gallery-carousel .gallery-item {
        flex: 0 0 90%;
        height: 300px;
    }
}

.papito-gallery-carousel .gallery-item.active {
    opacity: 1;
    transform: scale(1.1) rotateY(0deg);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    border: 2px solid var(--brushed-gold);
}
.papito-gallery-carousel .gallery-item.active ~ .gallery-item {
    transform: scale(0.8) rotateY(-30deg);
    box-shadow: 10px 10px 20px rgba(0,0,0,0.3);
}

/* Review Fan Section */
/* Polaroid Scatter Layout (Stable & Premium) */
.polaroid-scatter {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    perspective: 1500px;
}

.polaroid-item {
    background: #fff;
    padding: 1rem 1rem 3rem 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0,0,0,0.1);
    width: 280px;
    transform: rotate(var(--rotation)) translateY(var(--y-offset));
}

.polaroid-item .graceful-image-frame {
    width: 100%;
    height: 220px;
    border: 1px solid #eee;
}

.polaroid-item.review {
    padding: 1.5rem 1.5rem 2rem 1.5rem;
    height: auto;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.polaroid-item:hover {
    transform: scale(1.05) rotate(0deg) translateY(-20px) !important;
    z-index: 50;
    box-shadow: 0 20px 45px rgba(0,0,0,0.5);
    border-color: var(--brushed-gold);
}

.polaroid-item .caption {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    color: #333;
    text-align: center;
    margin-top: 1rem;
    font-weight: 500;
}

.polaroid-item .stars { color: var(--rasta-yellow); font-size: 1.2rem; margin-bottom: 0.5rem; }
.polaroid-item .review-text { font-style: italic; font-size: 0.95rem; line-height: 1.6; color: #444; flex-grow: 1; }
.polaroid-item .author { font-weight: bold; margin-top: 1.5rem; border-top: 1px solid #eee; padding-top: 0.5rem; font-size: 0.85rem; color: #666; }

@media (max-width: 768px) {
    .polaroid-scatter { min-height: auto; gap: 1.5rem; }
    .polaroid-item { transform: none !important; width: 100%; max-width: 320px; margin: 0 auto; }
}

/* Gallery Fan */
.gallery-fan-container {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
    overflow: hidden; /* Prevent horizontal overflow */
}

.photo-fan {
    position: relative;
    width: 350px;
    height: 450px;
}

.fan-photo {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 12px solid white;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: pointer;
    background: #eee;
}

.fan-photo:nth-child(1) { transform: rotate(-18deg) translate(-120px, 10px); z-index: 1; }
.fan-photo:nth-child(2) { transform: rotate(-9deg) translate(-60px, -5px); z-index: 2; }
.fan-photo:nth-child(3) { transform: rotate(0deg) translate(0, -15px); z-index: 3; }
.fan-photo:nth-child(4) { transform: rotate(9deg) translate(60px, -5px); z-index: 2; }
.fan-photo:nth-child(5) { transform: rotate(18deg) translate(120px, 10px); z-index: 1; }

.photo-fan:hover .fan-photo:nth-child(1) { transform: rotate(-25deg) translate(-380px, 20px) scale(1.05); }
.photo-fan:hover .fan-photo:nth-child(2) { transform: rotate(-12deg) translate(-190px, -10px) scale(1.05); }
.photo-fan:hover .fan-photo:nth-child(3) { transform: rotate(0deg) translate(0, -40px) scale(1.1); }
.photo-fan:hover .fan-photo:nth-child(4) { transform: rotate(12deg) translate(190px, -10px) scale(1.05); }
.photo-fan:hover .fan-photo:nth-child(5) { transform: rotate(25deg) translate(380px, 20px) scale(1.05); }

.fan-photo:hover {
    z-index: 20 !important;
    border-color: var(--brushed-gold);
    transform: scale(1.2) rotate(0deg) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

/* Dynamic FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 4rem auto;
    text-align: left; /* Ensure container isn't inheriting centering */
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    color: var(--brushed-gold);
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: left;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 2rem; /* Ensure space between text and icon */
}

.faq-question:hover {
    color: var(--rasta-yellow);
    transform: translateX(10px);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
    padding: 0;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 0 2rem 0;
    opacity: 1;
}

.faq-item.active .faq-question {
    color: var(--rasta-yellow);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--rasta-red); /* Always Rasta Red */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--rasta-red);
}

.faq-answer p {
    color: var(--text-main);
    opacity: 0.8;
    line-height: 1.8;
    font-size: 1.05rem;
}

.faq-question span:first-child {
    flex: 1; /* Pushes the icon to the right and keeps text left-aligned */
}

/* Polaroid Gallery */
.polaroid-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    padding: 4rem 2rem;
    perspective: 1000px;
}

.polaroid-item {
    background: white;
    padding: 15px 15px 60px 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    max-width: 300px;
    width: 100%;
}

.polaroid-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Auto-captions disabled */

/* Random rotations */
.polaroid-item:nth-child(even) { transform: rotate(3deg); }
.polaroid-item:nth-child(odd) { transform: rotate(-3deg); }
.polaroid-item:nth-child(3n) { transform: rotate(5deg) translateY(10px); }
.polaroid-item:nth-child(4n) { transform: rotate(-5deg) translateY(-10px); }

.polaroid-item:hover {
    transform: scale(1.15) rotate(0deg) translateY(-20px);
    z-index: 50;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    border: 2px solid var(--brushed-gold);
}

@media (max-width: 768px) {
    .polaroid-gallery { gap: 2rem; }
    .polaroid-item { max-width: 260px; transform: none !important; }
}

/* Floating Mobile CTA */
.floating-mobile-cta {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rasta-green);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 1000;
    white-space: nowrap;
    border: 2px solid var(--brushed-gold);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .floating-mobile-cta {
        display: block;
    }
}

.tour-details-card {
    background: var(--rasta-black);
    padding: 2.5rem;
    border-radius: 12px;
    border: 2px solid var(--brushed-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

@media (max-width: 576px) {
    .tour-details-card {
        padding: 1.5rem 1rem;
    }
}
