/* ================================================================
   Landing Page Styles — "Local Revolutionized"
   ================================================================ */

/* Page shell (for empty placeholder pages) */
.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0f1a14;
    color: rgba(255,255,255,0.7);
    padding: 80px 24px 48px;
    text-align: center;
}
.page-shell h1 {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-accent, #e8a838);
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}
.page-shell p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.5);
}

/* Active nav indicator (for pages using top-bar) */
.nav-active {
    background: rgba(255,255,255,0.15);
    color: #fff !important;
}

html:has(.landing-body),
.landing-body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    -webkit-overflow-scrolling: touch;
}

/* ---------- Hero — Full viewport splash ---------- */
#landing-hero {
    position: relative;
    height: 100svh;           /* uses small viewport on mobile */
    height: 100vh;            /* fallback for older browsers */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Image collage — 3 panels side by side */
.hero-images {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.hero-img {
    overflow: hidden;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7) saturate(0.9);
    transition: transform 8s ease;
}

/* Subtle Ken Burns drift on each panel */
.hero-img-1 img { transform: scale(1.05); }
.hero-img-2 img { transform: scale(1.08); transform-origin: center top; }
.hero-img-3 img { transform: scale(1.05); transform-origin: right center; }

#landing-hero:hover .hero-img-1 img { transform: scale(1.12); }
#landing-hero:hover .hero-img-2 img { transform: scale(1.15); }
#landing-hero:hover .hero-img-3 img { transform: scale(1.12); }

/* Dark overlay for text readability */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.55) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

/* ---------- Hero Content ---------- */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 24px;
}

.hero-headline {
    margin-bottom: 20px;
    animation: headlineFadeIn 1.2s ease-out;
}

.headline-top {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: clamp(4.5rem, 14vw, 10rem);
    line-height: 0.92;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    text-shadow:
        0 4px 30px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(232, 168, 56, 0.15);
    display: block;
}

.headline-script {
    font-family: 'Birthstone', cursive;
    font-style: normal;
    font-size: clamp(3.8rem, 12vw, 8.5rem);
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--color-accent);
    display: block;
    text-shadow:
        0 4px 30px rgba(0, 0, 0, 0.5),
        0 2px 40px rgba(232, 168, 56, 0.25);
}

@keyframes headlineFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-tagline {
    font-family: var(--font-family);
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    opacity: 0;
    animation: taglineFadeIn 1s ease-out 0.5s forwards;
}

@keyframes taglineFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Scroll hint arrow */
.scroll-arrow {
    display: inline-block;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.85);
    font-size: 2rem;
    text-decoration: none;
    animation: bounce 2s infinite;
    transition: color 0.2s, opacity 0.4s;
}

.scroll-arrow:hover {
    color: #fff;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

.scroll-arrow-up {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    display: block;
    margin: 0 auto 12px;
    animation: bounceUp 2s infinite;
}

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

/* ---------- Action Section (cards) ---------- */
#action-section {
    background: #0f1a14;
    padding: 60px 24px 48px;
    text-align: center;
}

.action-intro {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    font-weight: 700;
}

.accent-script {
    font-family: 'Birthstone', cursive;
    font-size: 1.8rem;
    color: var(--color-accent);
}

.action-detail {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 10px;
}

.action-detail:last-of-type {
    margin-bottom: 36px;
}

.path-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
}

.path-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 36px 28px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.path-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.path-card-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    line-height: 1;
}

.path-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.path-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.path-card-cta {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 8px;
    transition: background 0.2s, transform 0.15s;
}

.path-card-browse .path-card-cta {
    background: var(--color-primary);
    color: #fff;
}

.path-card-browse:hover .path-card-cta {
    background: var(--color-primary-light);
    transform: scale(1.03);
}

.path-card-request .path-card-cta {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.path-card-request:hover .path-card-cta {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.03);
}

/* ---------- Stats Strip ---------- */
#landing-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 32px 24px;
    background: #0a1210;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ---------- Footer ---------- */
#site-footer {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    background: #0a1210;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero-images {
        grid-template-columns: 1fr;
    }
    .hero-img-1, .hero-img-2 { display: none; }
    .hero-img-3 { display: block; }

    #landing-hero {
        height: 100svh;
        height: 100vh;
        min-height: 400px;
    }

    .scroll-arrow {
        bottom: 16px;
        font-size: 2.2rem;
        color: #fff;
    }

    .headline-top {
        font-size: clamp(3.5rem, 16vw, 6rem);
    }
    .headline-script {
        font-size: clamp(3rem, 14vw, 5rem);
    }
}

@media (max-width: 640px) {
    .path-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .path-card {
        padding: 28px 20px;
    }

    .path-card-icon {
        font-size: 2.4rem;
    }

    #landing-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    #action-section {
        padding: 40px 16px 32px;
    }
}
