﻿
:root {
    /* Palette */
    --color-deep-slate-olive: #605d3a; /* olive */
    --color-light-brown-drab: #e3b49a; /* peach */
    --color-nile-blue: #88aca9; /* light blue */
    --color-raw-sienna: #ae6b2c; /* copper */
    /* Backgrounds — dark olive-green theme */
    --color-bg: #1a1912; /* very dark olive-green */
    --color-surface: #252318; /* slightly lighter dark olive */
    --color-surface-soft: #2f2d1f; /* lighter dark olive */
    /* Text — cream/beige on dark = high contrast */
    --color-text: #eee2c8; /* cream — the beige font */
    --color-text-muted: #c4b89e; /* muted cream */
    --color-text-on-dark: #e3b49a; /* peach — rosey highlight */
    /* Accents */
    --color-accent: #e3b49a; /* peach — buttons, highlights */
    --color-accent-soft: #c4a080; /* muted peach */
    --color-accent-cool: #88aca9; /* light blue — links on dark bg */
    /* Borders */
    --color-border-subtle: rgba(238, 226, 200, 0.12);
    /* Fonts */
    --font-heading: 'Great Vibes', cursive;
    --font-body: 'Cormorant Garamond', Georgia, serif;
}

/* =========================================
   Layout: Sticky Footer
   ========================================= */

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 500;
    overflow-x: clip;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* =========================================
   Home Page: Glass Background Layout
   ========================================= */

.home-page-layout {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem;
    min-height: 100vh;
    gap: 0;
}

.home-hero-overlay {
    background: linear-gradient(
        rgba(48, 46, 29, 0.2),
        rgba(48, 46, 29, 0.5)
    );
}

.home-hero-text {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-text-on-dark);
    margin-bottom: 2rem;
}

.home-hero-heading {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.4);
}

.home-hero-subheading {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-light-brown-drab);
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.4);
}

/* =========================================
   Home Info Card
   ========================================= */

.home-info-card {
    width: auto;
    min-width: 280px;
    max-width: 420px;
    max-height: none;
    overflow-y: visible;
    text-align: center;
    padding: 1.75rem 2rem;
}

.home-based-in {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

/* =========================================
   Upcoming Travel
   ========================================= */

.home-travel {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--color-border-subtle);
}

.home-travel-title {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin: 0 0 0.75rem;
}

.home-travel-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}

.home-travel-item:last-child {
    margin-bottom: 0;
}

.home-travel-location {
    font-size: 1.05rem;
    color: var(--color-text);
    font-weight: 500;
}

.home-travel-dates {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* =========================================
   INTRO SECTION (hidden by default, toggle-able)
   ========================================= */

.home-intro {
    margin: 2rem 0 3rem;
}

.home-intro-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.home-intro-heading {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    background: var(--color-surface);
    border-radius: 1.25rem;
    padding: 1.75rem;
    border: 1px solid var(--color-border-subtle);
}

.home-intro-body {
    line-height: 1.7;
    color: var(--color-text);
}

.home-intro-cta {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--color-accent);
    color: #1a1912;
    text-decoration: none;
    font-weight: 600;
}

    .home-intro-cta:hover {
        opacity: 0.95;
    }

.home-intro-photoWrap {
    border-radius: 1.25rem;
    overflow: hidden;
    background: var(--color-surface-soft);
    align-self: start;
}

.home-intro-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

/* =========================================
   Responsive
   ========================================= */

/* =========================================
   Home: Mobile Layout (full-bleed scroll-reveal)
   ========================================= */

@media (max-width: 768px) {
    /* Override glass-page flex — home becomes a block stacking image then content */
    .glass-page.home-page-layout {
        display: block;
        position: relative;
        min-height: auto;
        padding: 0;
    }

    /* Background becomes a static 100vh hero block instead of fixed parallax */
    .home-page-layout .glass-bg {
        position: relative;
        inset: unset;
        height: 100vh;
        height: 100svh;
        will-change: auto;
        z-index: 0;
    }

    .home-page-layout .glass-bg-image {
        height: 100%;
    }

    .home-page-layout .glass-bg-overlay {
        height: 100%;
    }

    /* Hero text: absolutely centered over the full-bleed image */
    .home-hero-text {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        height: 100svh;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 1.5rem;
        text-align: center;
    }

    .home-hero-heading {
        font-size: 3.5rem;
    }

    .home-hero-subheading {
        font-size: 1.75rem;
    }

    /* Animated scroll hint at bottom of hero */
    .home-hero-text::after {
        content: '↓';
        position: absolute;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        color: rgba(238, 226, 200, 0.55);
        font-size: 1.4rem;
        animation: home-scroll-hint 2s ease-in-out infinite;
    }

    @keyframes home-scroll-hint {
        0%, 100% { opacity: 0.55; transform: translateX(-50%) translateY(0); }
        50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
    }

    /* Card: full width below the image, comfortable margins */
    .home-page-layout .glass-card {
        width: calc(100% - 3rem);
        max-width: none;
        min-width: unset;
        max-height: none;
        margin: 2.5rem auto;
    }

    /* CTAs: spaced below the card */
    .home-page-layout .cta-buttons {
        padding: 0 1rem 3rem;
        margin-top: 0;
    }
}
