/* ========================================
   5 Day Kitchen - Main Stylesheet
   ======================================== */

/* CSS Variables / Design Tokens */
:root {
    /* Colors - Primary */
    --color-evergreen: #2D5A45;
    --color-evergreen-dark: #1e3d2f;
    --color-evergreen-light: #3a7359;

    /* Colors - Secondary */
    --color-slate: #3D4852;
    --color-slate-light: #5a6570;

    /* Colors - Accent */
    --color-copper: #B87333;
    --color-copper-light: #d4915a;

    /* Colors - Neutrals */
    --color-cloud: #F5F7FA;
    --color-cloud-dark: #e8ebef;
    --color-charcoal: #1A1F26;
    --color-white: #FFFFFF;

    /* Colors - Semantic */
    --color-success: #4CAF50;
    --color-warning: #FFC107;
    --color-error: #E53935;
    --color-mountain: #5B8FA8;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Container */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-charcoal);
    background-color: var(--color-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-charcoal);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-xl);
}

@media (max-width: 768px) {
    h1 {
        font-size: var(--text-4xl);
    }

    h2 {
        font-size: var(--text-3xl);
    }

    h3 {
        font-size: var(--text-xl);
    }
}

a {
    color: var(--color-evergreen);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-evergreen-dark);
}

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

ul {
    list-style: none;
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-muted {
    color: var(--color-slate-light);
}

.highlight {
    color: var(--color-evergreen);
}

.lead {
    font-size: var(--text-lg);
    line-height: 1.7;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background-color: var(--color-evergreen);
    color: var(--color-white);
    border-color: var(--color-evergreen);
}

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

.btn-secondary {
    background-color: var(--color-copper);
    color: var(--color-white);
    border-color: var(--color-copper);
}

.btn-secondary:hover {
    background-color: var(--color-copper-light);
    border-color: var(--color-copper-light);
    color: var(--color-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-evergreen);
    border-color: var(--color-evergreen);
}

.btn-outline:hover {
    background-color: var(--color-evergreen);
    color: var(--color-white);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-evergreen);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-base);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-evergreen);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    border-radius: var(--radius-md);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    color: var(--color-charcoal);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-slate);
    transition: color var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-evergreen);
}

.nav-menu a.btn {
    margin-left: var(--space-4);
    color: var(--color-white);
}

.nav-menu a.btn:hover {
    color: var(--color-white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-charcoal);
    transition: all var(--transition-fast);
}

@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        flex-direction: column;
        padding: var(--space-8);
        gap: var(--space-6);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        border-bottom: 1px solid var(--color-cloud-dark);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu .btn {
        margin-left: 0;
        width: 100%;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-cloud) 0%, var(--color-cloud-dark) 100%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 90, 69, 0.4);
    /* Dark evergreen overlay */
    z-index: 1;
}

.hero-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-16) 0;
    position: relative;
    z-index: 2;
    /* Keep above the video overlay */
    color: var(--color-white);
    /* Ensure text is readable */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background-color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-evergreen);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-md);
}

.hero-badge svg {
    color: var(--color-copper);
}

.hero h1 {
    margin-bottom: var(--space-6);
    color: var(--color-white);
}

.hero-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-10);
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-12);
}

.hero-trust {
    display: flex;
    gap: var(--space-8);
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-slate);
}

.trust-item svg {
    color: var(--color-success);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-slate-light);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-slate-light);
    border-radius: var(--radius-full);
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--color-slate-light);
    border-radius: var(--radius-full);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.5;
        transform: translateX(-50%) translateY(10px);
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: var(--space-12) 0;
    }

    .hero-badge {
        font-size: var(--text-xs);
    }

    .hero-subtitle {
        font-size: var(--text-lg);
    }

    .hero-trust {
        flex-direction: column;
        gap: var(--space-4);
    }

    .hero-scroll {
        display: none;
    }
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: var(--space-24) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-copper);
    margin-bottom: var(--space-4);
}

.section-header h2 {
    margin-bottom: var(--space-4);
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--color-slate);
}

/* ========================================
   Video Hook Section
   ======================================== */
.video-container:hover img {
    opacity: 0.8 !important;
}

.video-container:hover .play-btn {
    transform: scale(1.1);
    background: var(--color-copper-light) !important;
    box-shadow: 0 0 0 15px rgba(212, 145, 90, 0.4) !important;
}

/* ========================================
   Problem/Solution Section
   ======================================== */
.problem-solution {
    background-color: var(--color-cloud);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.comparison-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
}

.comparison-card.problem {
    border-top: 4px solid var(--color-slate-light);
}

.comparison-card.solution {
    border-top: 4px solid var(--color-evergreen);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
}

.problem .card-icon {
    background-color: #fee2e2;
    color: var(--color-error);
}

.solution .card-icon {
    background-color: #dcfce7;
    color: var(--color-success);
}

.comparison-list li {
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--color-cloud);
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list strong {
    display: block;
    font-size: var(--text-lg);
    margin-bottom: var(--space-1);
}

.comparison-list span {
    font-size: var(--text-sm);
    color: var(--color-slate-light);
}

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

/* ========================================
   Process Preview Section
   ======================================== */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: var(--space-8);
    padding-bottom: var(--space-10);
    position: relative;
}

.process-step:last-child {
    padding-bottom: 0;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 60px;
    bottom: 0;
    width: 2px;
    background-color: var(--color-cloud-dark);
}

.process-step:last-child::before {
    display: none;
}

.step-number {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-cloud);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-slate);
    position: relative;
    z-index: 1;
}

.step-number.highlight {
    background-color: var(--color-evergreen);
    color: var(--color-white);
}

.step-content h3 {
    margin-bottom: var(--space-2);
}

.step-timing {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-copper);
    margin-bottom: var(--space-3);
}

.step-content p:last-child {
    color: var(--color-slate);
}

.process-cta {
    text-align: center;
    margin-top: var(--space-12);
}

@media (max-width: 768px) {
    .process-step {
        gap: var(--space-4);
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: var(--text-lg);
    }

    .process-step::before {
        left: 19px;
        top: 50px;
    }
}

/* ========================================
   Gallery Preview Section
   ======================================== */
.gallery-preview {
    background-color: var(--color-cloud);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: var(--space-4);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
    overflow: hidden;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--color-slate-light);
    gap: var(--space-2);
}

.gallery-placeholder span {
    font-size: var(--text-sm);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-4);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--color-white);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-location {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.gallery-style {
    font-size: var(--text-sm);
    opacity: 0.8;
}

.gallery-cta {
    text-align: center;
    margin-top: var(--space-10);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 180px);
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* ========================================
   Why Local Section
   ======================================== */
.local-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.local-text h2 {
    margin-bottom: var(--space-6);
}

.local-text .lead {
    margin-bottom: var(--space-8);
    color: var(--color-slate);
}

.local-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.local-benefits li {
    display: flex;
    gap: var(--space-4);
}

.local-benefits svg {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

.local-benefits strong {
    display: block;
    margin-bottom: var(--space-1);
}

.local-benefits span {
    font-size: var(--text-sm);
    color: var(--color-slate-light);
}

.map-container {
    background-color: var(--color-cloud);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    text-align: center;
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--color-evergreen);
    margin-bottom: var(--space-6);
}

.service-areas h4 {
    margin-bottom: var(--space-4);
    font-size: var(--text-lg);
}

.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
}

.area-tags span {
    padding: var(--space-2) var(--space-4);
    background-color: var(--color-white);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-slate);
}

@media (max-width: 968px) {
    .local-content {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

.testimonials .section-label {
    color: var(--color-copper-light);
}

.testimonials .section-header h2 {
    color: var(--color-white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-rating {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-4);
    color: var(--color-copper);
}

.testimonial-card blockquote {
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-6);
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--color-evergreen);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
}

.author-info strong {
    display: block;
    margin-bottom: var(--space-1);
}

.author-info span {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

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

/* ========================================
   Multi-Step Form
   ======================================== */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-8);
    position: relative;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background-color: var(--color-cloud-dark);
    color: var(--color-slate);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--text-sm);
    z-index: 2;
    transition: all var(--transition-base);
}

.step-dot.active {
    background-color: var(--color-evergreen);
    color: var(--color-white);
}

.step-dot.completed {
    background-color: var(--color-evergreen-light);
    color: var(--color-white);
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--color-cloud-dark);
    margin: 0 var(--space-2);
    z-index: 1;
    transition: all var(--transition-base);
}

.step-line.active {
    background-color: var(--color-evergreen-light);
}

.form-step {
    animation: fadeIn var(--transition-base);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-evergreen) 0%, var(--color-evergreen-dark) 100%);
    color: var(--color-white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: var(--space-4);
}

.cta-content>p {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-8);
}

.cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-6);
}

.cta-buttons .btn-primary {
    background-color: var(--color-copper);
    border-color: var(--color-copper);
}

.cta-buttons .btn-primary:hover {
    background-color: var(--color-copper-light);
    border-color: var(--color-copper-light);
}

.cta-note {
    font-size: var(--text-sm);
    opacity: 0.8;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand .logo {
    margin-bottom: var(--space-4);
}

.footer-brand .logo-mark {
    background-color: var(--color-evergreen);
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-4);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--color-evergreen);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    font-size: var(--text-base);
    margin-bottom: var(--space-6);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--color-copper);
}

.footer-bottom {
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 968px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .footer-brand {
        grid-column: span 2;
    }
}

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

    .footer-brand {
        grid-column: span 1;
    }

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

/* ========================================
   Page-Specific Styles
   ======================================== */

/* How It Works Page */
.page-hero {
    padding: calc(80px + var(--space-16)) 0 var(--space-16);
    background-color: var(--color-cloud);
    text-align: center;
}

.page-hero h1 {
    margin-bottom: var(--space-4);
}

.page-hero p {
    font-size: var(--text-lg);
    color: var(--color-slate);
    max-width: 600px;
    margin: 0 auto;
}

/* Process Detail Cards */
.process-detail {
    padding: var(--space-24) 0;
}

.process-detail:nth-child(even) {
    background-color: var(--color-cloud);
}

.process-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.process-detail:nth-child(even) .process-detail-content {
    direction: rtl;
}

.process-detail:nth-child(even) .process-detail-content>* {
    direction: ltr;
}

.process-detail-text .step-label {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background-color: var(--color-evergreen);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.process-detail-text h2 {
    margin-bottom: var(--space-4);
}

.process-detail-text .lead {
    margin-bottom: var(--space-6);
    color: var(--color-slate);
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.detail-list li {
    display: flex;
    gap: var(--space-3);
}

.detail-list svg {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

.process-image {
    background-color: var(--color-cloud-dark);
    border-radius: var(--radius-xl);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-slate-light);
    overflow: hidden;
}

/* Packages Page */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.package-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
    transition: all var(--transition-base);
    position: relative;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.package-card.featured {
    border-color: var(--color-evergreen);
}

.package-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-evergreen);
    color: var(--color-white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
}

.package-header {
    text-align: center;
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--color-cloud);
    margin-bottom: var(--space-6);
}

.package-name {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.package-price {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-evergreen);
}

.package-price span {
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--color-slate-light);
}

.package-features {
    margin-bottom: var(--space-8);
}

.package-features li {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3) 0;
}

.package-features svg {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

.package-card .btn {
    width: 100%;
}

/* Gallery Page */
.gallery-filters {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-10);
}

.filter-btn {
    padding: var(--space-2) var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-slate);
    background: none;
    border: 2px solid var(--color-cloud-dark);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--color-evergreen);
    border-color: var(--color-evergreen);
}

.full-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.full-gallery .gallery-item {
    aspect-ratio: 4/3;
}

/* About Page */
.about-hero {
    padding: calc(80px + var(--space-16)) 0 var(--space-16);
    background-color: var(--color-cloud);
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.about-image {
    background-color: var(--color-cloud-dark);
    border-radius: var(--radius-xl);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-slate-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.value-card {
    text-align: center;
    padding: var(--space-8);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: var(--color-cloud);
    border-radius: var(--radius-lg);
    color: var(--color-evergreen);
    margin-bottom: var(--space-4);
}

.value-card h3 {
    margin-bottom: var(--space-3);
}

.value-card p {
    color: var(--color-slate);
}

/* Contact Page */
.contact-section {
    padding: calc(80px + var(--space-16)) 0 var(--space-16);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
}

.contact-info h1 {
    margin-bottom: var(--space-6);
}

.contact-info>p {
    font-size: var(--text-lg);
    color: var(--color-slate);
    margin-bottom: var(--space-8);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.contact-method {
    display: flex;
    gap: var(--space-4);
}

.contact-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-cloud);
    border-radius: var(--radius-md);
    color: var(--color-evergreen);
    flex-shrink: 0;
}

.contact-method-text strong {
    display: block;
    margin-bottom: var(--space-1);
}

.contact-method-text a {
    font-size: var(--text-lg);
}

.contact-form-wrapper {
    background-color: var(--color-cloud);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
}

.contact-form h2 {
    margin-bottom: var(--space-6);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-4);
    border: 2px solid var(--color-cloud-dark);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-evergreen);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
}

.contact-form .btn {
    width: 100%;
}

/* Responsive adjustments for page-specific styles */
@media (max-width: 968px) {

    .process-detail-content,
    .about-hero-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .process-detail:nth-child(even) .process-detail-content {
        direction: ltr;
    }

    .packages-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .full-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .full-gallery {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Lightbox Styles
   ======================================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: var(--space-4);
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 100%;
    max-height: 90vh;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    transition: transform var(--transition-fast);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: var(--color-copper);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: -40px;
        right: 0;
        font-size: 2rem;
    }
}