/* ============================================
   EAT. by Chrissy Ferguson — Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #000;
    background: #fff;
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.2;
}

/* --- Logo --- */
.logo {
    display: inline-block;
    text-decoration: none;
}

.logo-nav {
    height: 120px;
    width: auto;
    display: block;
    border: none;
    outline: none;
}

.logo-footer {
    height: 80px;
    width: auto;
    display: block;
}

.logo-hero {
    height: 500px;
    width: auto;
    display: block;
    border: none;
    outline: none;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #000;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 1rem 2.5rem;
}

.nav > .logo {
    justify-self: start;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    list-style: none;
    justify-self: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-order-wrap {
    justify-self: end;
}

.nav-order {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    transition: background 0.3s, color 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.nav-order:hover {
    background: #ddd;
}

.nav-mobile-order {
    display: none;
}

.nav-order-mobile {
    display: none;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Main Content --- */
.main {
    padding-top: 80px;
    margin-bottom: 0;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    background: url('images/Grazing_tables/IMG_5155.JPG') center / cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.40);
}


.hero-banner {
    width: 100%;
    height: 600px;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
    margin: 0;
    padding: 0;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    display: flex;
    justify-content: center;
}

.hero-tagline {
    margin-top: 8px;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    opacity: 1;
}

/* --- Section --- */
.section {
    padding: 5rem 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-heading {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3.5rem;
    letter-spacing: 0.2em;
}

/* --- Testimonials Carousel --- */
.testimonials {
    padding: 80px 0;
    background: #fff;
}

.testimonials .section-heading {
    margin-bottom: 3rem;
}

.testimonials-carousel {
    display: flex;
    align-items: stretch;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0 22.5vw;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    width: 55vw;
    min-width: 320px;
    max-width: 750px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    padding: 24px 36px;
    background: #fff;
    scroll-snap-align: center;
}

.testimonial-quote {
    font-size: 0.85rem;
    line-height: 1.8;
    font-style: italic;
    font-weight: 400;
    color: #333;
}

.testimonial-attribution {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    font-weight: 500;
    margin-top: auto;
    padding-top: 20px;
    font-style: normal;
    text-transform: uppercase;
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 2rem;
}

.testimonials-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #000;
    background: #fff;
    color: #000;
    font-size: 1.2rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s;
    padding: 0;
    line-height: 1;
}

.testimonials-nav button:hover {
    background: #000;
    color: #fff;
}

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-tile {
    display: block;
    text-decoration: none;
    color: #000;
    transition: opacity 0.3s;
}

.product-tile:hover {
    opacity: 0.7;
}

.product-tile-image {
    width: 100%;
    height: 320px;
    background: #e8e8e8;
    overflow: hidden;
}

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

.product-tile-name {
    margin-top: 1rem;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-align: center;
}

/* --- Product Page --- */
.product-hero {
    width: 60%;
    max-width: 720px;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
}

.product-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.product-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    text-align: center;
}

.main > .product-content:first-child {
    padding-top: 120px;
}

/* --- Photo Panel --- */
.photo-panel {
    display: block;
    width: 100%;
    height: 380px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    line-height: 0;
    font-size: 0;
}

.photo-panel img {
    width: 25%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: inline-block;
    vertical-align: top;
}

.photo-panel.cols-3 img {
    width: 33.333%;
}

.photo-panel.cols-1 img {
    width: 100%;
}

.product-content h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
}

.product-content p {
    font-size: 1rem;
    margin: 0 auto 1.5rem;
    max-width: 680px;
    line-height: 1.8;
    color: #333;
}

.product-content p.product-intro {
    font-size: 1.1rem;
    max-width: 700px;
}

.product-content ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    text-align: left;
}

.product-content ul li {
    font-size: 1rem;
    font-weight: 400;
    color: #333;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.product-content ul.product-list-single {
    grid-template-columns: 1fr;
    max-width: 680px;
}

.product-content ul.product-list-dash {
    grid-template-columns: 1fr;
    max-width: 560px;
    text-align: left;
}

.product-content ul.product-list-dash li {
    padding: 6px 0;
    border-bottom: none;
    line-height: 1.6;
}

.product-content ul.product-list-dash.product-list-dash-center {
    text-align: center;
}

.product-content ul.product-list-dash li::before {
    content: '— ';
}

/* --- Order Steps --- */
.order-step {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.order-step-number {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    color: #000;
}

.order-step h3 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.8rem;
}

.order-step p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.product-section-heading {
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

/* --- Cake Grid --- */
.cake-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

.cake-tile h3 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
}

.cake-tile p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #333;
}

@media (max-width: 768px) {
    .cake-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

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

.btn-explore {
    display: inline-block;
    border: 2px solid #000;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: transparent;
    color: #000;
    margin-top: 12px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.btn-explore:hover {
    background: #000;
    color: #fff;
}

.btn-order {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 3.5rem;
    background: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.btn-order:hover {
    background: #333;
}

.pricing-note {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    max-width: 560px;
    margin: 0 auto 16px;
}

/* --- Text Pages (About, FAQ, T&C, Contact) --- */
.text-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.text-page h1 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    letter-spacing: 0.2em;
}

.text-page h2 {
    font-size: 1.1rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
}

.text-page p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: #333;
}

.text-page a {
    text-decoration: underline;
}

.text-page a:hover {
    opacity: 0.6;
}

/* --- About --- */
.about-content {
    text-align: left;
}

.about-content h1 {
    text-align: center;
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-contact {
    margin-top: 3rem;
}

.about-contact-label {
    font-size: 18px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
}

.about-contact a {
    color: #000;
    text-decoration: underline;
}

.about-contact a:hover {
    opacity: 0.6;
}

/* --- Terms --- */
.terms-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.terms-container h2 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.terms-container p {
    color: #333;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.terms-container a {
    text-decoration: underline;
}

.terms-container a:hover {
    opacity: 0.6;
}

.terms-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 2rem 0;
}

/* --- FAQ --- */
.faq-container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 1.8rem 0;
}

.faq-item:first-child {
    border-top: 1px solid #e0e0e0;
}

.faq-question {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    content: '−';
}

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

.faq-item.active .faq-answer {
    max-height: 600px;
    padding-top: 1.2rem;
}

.faq-answer p {
    color: #333;
    line-height: 1.9;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.faq-answer a {
    text-decoration: underline;
}

.faq-answer a:hover {
    opacity: 0.6;
}

/* --- Contact --- */
.contact-email {
    font-size: 1.1rem;
    font-weight: 500;
}

/* --- Footer --- */
.footer {
    background: #000;
    color: #fff;
    padding: 40px 2rem;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-map {
    border: 0;
    display: block;
    margin: 10px auto 0;
}

.footer-col {
    text-align: center;
}

.footer-col .logo {
    display: inline-block;
}

.logo-footer {
    width: 160px;
    height: auto;
    display: block;
}

.footer-maps-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-top: 4px;
    transition: opacity 0.3s;
}

.footer-maps-link:hover {
    text-decoration: underline;
}

.footer-col-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    font-size: 0.85rem;
    color: #fff;
    text-decoration: none;
    line-height: 2;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.6;
}

.footer-address {
    font-size: 0.85rem;
    line-height: 2;
    font-style: normal;
}

.footer-bottom {
    text-align: center;
    margin-top: 2.5rem;
}

.footer-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.footer-icons a {
    display: inline-flex;
    transition: opacity 0.3s;
}

.footer-icons a:hover {
    opacity: 0.6;
}

.footer-icons svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.footer-copy {
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.05em;
    margin-top: 12px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.5rem;
    }

    .nav-order-wrap {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #000;
        flex-direction: column;
        justify-content: flex-start;
        padding: 1.5rem 2rem 2rem;
        gap: 1.2rem;
    }

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

    .nav-mobile-order {
        display: list-item;
    }

    .nav-toggle {
        display: block;
    }

    .nav-order-mobile {
        display: inline-block;
        background: #000;
        color: #fff;
        padding: 8px 20px;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        text-decoration: none;
        white-space: nowrap;
    }

    h1 {
        font-size: clamp(1.8rem, 8vw, 3rem);
        letter-spacing: 0.05em;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: none;
        white-space: normal;
        max-width: 100%;
        padding: 0 16px;
        text-align: center;
    }

    .logo-hero {
        height: 280px;
    }

    .section {
        padding: 3.5rem 1.5rem;
    }

    .section-heading {
        font-size: 1.4rem;
    }

    .product-content {
        padding: 3rem 1.5rem;
    }

    .text-page {
        padding: 3.5rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 500px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }

    .testimonials-carousel {
        padding: 0 6vw;
    }
}
