/* ==========================================================================
   DESIGN TOKENS & SYSTEM
   Aesthetic: Minimalist Luxury, Editorial
   Inspired by Squarespace High-End Templates
   ========================================================================== */

   :root {
    /* Colors */
    --color-bg-primary: #FAFAFA;
    --color-bg-secondary: #FFFFFF;
    --color-bg-dark: #121212;
    --color-text-primary: #1A1A1A;
    --color-text-secondary: #5A5A5A;
    --color-text-light: #F7F7F7;
    --color-accent: #A89078; /* Subtle warm stone/gold */
    --color-border: rgba(26, 26, 26, 0.1);

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    --space-xxl: 12rem;

    /* Animations */
    --transition-slow: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    max-width: 100%;
    display: block;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: var(--space-sm);
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    max-width: 65ch;
}

.text-large {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    line-height: 1.6;
    color: var(--color-text-primary);
}

.subtitle {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
    display: block;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.container-narrow {
    max-width: 800px;
}

.section {
    padding: var(--space-xl) 0;
}

.section-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.section-dark p {
    color: rgba(247, 247, 247, 0.7);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.grid-2-asym {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: center;
}

/* ==========================================================================
   SPECIFIC SECTIONS
   ========================================================================== */

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: var(--color-text-light);
}

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

.hero-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.55);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    padding: var(--space-md);
}

.hero p {
    color: var(--color-text-light);
    margin: var(--space-md) auto 0;
    opacity: 0.9;
}

/* Blockquote Section */
.quote-section {
    text-align: center;
    padding: var(--space-xxl) 0;
}

.quote-section blockquote {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.3;
    color: var(--color-text-primary);
    max-width: 900px;
    margin: 0 auto;
    font-style: italic;
}

/* Itinerary / Plan of the Day */
.itinerary-list {
    list-style: none;
    border-top: 1px solid var(--color-border);
}

.itinerary-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.itinerary-time {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-text-primary);
}

.itinerary-details h4 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.itinerary-details p {
    margin-bottom: 0.5rem;
}

/* Images */
.image-wrapper {
    overflow: hidden;
    position: relative;
    border-radius: 4px; /* Slight rounding, mostly sharp for editorial feel */
}

.image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.image-wrapper:hover img {
    transform: scale(1.03);
}

/* Cards / Content Blocks */
.content-card {
    background: var(--color-bg-secondary);
    padding: var(--space-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}

/* ==========================================================================
   ANIMATIONS & INTERACTIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveals for lists */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-stagger.active > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.active > *:nth-child(5) { transition-delay: 0.5s; }

/* Parallax Image Effect container */
.parallax-container {
    height: 60vh;
    overflow: hidden;
    position: relative;
}

.parallax-img {
    width: 100%;
    height: 120%; /* Taller than container for parallax */
    object-fit: cover;
    position: absolute;
    top: -10%;
    left: 0;
    will-change: transform;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-text-primary);
    color: var(--color-bg-primary);
    text-decoration: none;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    border: 1px solid var(--color-text-primary);
    transition: var(--transition-fast);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
    .grid-2, .grid-2-asym {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .grid-2-asym .image-wrapper {
        order: -1; /* Images on top on mobile */
    }
    
    :root {
        --space-xl: 5rem;
        --space-xxl: 6rem;
    }
}

@media (max-width: 768px) {
    .itinerary-item {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }
    
    .itinerary-time {
        font-size: 1rem;
        color: var(--color-accent);
    }
    
    .quote-section blockquote {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
}
