/* === GLOBAL STYLES & VARIABLES === */
:root {
    --color-dark: #383D3B;
    --color-light: #EEE5E9;
    --color-gray: #7C7C7C;
    --font-primary: 'Helvetica Neue', Arial, sans-serif;
    --font-secondary: 'Georgia', serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-light);
    color: var(--color-dark);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 6rem 0;
    overflow: hidden;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.btn--primary:hover {
    background-color: transparent;
    border-color: var(--color-dark);
    color: var(--color-dark);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-dark);
}

.btn--secondary:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
}

/* === SCROLL ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: background-color 0.3s ease, padding 0.3s ease;
    background-color: #fff;
}

.header.scrolled {
    background-color: rgba(238, 229, 233, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--color-dark);
}

.header__nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.header__nav-list a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

.header__nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-dark);
    transition: width 0.3s ease;
}

.header__nav-list a:hover::after,
.header__nav-list a.active::after {
    width: 100%;
}

.header__menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-light);
    padding: 0;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(56, 61, 59, 0.5); /* Dark overlay */
    z-index: -1;
}

.hero__title {
    font-family: var(--font-secondary);
    font-size: 4.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.hero .btn--primary {
    background-color: var(--color-light);
    color: var(--color-dark);
    border-color: var(--color-light);
}

.hero .btn--primary:hover {
    background-color: transparent;
    color: var(--color-light);
}

/* === FEATURED DESTINATIONS === */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.destination-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 400px;
    transition: transform 0.4s ease;
}

.destination-card:hover {
    transform: scale(1.03);
}

.destination-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    color: var(--color-light);
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

.destination-card__content h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* === THE AETHER DIFFERENCE === */
.difference { background-color: #E5DCE0; }
.difference__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.difference__image-showcase {
    position: relative;
    height: 500px;
}

.difference__img {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
    transition: transform 0.4s ease;
}

.difference__img--1 {
    width: 70%;
    height: 70%;
    top: 0;
    left: 0;
    z-index: 1;
}
.difference__img--2 {
    width: 70%;
    height: 70%;
    bottom: 0;
    right: 0;
    z-index: 2;
}
.difference__image-showcase:hover .difference__img--1 {
    transform: translate(-10px, -10px);
}
.difference__image-showcase:hover .difference__img--2 {
    transform: translate(10px, 10px);
}

.difference__content .section-title,
.difference__content .section-subtitle {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.difference__content ul {
    list-style: none;
    margin-top: 2rem;
}

.difference__content li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
}
.difference__content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-dark);
    font-weight: bold;
}

/* === TRAVEL STYLES === */
.styles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.style-card {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 2.5rem;
    text-align: center;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.style-card:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
    border-color: var(--color-dark);
    transform: translateY(-10px);
}

.style-card:hover .style-card__icon,
.style-card:hover .style-card__description {
    color: var(--color-gray);
}

.style-card__icon {
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}

.style-card__title {
    font-family: var(--font-secondary);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.style-card__description {
    color: var(--color-gray);
    transition: color 0.3s ease;
}

/* === REVIEWS === */
/* === MODERN SLIDER STYLES FOR REVIEWS SECTION === */

/* Retain original section styling */
.reviews {
    position: relative;
    padding: 8rem 0;
    color: var(--color-light);
}
.reviews__background-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
}
.reviews__background-image img {
    width: 100%; height: 100%; object-fit: cover; filter: brightness(0.4);
}
.reviews .section-title { color: var(--color-light); }

/* Slider Wrapper - The "Window" */
.reviews-slider-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

/* Slider Track - The moving part */
.reviews-slider-track {
    display: flex;
    /* This cubic-bezier creates a cool "spring-back" effect */
    transition: transform 0.7s cubic-bezier(0.68, -0.55, 0.26, 1.55);
}

/* Individual Slides (Review Cards) */
.review-card {
    flex: 0 0 50%; /* Show two slides at a time on desktop */
    box-sizing: border-box;
    padding: 2.5rem;
    background: rgba(238, 229, 233, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(238, 229, 233, 0.2);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    /* Animation properties */
    transform: scale(0.9);
    opacity: 0.6;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Active (Visible) Slides */
.review-card.active {
    transform: scale(1);
    opacity: 1;
}

.review-card blockquote {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    line-height: 1.5;
    border-left: 3px solid var(--color-light);
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}
.review-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.review-card__author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Slider Controls (Next/Prev Buttons) */
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.slider-btn {
    background: rgba(238, 229, 233, 0.2);
    border: 1px solid rgba(238, 229, 233, 0.4);
    color: var(--color-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.slider-btn:hover {
    background: rgba(238, 229, 233, 0.4);
    transform: scale(1.1);
}

/* Slider Pagination (Dots) */
.slider-pagination {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(238, 229, 233, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.pagination-dot.active {
    background-color: var(--color-light);
    transform: scale(1.2);
}

/* Responsive adjustments for the slider */
@media (max-width: 992px) {
    .review-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 100%; /* Show one slide at a time on mobile */
        transform: scale(1); /* No scaling effect needed for single view */
        opacity: 1; /* Fully visible */
    }
}
/* === HOW IT WORKS === */
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    position: relative;
    margin-top: 4rem;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--color-gray), var(--color-gray) 6px, transparent 6px, transparent 12px);
    z-index: -1;
}

.process-step {
    flex: 1;
    text-align: center;
}

.process-step__number {
    font-size: 3rem;
    font-family: var(--font-secondary);
    font-weight: bold;
    color: var(--color-gray);
    margin-bottom: 1rem;
    display: inline-block;
    background-color: var(--color-light);
    padding: 0 1rem;
}

.process-step__title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* === CTA SECTION === */
.cta {
    background-color: var(--color-dark);
    color: var(--color-light);
}
.cta .section-title { color: var(--color-light); text-align: left; }
.cta p { color: var(--color-gray); }

.cta__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}
.cta__content { flex: 2; }
.cta__actions { flex: 1; display: flex; flex-direction: column; gap: 1rem; align-items: stretch; }
.cta .btn { text-align: center; }
.cta .btn--primary { background-color: var(--color-light); color: var(--color-dark); }
.cta .btn--secondary { border-color: var(--color-light); color: var(--color-light); }
.cta .btn--secondary:hover { background-color: var(--color-light); color: var(--color-dark); }

/* === DESTINATIONS PAGE === */

/* --- Section 1: Destinations Hero --- */
.hero-destinations {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-light);
}
.hero-destinations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(56, 61, 59, 0.2), rgba(56, 61, 59, 0.7));
    z-index: -1;
}
.destination-filter {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.destination-filter input {
    width: 100%;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--color-light);
    background-color: rgba(255,255,255,0.2);
    color: var(--color-light);
    font-size: 1rem;
    outline: none;
}
.destination-filter input::placeholder { color: rgba(238, 229, 233, 0.7); }
.destination-filter .btn { flex-shrink: 0; }

/* --- Section 2: Continent Showcase --- */
/* === REDESIGNED CONTINENT SHOWCASE STYLES === */

.interactive-map-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 3rem auto 0 auto;
    border-radius: 8px;
    overflow: hidden; /* Ensures effects are contained */
}

/* The map background with a moody, high-contrast filter */
.interactive-map-container .map-bg {
    width: 100%;
    display: block;
    filter: grayscale(1) brightness(0.8) contrast(1.2);
    transition: filter 0.5s ease;
}

/* The "Focus Effect": When hovering the whole container, dim and blur the map */
.interactive-map-container:hover .map-bg {
    filter: grayscale(1) brightness(0.4) blur(3px);
}

/* Base style for each pin container */
.continent-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 10;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* The "Focus Effect": Fade out non-hovered pins */
.interactive-map-container:hover .continent-pin {
    opacity: 0.5;
}
/* The "Focus Effect": The hovered pin becomes fully opaque and scales up */
.interactive-map-container:hover .continent-pin:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 20; /* Bring the active pin to the front */
}

/* The visible dot of the pin */
.pin-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: var(--color-light);
    border: 3px solid var(--color-dark);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
/* The pulsing animation, now attached to the dot's ::after pseudo-element */
.pin-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite ease-out;
}

/* The visible text label for the pin */
.pin-label {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(20px, -50%); /* Position it to the right of the dot */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* The hidden info card */
.pin-info-card {
    position: absolute;
    bottom: 100%; /* Position above the pin dot */
    left: 50%;
    transform: translateX(-50%) translateY(20px) scale(0.9);
    transform-origin: bottom center;
    width: 250px;
    background: var(--color-light);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    
    /* Initially hidden */
    opacity: 0;
    pointer-events: none; /* Not clickable when hidden */
    
    /* Smooth animation for appearing */
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-delay: 0.1s; /* Slight delay before it appears */
}

/* The reveal animation on pin hover */
.continent-pin:hover .pin-info-card {
    opacity: 1;
    pointer-events: auto; /* Clickable when visible */
    transform: translateX(-50%) translateY(-15px) scale(1);
}

.pin-info-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}
.pin-info-card h4 {
    margin: 0.75rem 1rem 0.5rem;
    color: var(--color-dark);
}
.pin-info-card p {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin: 0 1rem 1rem;
    line-height: 1.4;
}
.pin-info-card a {
    display: block;
    background: var(--color-dark);
    color: var(--color-light);
    text-decoration: none;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.pin-info-card a:hover {
    background-color: #555; /* A slightly lighter dark color */
}

/* The keyframe animation remains the same as it's effective */
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(4); opacity: 0; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* On mobile, hover doesn't work, so the interaction is simplified. Tapping a pin could be enabled with JS, but for a CSS-only solution, we simplify the display. */
    .interactive-map-container {
        /* Disabling the hover focus effect for touch devices */
        pointer-events: none;
    }
    .continent-pin {
        pointer-events: auto; /* Re-enable for the pins themselves */
    }
    .pin-info-card {
        /* Hide the card on mobile to prevent layout issues */
        display: none;
    }
}
/* --- Section 3: Featured Destination Spotlight --- */
.featured-spotlight { background-color: #E5DCE0; }
.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 2rem;
    align-items: start;
}
.spotlight__main-content { grid-column: 1 / 3; grid-row: 1 / 3; }
.spotlight__main-content .section-title { text-align: left; }
.spotlight__tagline { font-family: var(--font-secondary); font-size: 1.5rem; color: var(--color-gray); margin: -1rem 0 1.5rem 0; }
.spotlight__image-1 { grid-column: 3 / 5; grid-row: 1 / 2; }
.spotlight__image-2 { grid-column: 4 / 5; grid-row: 2 / 3; }
.spotlight__image-3 { grid-column: 3 / 4; grid-row: 2 / 3; }

.spotlight-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: filter 0.3s ease;
}
.spotlight-grid img:hover { filter: brightness(1.1); }

/* --- Section 4: Thematic Collections --- */
/* === REDESIGNED THEMATIC COLLECTIONS STYLES === */

.collection-accordion {
    display: flex;
    width: 100%;
    height: 500px; /* A fixed height is crucial for the effect */
    gap: 1rem;
    margin-top: 3rem;
}

.collection-item {
    /* Core properties for each accordion slice */
    flex: 1; /* Initially, each item takes up 1 part of the space */
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    
    /* The magic transition for the expanding effect! */
    /* We animate the 'flex' property with a bouncy cubic-bezier */
    transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7) saturate(1.2); /* A moody, saturated look */
    transition: transform 0.8s ease, filter 0.8s ease;
}

/* This is where the magic happens */
.collection-accordion:hover .collection-item:hover {
    flex: 5; /* The hovered item expands to take 5 parts */
}

/* Brighten and zoom the image on hover */
.collection-accordion:hover .collection-item:hover img {
    transform: scale(1.1);
    filter: brightness(1) saturate(1);
}

/* Content wrapper that contains all text elements */
.collection-item__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align content to the bottom */
    color: var(--color-light);
    
    /* A subtle gradient overlay to ensure text is readable */
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
}

/* The wrapper for the always-visible title */
.collection-item__title-wrapper {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.collection-item__title-wrapper h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    
    /* The vertical text effect */
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    transform-origin: left bottom;
    
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    white-space: nowrap;
    
    /* Transition for the text orientation change */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* On hover, switch the title to horizontal and move it to the top */
.collection-accordion:hover .collection-item:hover .collection-item__title-wrapper {
    transform: translateY(-400px); /* Adjust as needed based on card height */
}

.collection-accordion:hover .collection-item:hover .collection-item__title-wrapper h3 {
    writing-mode: horizontal-tb;
    transform: rotate(0deg);
}

/* The hidden details that appear on hover */
.collection-item__details {
    /* Initially hidden */
    opacity: 0;
    transform: translateY(30px);
    
    /* Smooth transition with a delay to appear after the card expands */
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}

/* On hover, reveal the details */
.collection-accordion:hover .collection-item:hover .collection-item__details {
    opacity: 1;
    transform: translateY(0);
}

.collection-item__details p {
    color: var(--color-gray);
    margin-bottom: 1rem;
    max-width: 90%;
}

.collection-item__details span {
    font-weight: bold;
    color: var(--color-light);
    display: inline-block;
    border-bottom: 2px solid var(--color-light);
    padding-bottom: 0.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .collection-accordion {
        /* On mobile, revert to a simple vertical stack */
        flex-direction: column;
        height: auto; /* Let content define height */
    }
    .collection-item {
        flex: 1; /* Reset flex-grow */
        height: 250px; /* Give each card a reasonable height */
    }
    .collection-accordion:hover .collection-item:hover {
        /* Disable the expanding effect on mobile */
        flex: 1; 
    }
    
    /* On mobile, we use a simple overlay reveal instead of the complex title animation */
    .collection-item__title-wrapper {
        position: static;
        transform: none;
    }
    .collection-item__title-wrapper h3 {
        writing-mode: horizontal-tb;
        transform: rotate(0deg);
        font-size: 1.5rem;
    }
    
    /* On mobile, the details are hidden by default and appear on hover/tap */
    .collection-item__details {
        opacity: 0;
        transition: opacity 0.5s ease;
    }
    
    .collection-item:hover .collection-item__details {
       opacity: 1;
    }

    .collection-item:hover .collection-item__title-wrapper {
       /* Don't move the title on mobile */
       transform: none;
    }
}
/* --- Section 5: Split Spotlight --- */
.split-spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    min-height: 80vh;
}
.split-spotlight__image {
    background-color: var(--color-dark);
}
.split-spotlight__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 80vh; /* Ensure image covers height */
}
.split-spotlight__content {
    display: flex;
    align-items: center;
    padding: 6rem 0;
}
.split-spotlight__content .section-title { text-align: left; }

/* --- Section 6: Travel Calendar --- */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.season-card {
    border-top: 4px solid var(--color-dark);
    padding-top: 1.5rem;
}
.season-card h4 {
    font-family: var(--font-secondary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.season-card p {
    color: var(--color-gray);
}

/* --- Section 7: Custom Trip CTA --- */
.custom-trip-cta { background-color: var(--color-dark); }
.custom-trip-cta__container {
    text-align: center;
    max-width: 800px;
}
.custom-trip-cta .section-title { color: var(--color-light); }
.custom-trip-cta p { color: var(--color-gray); margin-bottom: 2rem; }
.custom-trip-cta .btn--primary { background-color: var(--color-light); color: var(--color-dark); }
.custom-trip-cta .btn--primary:hover { background-color: transparent; border-color: var(--color-light); color: var(--color-light); }

/* --- RESPONSIVE FOR DESTINATIONS PAGE --- */
@media (max-width: 992px) {
    .spotlight-grid { grid-template-columns: 1fr 1fr; }
    .spotlight__main-content { grid-column: 1 / -1; grid-row: 1; }
    .spotlight__image-1 { grid-column: 1 / 2; grid-row: 2; height: 400px; }
    .spotlight__image-2 { grid-column: 2 / 3; grid-row: 2; height: 250px; }
    .spotlight__image-3 { display: none; } /* Hide for simplicity */

    .collections-grid { grid-template-columns: 1fr 1fr; }
    
    .split-spotlight { grid-template-columns: 1fr; }
    .split-spotlight__image img { min-height: 50vh; }
    .split-spotlight__content { padding: 4rem 0; }
    
    .calendar-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-destinations { min-height: 60vh; }
    .destination-filter { flex-direction: column; }
    
    .spotlight-grid, .collections-grid, .calendar-grid {
        display: block;
    }
    .spotlight__main-content
    {
        margin-bottom: 20px;
    }
    .spotlight__image-1 { height: 300px; margin-bottom: 20px; }
    .spotlight__image-2 { height: 300px; }
    
    .split-spotlight__content .container { width: 90%; }
}

/* === TRIPS PAGE === */

/* --- Section 1: Trips Hero --- */
.hero-trips {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-light);
}
.hero-trips::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(56, 61, 59, 0.6);
    z-index: -1;
}

.trip-search-bar {
    margin-top: 2.5rem;
    background: rgba(238, 229, 233, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
    border-radius: 50px;
    display: flex;
    gap: 0.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(238, 229, 233, 0.3);
}
.trip-search-bar input, .trip-search-bar select {
    background: transparent;
    border: none;
    padding: 0.8rem 1rem;
    color: var(--color-light);
    outline: none;
    font-size: 1rem;
}
.trip-search-bar input { flex-grow: 1; }
.trip-search-bar select { border-left: 1px solid rgba(238, 229, 233, 0.3); }
.trip-search-bar select option { background: var(--color-dark); }

/* --- Section 2: Trip Filters --- */
.trip-filters { padding: 3rem 0; background: #E5DCE0; }
.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.filter-btn {
    background: transparent;
    border: 2px solid var(--color-gray);
    color: var(--color-gray);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-light);
}

/* --- Section 3: Trip Listings --- */
.trip-listings { background-color: var(--color-light); }
.trip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2.5rem;
}
.trip-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.trip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.trip-card__image { height: 220px; }
.trip-card__image img { width: 100%; height: 100%; object-fit: cover; }
.trip-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.trip-card__content h3 { font-family: var(--font-secondary); font-size: 1.4rem; margin-bottom: 0.5rem; }
.trip-card__meta {
    display: flex;
    gap: 1rem;
    color: var(--color-gray);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.trip-card__meta span {
    border-right: 1px solid #ddd;
    padding-right: 1rem;
}
.trip-card__meta span:last-child { border: none; }
.trip-card__content p { margin-bottom: 1.5rem; flex-grow: 1; }
.view-all-trips { text-align: center; margin-top: 3rem; }

/* --- Section 4: Limited Edition --- */
.limited-edition { background-color: #E5DCE0; }
.limited-edition__grid { display: grid; grid-template-columns: 2fr 3fr; gap: 4rem; align-items: center; }
.limited-edition__image img { border-radius: 8px; }
.limited-edition__content .section-title, .limited-edition__content .section-subtitle { text-align: left; margin-left: 0; }
.features-list { list-style: none; margin: 2rem 0; }
.features-list li { padding-left: 2rem; position: relative; margin-bottom: 1rem; }
.features-list li::before { content: '★'; position: absolute; left: 0; color: var(--color-dark); }

/* --- Section 5: Booking Process --- */
.process-timeline {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    margin-top: 4rem;
}
.process-timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #ccc, #ccc 4px, transparent 4px, transparent 10px);
    z-index: 0;
}
.timeline-step { flex: 1; text-align: center; position: relative; }
.timeline-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-dark);
    color: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.5rem;
    font-weight: bold;
    border: 4px solid var(--color-light);
    position: relative;
    z-index: 1;
}
.timeline-step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* --- Section 6: Visual Inspiration Gallery --- */
.trip-gallery { padding-bottom: 0; }
.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1rem;
    padding: 0 1rem; /* Allow images to bleed slightly */
}
.gallery-mosaic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.gallery-mosaic img:hover { transform: scale(1.03); }
.gallery-mosaic img:nth-child(1) { grid-column: 1 / 3; }
.gallery-mosaic img:nth-child(2) { grid-column: 3 / 4; grid-row: 1 / 3; }
.gallery-mosaic img:nth-child(3) { grid-column: 1 / 3; }
.gallery-mosaic img:nth-child(4) { grid-column: 4 / 5; grid-row: 1 / 3; }
.gallery-mosaic img:nth-child(5) { grid-column: 3 / 5; }

/* --- Section 7: FAQ --- */
.faq { background-color: #E5DCE0; }
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-gray); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    color: var(--color-dark);
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}
.faq-answer p { padding-bottom: 1.5rem; color: var(--color-gray); }

/* --- RESPONSIVE FOR TRIPS PAGE --- */
@media (max-width: 992px) {
    .limited-edition__grid { grid-template-columns: 1fr; }
    .limited-edition__image { order: -1; max-width: 500px; margin: 0 auto; }
    .limited-edition__content .section-title,
    .limited-edition__content .section-subtitle { text-align: center; max-width: 700px; margin: 1rem auto; }

    .process-timeline { flex-direction: column; gap: 3rem; }
    .process-timeline::before { left: 50%; top: 5%; bottom: 5%; width: 2px; height: 90%; }

    .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
    .gallery-mosaic img:nth-child(n) { grid-column: auto; grid-row: auto; } /* Reset complex grid for tablet */
}

@media (max-width: 768px) {
    .trip-search-bar { flex-direction: column; border-radius: 20px; padding: 1rem; }
    .trip-search-bar select { border-left: none; border-top: 1px solid rgba(238, 229, 233, 0.3); }

    .gallery-mosaic { grid-template-columns: 1fr; }
}

/* === ABOUT PAGE === */

/* --- Section 1: About Hero --- */
/* === REDESIGNED ABOUT HERO STYLES === */

.hero-about-redesigned {
    background-color: var(--color-light);
    padding: 6rem 0;
    overflow: hidden;
}

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

/* Left Column: The Manifesto */
.hero-about__content .hero__title {
    font-family: var(--font-secondary);
    font-size: 3rem;
    line-height: 1.2;
    text-align: left;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.hero-about__content .hero__subtitle {
    text-align: left;
    font-size: 1.1rem;
    color: var(--color-gray);
    max-width: 500px;
    margin: 0;
}

.hero-about__signature {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
    max-width: 500px;
}

.hero-about__signature span {
    font-family: var(--font-secondary);
    font-style: italic;
    color: var(--color-dark);
}

/* Right Column: Visual Memories */
.hero-about__visuals {
    position: relative;
    height: 500px;
    /* This property is crucial for the 3D effect on its children */
    perspective: 1200px;
}

/* Primary Visual Element (the larger "polaroid") */
.visual-primary {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Secondary Visual Element (the smaller detail image) */
.visual-secondary {
    position: absolute;
    bottom: -10%;
    right: 0;
    width: 45%;
    height: auto;
    background-color: #fff;
    padding: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transform: rotateY(15deg) rotateX(-5deg) translateZ(50px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.visual-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* The 3D hover interaction */
.hero-about__visuals:hover .visual-primary {
    transform: rotate(0) translateZ(20px);
}

.hero-about__visuals:hover .visual-secondary {
    transform: rotate(0) translateZ(80px) scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-about__container {
        display: block;
        gap: 4rem;
    }

    .hero-about__content
    {
        margin-bottom: 20px;
    }
    .hero-about__content {
        text-align: center;
    }
    .hero-about__content .hero__title,
    .hero-about__content .hero__subtitle,
    .hero-about__signature {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-about__visuals {
        height: 400px;
    }
}

/* --- Section 2: Our Philosophy --- */
/* === REDESIGNED OUR PHILOSOPHY STYLES === */

.our-philosophy-redesigned {
    background-color: var(--color-light);
}

/* The new three-column grid layout */
.philosophy-layout {
    display: grid;
    /* Create three columns: text, a wider image, text */
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 4rem;
}

/* Base styling for the text columns */
.philosophy-column p {
    color: var(--color-gray);
    line-height: 1.7;
}

/* The label-like subheadings for each text block */
.philosophy-column h4 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}
/* A decorative line under the subheading */
.philosophy-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-dark);
}

/* Align text to hug the central image */
.philosophy-column--left {
    text-align: right;
}
.philosophy-column--left h4::after {
    left: auto;
    right: 0;
}

/* Styling for the central image column */
.philosophy-column--image {
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(56, 61, 59, 0.15);
    
    /* This makes the image break the grid vertically for a dynamic effect */
    transform: scale(1.1); 
    
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}
.philosophy-column--image:hover {
    transform: scale(1.15);
    box-shadow: 0 25px 60px rgba(56, 61, 59, 0.2);
}

.philosophy-column--image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    display: block; /* Removes any extra space below the image */
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .philosophy-layout {
        /* On tablets, switch to a 2-column grid for the text, with the image on top */
        grid-template-columns: 1fr 1fr;
        gap: 2rem 4rem; /* row-gap column-gap */
    }
    .philosophy-column--image {
        grid-column: 1 / -1; /* Make the image span the full width */
        margin-bottom: 2rem;
        transform: scale(1); /* Reset the scaling */
    }
    .philosophy-column--image:hover {
        transform: scale(1.03); /* A more subtle hover effect for this layout */
    }
    .philosophy-column--left {
        text-align: left; /* Re-align text for the new layout */
    }
    .philosophy-column--left h4::after {
        left: 0;
        right: auto;
    }
}

@media (max-width: 768px) {
    .philosophy-layout {
        /* On mobile, stack everything in a single column */
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .philosophy-column--image {
        margin-bottom: 0; /* Adjust spacing for single column */
    }
    .philosophy-column--right {
        margin-top: -1rem; /* Minor adjustment for better flow */
    }
}
/* --- Section 3: Company Timeline --- */
/* === MODERN TABS STYLES FOR TIMELINE SECTION === */

.company-timeline { background-color: #E5DCE0; }

.timeline-tabs-container {
    display: grid;
    grid-template-columns: 1fr 3fr; /* Left column for tabs, right for content */
    gap: 3rem;
    max-width: 900px;
    margin: 3rem auto 0;
    min-height: 400px; /* Prevent layout collapse */
}

/* Tab Navigation Column */
.tab-buttons {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative; /* Crucial for the indicator */
}

/* The smooth sliding indicator */
.tab-indicator {
    position: absolute;
    left: 0;
    width: 100%;
    background-color: var(--color-dark);
    border-radius: 8px;
    z-index: 1;
    /* The magic transition */
    transition: top 0.4s cubic-bezier(0.23, 1, 0.32, 1), height 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.tab-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    z-index: 2; /* Must be above the indicator */
    color: var(--color-gray);
    transition: color 0.4s ease;
}

.tab-btn.active {
    color: var(--color-light); /* Active text is light to show on dark indicator */
}

/* Tab Content Column */
.tab-content {
    position: relative;
}

.tab-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Initially hidden */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    /* Smooth animation for content swapping */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, visibility 0s 0.5s;
}

.tab-panel.active {
    position: relative; /* Or static, to take up space */
    /* Make it visible */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.5s ease-out 0.2s, transform 0.5s ease-out 0.2s, visibility 0s;
}

.tab-panel h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.tab-panel p {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tab-panel img {
    width: 100%;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Responsive adjustments for the tabs */
@media (max-width: 768px) {
    .timeline-tabs-container {
        grid-template-columns: 1fr; /* Stack tabs on top of content */
        gap: 2rem;
    }
    
    .tab-buttons {
        display: flex; /* Switch to horizontal layout */
        justify-content: space-between;
    }

    .tab-indicator {
        /* Change transition property for horizontal movement */
        transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1), width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        height: 100%; /* Indicator now fills the height of the flex container */
        top: 0;
    }

    .tab-btn {
        flex: 1; /* Each button takes equal space */
        text-align: center;
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
}
/* --- Section 4: Meet The Team --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 2rem;
}
.team-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.team-card img { width: 100%; height: 100%; object-fit: cover; }
.team-card--founder { grid-column: 1 / 3; grid-row: 1 / 3; }
.team-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(56, 61, 59, 0.8), transparent);
    color: var(--color-light);
    padding: 3rem 1.5rem 1.5rem;
    transform: translateY(30%);
    transition: transform 0.4s ease;
}
.team-card:hover .team-card__info { transform: translateY(0); }
.team-card__info h3 { font-family: var(--font-secondary); font-size: 1.5rem; }
.team-card__info span { color: var(--color-gray); transition: color 0.3s; }
.team-card:hover .team-card__info span { color: var(--color-light); }

/* --- Section 5: Our Commitment --- */
.our-commitment { background-color: #E5DCE0; }
.commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}
.commitment-item h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--color-dark); }
.commitment-item p { color: var(--color-gray); }

/* --- Section 6: Our Workspace --- */
/* === REDESIGNED OUR WORKSPACE STYLES === */

.our-workspace-redesigned {
    padding-bottom: 6rem; /* Add padding back to the bottom of the section */
    background-color: var(--color-light);
}

/* The main container that enables horizontal scrolling */
.horizontal-scroll-gallery {
    display: flex;
    overflow-x: auto; /* The key to making it scrollable */
    padding: 2rem 0;
    
    /* Hides the default scrollbar for a cleaner look */
    scrollbar-width: none; /* For Firefox */
}
.horizontal-scroll-gallery::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
}

/* The track that holds all the items and moves within the container */
.gallery-track {
    display: flex;
    gap: 2rem;
    padding: 0 5vw; /* Add some padding so the first item isn't glued to the edge */
    position: relative; /* For the scroll prompt */
}

/* The scroll prompt to guide users */
.gallery-track::after {
    content: 'Scroll to explore →';
    position: absolute;
    top: 50%;
    right: -150px; /* Position it just off-screen to the right */
    transform: translateY(-50%);
    color: var(--color-gray);
    font-weight: bold;
    opacity: 0;
    animation: fadeInAndOut 5s ease-in-out forwards; /* Animate it to appear and then disappear */
}

@keyframes fadeInAndOut {
    0%, 100% { opacity: 0; }
    20%, 80% { opacity: 1; }
}


/* Each individual item in the gallery */
.gallery-item {
    flex: 0 0 450px; /* Each item is a fixed width, preventing shrinking */
    height: 350px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    
    /* Smooth transition for the focus effect */
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The caption that appears over the image */
.item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--color-light);
    font-weight: 500;
    
    /* Initially hidden */
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* The hover interaction */
.gallery-track:hover .gallery-item {
    /* When hovering the track, dim all items */
    filter: grayscale(80%) brightness(0.8);
}

.gallery-track .gallery-item:hover {
    /* The hovered item comes into focus */
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-track .gallery-item:hover .item-caption {
    /* Reveal the caption on hover */
    opacity: 1;
    transform: translateY(0);
}

/* An invisible spacer to ensure the last item can be scrolled to the center of the viewport */
.gallery-item-spacer {
    flex: 0 0 45vw; /* Adjust this value to be roughly half the viewport width */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-item {
        flex-basis: 300px; /* Smaller items on mobile */
        height: 250px;
    }
    .gallery-track {
        gap: 1.5rem;
    }
}
/* --- Section 7: Join Us CTA --- */
.join-us-cta {
    background-color: var(--color-dark);
    color: var(--color-light);
    text-align: center;
}
.join-us-cta__container { max-width: 800px; }
.join-us-cta .section-title { color: var(--color-light); }
.join-us-cta p { color: var(--color-gray); margin-bottom: 2rem; }
.join-us-cta .cta-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.join-us-cta .btn--primary { background-color: var(--color-light); color: var(--color-dark); }
.join-us-cta .btn--secondary { border-color: var(--color-light); color: var(--color-light); }
.join-us-cta .btn--secondary:hover { background-color: var(--color-light); color: var(--color-dark); }

/* --- RESPONSIVE FOR ABOUT PAGE --- */
@media (max-width: 992px) {
    .philosophy-grid { grid-template-columns: 1fr; }
    .philosophy-image img { width: 100%; max-height: 400px; }
    .philosophy-content .section-title { text-align: center; }

    .team-grid { grid-template-columns: 1fr 1fr; }
    .team-card--founder { grid-column: auto; grid-row: auto; } /* Reset grid span */
    
    .commitment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .timeline::after { left: 20px; }
    .timeline__item { width: 100%; padding-left: 50px; padding-right: 1rem; }
    .timeline__item:nth-child(even) { left: 0; }
    .timeline__item::after { left: 10px; }
    
    .team-grid { grid-template-columns: 1fr; }
    
    .workspace-gallery { grid-template-columns: 1fr; }
    .workspace-gallery figure:nth-child(n) { grid-column: auto; } /* Reset all grid spans */
}

/* === CHOOSE US PAGE === */

/* --- Section 1: Choose Us Hero --- */
.hero-choose-us {
    background-color: var(--color-light);
    padding: 6rem 0;
    min-height: auto;
}
.hero-choose-us__container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-choose-us__image img {
    border-radius: 8px;
    height: 500px;
    object-fit: cover;
    width: 100%;
}
.hero-choose-us .hero__title { font-size: 3.5rem; text-align: left; }
.hero-choose-us .hero__subtitle { text-align: left; max-width: 500px; margin: 0; }

/* --- Section 2: Core Values --- */
.core-values { background-color: #E5DCE0; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.value-card {
    background-color: transparent;
    transition: background-color 0.4s ease;
    padding: 2rem;
    border-radius: 8px;
}
.value-card:hover { background-color: rgba(255, 255, 255, 0.5); }
.value-card__icon {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-dark);
    margin-bottom: 1rem;
    border-top: 3px solid var(--color-dark);
    display: inline-block;
    padding-top: 0.5rem;
}
.value-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--color-gray); }

/* --- Section 3: Human Touch --- */
.human-touch {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    color: var(--color-dark);
}
.human-touch__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.human-touch__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(100%);
}
.human-touch__content-box {
    background: rgba(238, 229, 233, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 3rem;
    max-width: 650px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.human-touch__content-box .section-title { text-align: left; }

/* --- Section 4: Authentic Experiences --- */
/* === 3D CAROUSEL STYLES FOR AUTHENTIC EXPERIENCES === */

.experience-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 450px; /* Define a height for the 3D scene */
    margin-top: 4rem;
    
    /* This creates the 3D space */
    perspective: 1500px;
}

.experience-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    
    /* This allows children to be positioned in 3D */
    transform-style: preserve-3d;
    
    /* The transition for the entire carousel's rotation */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-item {
    position: absolute;
    width: 300px; /* Fixed width for items */
    height: 400px; /* Fixed height for items */
    top: 25px; /* Center vertically */
    left: calc(50% - 150px); /* Center horizontally */
    
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    cursor: pointer;
    
    /* Transition for individual item effects (like brightness) */
    transition: transform 0.8s ease, filter 0.8s ease, opacity 0.8s ease;
    filter: brightness(0.6);
    opacity: 0.9;
}

.carousel-item.is-active {
    filter: brightness(1);
    opacity: 1;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Prevent image dragging from interfering with clicks */
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 10;
    pointer-events: none; /* Let clicks pass through to the wrapper */
}

.nav-btn {
    pointer-events: auto; /* Re-enable clicks on the buttons themselves */
    background: rgba(238, 229, 233, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(56, 61, 59, 0.2);
    color: var(--color-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.nav-btn:hover {
    background: var(--color-light);
    transform: scale(1.1);
}
.nav-btn--prev { margin-left: -5%; }
.nav-btn--next { margin-right: -5%; }

/* Dynamic Content Display */
.carousel-content {
    text-align: center;
    max-width: 600px;
    margin: 2rem auto 0;
}
.content-title {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}
.content-description {
    color: var(--color-gray);
    min-height: 48px; /* Reserve space to prevent layout shifting */
}

/* Add a class for the text transition */
.carousel-content.is-updating {
    opacity: 0;
    transform: translateY(10px);
    transition: none; /* Turn off transition during update */
}
.carousel-content {
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .experience-carousel-wrapper {
        height: 350px;
    }
    .carousel-item {
        width: 200px;
        height: 300px;
        left: calc(50% - 100px);
    }
    .nav-btn--prev { margin-left: 0; }
    .nav-btn--next { margin-right: 0; }
}
/* --- Section 5: Difference Comparison --- */
.difference-comparison { background-color: #E5DCE0; }
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.comparison-column h3 { font-family: var(--font-secondary); font-size: 1.5rem; margin-bottom: 1.5rem; }
.comparison-column ul { list-style: none; }
.comparison-column ul li { padding-left: 2rem; position: relative; margin-bottom: 1rem; }
.comparison-column:first-child ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #006400; /* Dark green */
    font-weight: bold;
}
.comparison-column:last-child ul li { color: var(--color-gray); }
.comparison-column:last-child ul li::before {
    content: '✖';
    position: absolute;
    left: 0;
    color: #8B0000; /* Dark red */
}

/* --- Section 6: Peace of Mind --- */
.peace-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.peace-content .section-title { text-align: left; }
.peace-images { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.peace-images img { border-radius: 8px; width: 100%; height: 250px; object-fit: cover; }
.peace-images img:nth-child(2) { margin-top: 2rem; }

/* --- Section 7: Next Step CTA --- */
.next-step-cta {
    background-color: var(--color-dark);
    text-align: center;
}
.next-step-cta .section-title { color: var(--color-light); }
.next-step-cta .section-subtitle { color: var(--color-gray); }
.next-step-cta .btn { margin-top: 1.5rem; }
.next-step-cta .btn--primary { background-color: var(--color-light); color: var(--color-dark); }
.next-step-cta .btn--primary:hover { background: transparent; color: var(--color-light); border-color: var(--color-light); }


/* --- RESPONSIVE FOR CHOOSE US PAGE --- */
@media (max-width: 992px) {
    .hero-choose-us__container { grid-template-columns: 1fr; text-align: center; }
    .hero-choose-us__content { order: 2; }
    .hero-choose-us__image { order: 1; margin-bottom: 2rem; }
    .hero-choose-us__image img { height: 400px; }
    .hero-choose-us .hero__title, .hero-choose-us .hero__subtitle { text-align: center; max-width: 700px; margin: 0 auto 1rem auto; }

    .values-grid { grid-template-columns: 1fr 1fr; }
    .peace-grid { grid-template-columns: 1fr; }
    .peace-content { text-align: center; }
    .peace-content .section-title { text-align: center; }
    .peace-images { margin-top: 2rem; }
}

@media (max-width: 768px) {
    .values-grid { grid-template-columns: 1fr; }
    .human-touch__content-box { padding: 2rem; }
    .experience-collage { grid-template-columns: 1fr; }
    .exp-item:nth-child(n) { grid-column: auto; grid-row: auto; } /* Reset all spans */

    .comparison-grid { grid-template-columns: 1fr; gap: 4rem; }
    .peace-images { grid-template-columns: 1fr; }
    .peace-images img:nth-child(2) { margin-top: 1rem; }
}

/* === REVIEWS PAGE === */

/* --- Section 1: Reviews Hero --- */
.hero-reviews {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-light);
}
.hero-reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(56, 61, 59, 0.5);
    z-index: -1;
}

/* --- Section 2: Aggregate Stats --- */
.review-stats { background-color: #E5DCE0; }
.stats-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.stat-card { text-align: center; }
.stat-card--main {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 2.5rem;
    border-radius: 8px;
    height: 100%;
}
.main-score { font-size: 5rem; font-weight: bold; line-height: 1; }
.main-score span { font-size: 2rem; opacity: 0.7; }
.star-rating { font-size: 1.5rem; color: #f39c12; margin-bottom: 1rem; }
.source-logo {
    max-height: 100px;
    width: auto;
    margin: 0 auto 1rem auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.stat-card:not(.stat-card--main):hover .source-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Section 3: Featured Stories --- */
.story-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}
.story-container:last-child { margin-bottom: 0; }
.story-container--reversed { grid-template-columns: 1.2fr 1fr; }
.story-container--reversed .story__image { order: 2; }
.story__image img { border-radius: 8px; width: 100%; height: 400px; object-fit: cover; }
.story__content h3 { font-family: var(--font-secondary); font-size: 2rem; margin-bottom: 1.5rem; line-height: 1.2; }
.story__content p { color: var(--color-gray); margin-bottom: 1.5rem; }
.story__content cite { display: block; margin-top: 2rem; font-style: normal; }

/* --- Section 4: Quote Grid --- */
.quote-grid-section { background-color: #E5DCE0; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.quote-card {
    background: var(--color-light);
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid var(--color-dark);
}
.quote-card__category {
    display: inline-block;
    background: var(--color-dark);
    color: var(--color-light);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
.quote-card blockquote { font-family: var(--font-secondary); font-size: 1.2rem; border: none; padding: 0; margin-bottom: 1rem; }
.quote-card cite { font-style: normal; color: var(--color-gray); }

/* --- Section 5: Video Testimonials --- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.video-card { position: relative; cursor: pointer; border-radius: 8px; overflow: hidden; }
.video-card img { width: 100%; height: 400px; object-fit: cover; display: block; transition: transform 0.4s ease; }
.video-card:hover img { transform: scale(1.05); }
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(238, 229, 233, 0.9);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}
.video-play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid var(--color-dark);
}
.video-card:hover .video-play-button { background-color: #fff; }
.video-caption { position: absolute; bottom: 0; left: 0; right: 0; color: #fff; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); padding: 1.5rem 1rem 1rem; margin: 0; font-weight: bold; }

/* --- Section 6: Review Map --- */
.review-map-section { background-color: #E5DCE0; }
.review-map-container { position: relative; max-width: 1200px; margin: 0 auto; }
.review-map-bg { width: 100%; opacity: 0.5; }
.map-review-snippet {
    position: absolute;
    background: rgba(238, 229, 233, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 8px;
    width: 200px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.map-review-snippet p { font-size: 0.9rem; margin-bottom: 0.5rem; }
.map-review-snippet span { font-size: 0.8rem; font-weight: bold; color: var(--color-dark); }

/* --- Section 7: Share Story CTA --- */
.share-story-cta { text-align: center; }
.share-story-cta__container { max-width: 700px; }


/* --- RESPONSIVE FOR REVIEWS PAGE --- */
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: 1fr; }
    .story-container, .story-container--reversed { grid-template-columns: 1fr; }
    .story__image { max-height: 400px; }
    .story-container--reversed .story__image { order: 1; } /* Reset order for stacking */
    .story__content { text-align: center; }

    .video-grid { grid-template-columns: 1fr; }
    .map-review-snippet { display: none; } /* Hide snippets on smaller screens as precise placement is difficult */
}

@media (max-width: 768px) {
    .quote-grid { grid-template-columns: 1fr; }
}

/* === TRAVEL STYLES PAGE === */

/* --- Section 1: Styles Hero --- */
.hero-styles { padding: 4rem 0; }
.hero-styles__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.hero-styles .hero__title { text-align: left; }
.hero-styles .hero__subtitle { text-align: left; max-width: none; margin: 0; }
.hero-styles__image img { border-radius: 8px; }

/* --- Section 2: Core Archetypes --- */
/* === MODERN TABS STYLES FOR ARCHETYPES SECTION === */
.archetypes { background-color: #E5DCE0; }

.archetypes-tabs-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

/* Tab Navigation Bar */
.tab-nav {
    display: flex;
    justify-content: center;
    position: relative;
    background-color: rgba(56, 61, 59, 0.1);
    border-radius: 50px; /* Pill shape */
    padding: 0.5rem;
}

/* The smooth sliding indicator */
.tab-slider-indicator {
    position: absolute;
    top: 0.5rem;
    height: calc(100% - 1rem);
    background-color: var(--color-light);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1;
    /* The magic transition */
    transition: left 0.5s cubic-bezier(0.23, 1, 0.32, 1), width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.tab-button {
    flex: 1;
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    z-index: 2; /* Text must be above the indicator */
    color: var(--color-gray);
    transition: color 0.4s ease;
}

.tab-button.active {
    color: var(--color-dark);
}

/* Tab Content Area */
.tab-content-wrapper {
    position: relative;
    margin-top: 3rem;
    background: var(--color-light);
    border-radius: 8px;
    overflow: hidden;
    min-height: 400px; /* Give it a minimum height */
}

.tab-content-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    
    /* Initially hidden */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    
    /* Smooth transition for content swapping */
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, visibility 0s 0.5s;
}

.tab-content-panel.active {
    position: relative;
    /* Make it visible */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.5s ease-out 0.2s, transform 0.5s ease-out 0.2s, visibility 0s;
}

.panel-image img {
    width: 100%;
    height: 100%;
    max-height: 400px; /* Set a max-height */
    object-fit: cover;
    display: block;
}

.panel-text {
    padding: 3rem;
}

.panel-text h4 {
    color: var(--color-gray);
    margin-bottom: 1rem;
    font-weight: bold;
}

.panel-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tab-content-panel {
        grid-template-columns: 1fr; /* Stack image on top of text */
    }
    .panel-image img {
        max-height: 250px;
    }
    .panel-text {
        padding: 2rem;
    }
    .tab-button {
        font-size: 0.9rem;
    }
}
/* --- Section 3 & 4: Style Deep Dive --- */
/* === REDESIGNED STYLE DEEP DIVE SECTIONS === */

.style-deep-dive-redesigned {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    color: var(--color-light);
}

/* Full-bleed background image container */
.deep-dive-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}
.deep-dive-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dark overlay to ensure text readability */
.style-deep-dive-redesigned::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(56, 61, 59, 0.6); /* --color-dark at 60% opacity */
    z-index: -1;
}

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

/* The Glassmorphism Card */
.deep-dive-glass-card {
    background: rgba(238, 229, 233, 0.1); /* --color-light at 10% opacity */
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(238, 229, 233, 0.2);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.deep-dive-glass-card .section-title {
    text-align: left;
    color: var(--color-light); /* Override default dark color */
}
.deep-dive-glass-card p {
    color: #ddd; /* A slightly dimmer white for better hierarchy */
    line-height: 1.7;
}
.deep-dive-glass-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 2rem;
}
.deep-dive-glass-card li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
}
.deep-dive-glass-card li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--color-light);
}

/* The interactive image stack */
.deep-dive-visuals {
    position: relative;
    height: 450px;
    perspective: 1500px; /* Enable 3D transformations */
}

.visual-stack__item {
    position: absolute;
    background-color: #fff;
    padding: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.visual-stack__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* Positioning for each item in the stack */
.visual-stack__item.item--1 {
    width: 70%;
    height: 90%;
    top: 0;
    left: 0;
    transform: rotateY(-15deg) rotateX(5deg);
}
.visual-stack__item.item--2 {
    width: 50%;
    height: auto;
    bottom: 0;
    right: 0;
    transform: rotateY(15deg) rotateX(-5deg) translateZ(40px);
}
.visual-stack__item.item--3 { /* Only used in the Culture section */
    width: 45%;
    height: auto;
    top: 20%;
    right: 5%;
    transform: rotateY(20deg) rotateX(10deg) translateZ(80px);
}

/* Hover effect for the stack */
.deep-dive-visuals:hover .visual-stack__item {
    transform: rotate(0) scale(1.05);
}
.deep-dive-visuals:hover .visual-stack__item.item--1 { z-index: 1; }
.deep-dive-visuals:hover .visual-stack__item.item--2 { z-index: 2; transform: rotate(0) scale(1.05) translate(20px, 20px); }
.deep-dive-visuals:hover .visual-stack__item.item--3 { z-index: 3; transform: rotate(0) scale(1.05) translate(-20px, -20px); }

/* Responsive adjustments */
@media (max-width: 992px) {
    .deep-dive-layout {
        grid-template-columns: 1fr; /* Stack on tablet */
        gap: 3rem;
    }
    .deep-dive-visuals {
        order: -1; /* Move visuals to the top */
        height: 400px;
    }
    .deep-dive-glass-card .section-title {
        text-align: center;
    }
}

/* --- Section 5: Blended Journeys --- */
.blended-journeys { background-color: var(--color-dark); color: var(--color-light); }
.blended-journeys .section-title, .blended-journeys .section-subtitle { color: var(--color-light); }
.blended-journeys .section-subtitle { color: var(--color-gray); }
.blended-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.blended-card {
    border: 1px solid var(--color-gray);
    padding: 2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
.blended-card:hover { background-color: rgba(238, 229, 233, 0.1); border-color: var(--color-light); }
.blended-card h3 { font-family: var(--font-secondary); margin-bottom: 1rem; }
.blended-card p { color: var(--color-gray); }

/* --- Section 6: Family Traveler --- */
.family-traveler { background-color: #E5DCE0; }
.family-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.family-image img { border-radius: 8px; height: 400px; object-fit: cover; width: 100%;}
.family-content .section-title { text-align: left; }

/* --- Section 7: Style CTA --- */
.style-cta { text-align: center; }
.style-cta__container { max-width: 700px; }


/* --- RESPONSIVE FOR TRAVEL STYLES PAGE --- */
@media (max-width: 992px) {
    .hero-styles__container { grid-template-columns: 1fr; }
    .hero-styles .hero__title, .hero-styles .hero__subtitle { text-align: center; }
    .hero-styles__image { order: -1; margin-bottom: 2rem; }

    .archetype-card, .archetype-card:nth-child(even) { grid-template-columns: 1fr; }
    .archetype-card:nth-child(even) .archetype-card__image { order: 1; }
    .archetype-card__image img { max-height: 300px; }
    .archetype-card__content { padding: 2rem; }

    .deep-dive-grid { grid-template-columns: 1fr; }
    .deep-dive__content .section-title { text-align: center; }
    .deep-dive__image { order: -1; }
    
    .deep-dive-gallery-grid { grid-template-columns: 1fr 1fr; }
    .deep-dive-gallery__content { grid-column: 1 / -1; }
    .deep-dive-gallery__image-2 { grid-column: 1 / 2; }
    .deep-dive-gallery__image-3 { grid-column: 2 / 3; }
    
    .blended-grid { grid-template-columns: 1fr; }
    .family-grid { grid-template-columns: 1fr; }
    .family-content .section-title { text-align: center; }
    .family-image { order: -1; }
}

/* === FOOTER === */
.footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 4rem 0 2rem 0;
}

.footer__logo {
    font-family: var(--font-secondary);
    font-size: 1.5rem; /* Matches h3 font-size */
    font-weight: bold;
    color: #fff !important;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-gray);
    padding-bottom: 3rem;
}

.footer h3, .footer h4 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}
.footer p, .footer a {
    color: var(--color-gray);
    text-decoration: none;
}
.footer a:hover { color: var(--color-light); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.5rem; }

.footer__bottom {
    text-align: center;
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    .section-title { font-size: 2rem; }
    
    .destinations-grid, .styles-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
    .destinations-grid .destination-card:last-child { grid-column: 1 / -1; } /* Center last card */

    .difference__grid { grid-template-columns: 1fr; }
    .difference__image-showcase { height: 400px; margin-bottom: 2rem; }

    .process-steps { flex-direction: column; }
    .process-steps::before { display: none; }

    .cta__container { flex-direction: column; text-align: center; }

    /* (Continuing from previous CSS file...) */

    .cta__container { 
        flex-direction: column; 
        text-align: center; 
        gap: 2rem;
    }
    .cta .section-title { text-align: center; }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }

    /* === HEADER MOBILE NAV === */
    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-light);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
    }

    .header__nav.open {
        transform: translateX(0);
    }
    
    .header__nav-list {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    
    .header__nav-list a {
        font-size: 1.5rem;
    }

    .header__menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        z-index: 1001; /* Above the nav menu */
    }

    .header__menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: var(--color-dark);
        border-radius: 3px;
        transition: all 0.3s ease-in-out;
    }
    
    /* Animated burger icon */
    .header__menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    .header__menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .header__menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* === GENERAL SECTION STYLING FOR MOBILE === */
    section { padding: 4rem 0; }

    .hero__title { font-size: 3rem; }
    .hero__subtitle { font-size: 1.1rem; }

    .destinations-grid,
    .styles-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .destinations-grid .destination-card:last-child {
        grid-column: auto; /* Reset column span for mobile */
    }

    .difference__image-showcase { height: 350px; }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* === LEGAL PAGE STYLES (Privacy Policy, etc.) === */

.legal-hero {
    padding: 4rem 0;
    background-color: #E5DCE0; /* Light accent color */
    text-align: center;
}

.legal-page-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--color-dark);
}

.legal-page-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-top: 0.5rem;
}

.legal-content {
    padding: 4rem 0;
}

.legal-content-container {
    max-width: 800px; /* Optimal width for readability */
    margin: 0 auto;
}

.legal-content .last-updated {
    font-style: italic;
    color: var(--color-gray);
    margin-bottom: 3rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1.5rem;
}

.legal-content article {
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.legal-content p {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

.legal-content li {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.legal-content a.btn {
    margin-top: 1rem;
}

/* === THANK YOU PAGE STYLES === */

.utility-page-body {
    background-color: #E5DCE0; /* Light accent color background */
}

.thank-you-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.thank-you-box {
    background: var(--color-light);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 550px;
    width: 100%;
}

.thank-you-box h1 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    color: var(--color-dark);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.thank-you-box p {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.thank-you-box .btn {
    width: 100%;
    max-width: 300px;
}


/* SVG Checkmark Animation */
.checkmark-container {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.checkmark-svg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: var(--color-dark);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--color-dark);
    animation: fill-in 0.4s ease-in-out 0.4s forwards, scale-up 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: var(--color-dark);
    fill: none;
    animation: draw-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: draw-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes draw-stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale-up {
    0% {
        transform: none;
    }
    10% {
        transform: scale3d(1.1, 1.1, 1);
    }
    30% {
        transform: scale3d(0.9, 0.9, 1);
    }
    100% {
        transform: scale3d(1, 1, 1);
    }
}

@keyframes fill-in {
    100% {
        box-shadow: inset 0px 0px 0px 50px var(--color-dark);
    }
}

/* On mobile, use slightly less padding */
@media (max-width: 768px) {
    .thank-you-box {
        padding: 2rem;
    }
    .thank-you-box h1 {
        font-size: 1.8rem;
    }
}