/* =================================================================
   DISH CATERING — Multi-Page Stylesheet (styles.css)
   
   This is the "bolder contrast" version of the PNW palette.
   Same color family as the single-page site, but with deeper
   sage, richer terracotta, and sharper contrast between sections.
   
   KEY DIFFERENCE from styles.css:
   The original used soft, muted tones. This version pushes the
   sage darker, the terracotta warmer, and uses more white space
   with stronger typographic hierarchy.
   ================================================================= */

/* ----- CSS CUSTOM PROPERTIES (Variables) -----
   These are defined once and reused everywhere. If Craig wants
   to tweak a color, you change it in ONE place and it updates
   across every page. This is why variables matter. */
:root {
    /* Core palette — bolder take on PNW */
    --sage:            #6B7F64;
    --sage-light:      #E8EDE6;
    --sage-dark:       #4A5C44;
    --terracotta:      #C26842;
    --terracotta-light:#F5E6DF;
    --cream:           #FAF8F5;
    --cream-dark:      #EDE8E1;
    --charcoal:        #2B2B2B;
    --slate:           #5A5A5A;
    --white:           #FFFFFF;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;

    /* Spacing scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
}


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

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--terracotta);
    text-decoration: none;
    transition: color 0.3s ease;
}

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


/* =================================================================
   LAYOUT CONTAINERS
   ================================================================= */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.page-section.alt-bg {
    background: var(--cream);
}


/* =================================================================
   TYPOGRAPHY
   ================================================================= */
.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--slate);
    max-width: 650px;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--white);
    text-align: center;
}


/* =================================================================
   HEADER — Centered logo + tagline, nav bar below
   Inspired by Green Apple's layout but with Dish's brand feel.
   
   Structure:
   ┌──────────────────────────────────────────┐
   │            DISH CATERING                 │  ← logo area
   │   Where every gathering becomes...       │  ← tagline
   ├──────────────────────────────────────────┤
   │  Home  About  Services  Menus  Gallery...│  ← nav links
   └──────────────────────────────────────────┘
   ================================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--cream-dark);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-brand {
    text-align: center;
    padding: 1.25rem 2rem 0.5rem;
}

.header-brand .logo-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal);
    letter-spacing: 0.05em;
    line-height: 1;
}

.header-brand .logo-name a {
    color: var(--charcoal);
    text-decoration: none;
}

.header-brand .logo-name a:hover {
    color: var(--sage-dark);
}

.header-brand .tagline {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate);
    margin-top: 0.25rem;
}

/* Navigation bar */
.header-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.6rem 2rem;
    border-top: 1px solid var(--cream-dark);
    background: var(--cream);
}

.header-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.header-nav a {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--charcoal);
    padding: 0.25rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width 0.3s ease;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--terracotta);
}

.header-nav a:hover::after,
.header-nav a.active::after {
    width: 100%;
}

/* CTA button in nav */
.header-nav .nav-cta {
    background: var(--terracotta);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.header-nav .nav-cta::after {
    display: none;
}

.header-nav .nav-cta:hover {
    background: var(--sage-dark);
    color: var(--white);
}

/* Mobile hamburger */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 1.5rem;
    top: 1.25rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    margin: 5px 0;
    transition: all 0.3s ease;
}


/* =================================================================
   HERO BANNER — used on interior pages
   A shorter hero with a background image and page title overlay.
   ================================================================= */
.page-hero {
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(43, 43, 43, 0.5),
        rgba(43, 43, 43, 0.7)
    );
}

.page-hero-title {
    position: relative;
    z-index: 1;
}

/* Full-height hero for homepage */
.home-hero {
    height: 50vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 92, 68, 0.7),
        rgba(43, 43, 43, 0.6)
    );
}

.home-hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 700px;
    padding: 0 2rem;
}

.home-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.home-hero-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-block;
    background: var(--terracotta);
    color: var(--white);
    padding: 0.9rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 3px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.hero-cta:hover {
    background: var(--sage-dark);
    color: var(--white);
    transform: translateY(-2px);
}


/* =================================================================
   HOMEPAGE PREVIEW SECTIONS
   Short previews of each page with a "learn more" link.
   ================================================================= */
.preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.preview-card {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.preview-card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.preview-card-content {
    padding: 1.5rem;
}

.preview-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.preview-card-content p {
    font-size: 0.95rem;
    color: var(--slate);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.preview-link {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.preview-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s ease;
}

.preview-link:hover svg {
    transform: translateX(4px);
}


/* =================================================================
   ABOUT + TEAM PAGE
   ================================================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    margin-top: var(--space-md);
}

.about-image {
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
}

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

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: 1rem;
}

.about-text .signature {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--sage-dark);
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* Team profile */
.team-profile {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-lg);
    align-items: start;
    margin-top: var(--space-md);
}

.team-photo {
    width: 280px;
    height: 340px;
    border-radius: 4px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.team-bio h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--terracotta);
    margin-bottom: var(--space-sm);
}

.team-bio p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: 0.75rem;
}


/* =================================================================
   SERVICES PAGE (What We Do)
   ================================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.service-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-sm);
    background: var(--sage-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--sage-dark);
    stroke-width: 1.5;
    fill: none;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--slate);
}


/* =================================================================
   MENUS PAGE — Tabbed layout
   ================================================================= */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: var(--space-md) 0;
    flex-wrap: wrap;
}

.menu-tab {
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    padding: 0.6rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate);
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    border-color: var(--sage);
    color: var(--sage-dark);
}

.menu-tab.active {
    background: var(--sage-dark);
    border-color: var(--sage-dark);
    color: var(--white);
}

.menu-panel {
    display: none;
}

.menu-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.menu-card {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    padding: 2rem;
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--sage-light);
}

.menu-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.season-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--terracotta);
    background: var(--terracotta-light);
    padding: 0.25rem 0.6rem;
    border-radius: 3px;
}

.menu-items {
    list-style: none;
}

.menu-items li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: var(--slate);
    border-bottom: 1px solid var(--cream);
}

.menu-items li:last-child {
    border-bottom: none;
}

.menu-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--space-md);
    padding: 0.75rem 1.5rem;
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
    transition: all 0.3s ease;
}

.menu-download:hover {
    background: var(--sage-light);
    border-color: var(--sage);
    color: var(--sage-dark);
}

.menu-download svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}


/* =================================================================
   GALLERY PAGE
   ================================================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: var(--space-md);
}

.gallery-grid .gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 3px;
}

.gallery-grid .gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
}

.gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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


/* =================================================================
   TESTIMONIALS PAGE (Kind Words)
   ================================================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    padding: 2rem;
    position: relative;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: var(--sage-light);
    position: absolute;
    top: 0.75rem;
    left: 1.25rem;
}

.testimonial-card blockquote {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--slate);
    font-style: italic;
    margin-top: 1.5rem;
}

.testimonial-card .attribution {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--charcoal);
}

.testimonial-card .attribution span {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--slate);
}


/* =================================================================
   FAQ PAGE
   ================================================================= */
.faq-list {
    max-width: 800px;
    margin-top: var(--space-md);
}

.faq-item {
    border-bottom: 1px solid var(--cream-dark);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 0;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--charcoal);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--sage-dark);
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    stroke: var(--sage);
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--slate);
}


/* =================================================================
   CONTACT PAGE (Get in Touch)
   ================================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.contact-info p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: var(--space-sm);
}

.contact-details {
    list-style: none;
    margin-top: var(--space-sm);
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: var(--charcoal);
}

.contact-details svg {
    width: 20px;
    height: 20px;
    stroke: var(--sage);
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
}

/* Form styles */
.contact-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--charcoal);
    margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--cream);
    border: 1px solid var(--cream-dark);
    border-radius: 3px;
    transition: border-color 0.3s ease;
    margin-bottom: 1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--sage);
    background: var(--white);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

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

.submit-button {
    display: inline-block;
    background: var(--terracotta);
    color: var(--white);
    padding: 0.85rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: var(--sage-dark);
}

.form-message {
    margin-top: 1rem;
    font-size: 0.9rem;
}


/* =================================================================
   FOOTER
   ================================================================= */
.site-footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-md) 0 var(--space-sm);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.site-footer p {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: var(--space-sm);
}

.footer-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
}

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

.footer-copy {
    margin-top: var(--space-md);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}


/* =================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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


/* =================================================================
   RESPONSIVE — Tablet & Mobile
   ================================================================= */
@media (max-width: 900px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

    .team-photo {
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .menu-panel.active {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

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

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

    .section-title {
        font-size: 2rem;
    }

    .home-hero-content h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    /* Show hamburger, hide nav */
    .mobile-toggle {
        display: block;
    }

    .header-nav {
        display: none;
        flex-direction: column;
        padding: 1rem 2rem 1.5rem;
    }

    .header-nav.open {
        display: flex;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        text-align: center;
    }

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

    .gallery-grid .gallery-item.wide {
        grid-column: span 1;
        aspect-ratio: 16 / 9;
    }

    .home-hero {
    height: 70vh;
    }
    
    .page-hero {
    height: 180px;
    }
}
