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

:root {
    --white: #faf9f7;
    --off-white: #f5f4f2;
    --light-grey: #f0eeeb;
    --grey: #e5e3e0;
    --mid-grey: #9a9a9a;
    --dark-grey: #4a4a4a;
    --charcoal: #2d2d2d;
    --warm-beige: #f7f5f3;
    --sand: #e8e4df;
    --stone: #d4cfc8;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 300;
}

h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--mid-grey);
}

p {
    color: var(--dark-grey);
    max-width: 600px;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--mid-grey);
    margin-bottom: 0.75rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--grey);
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 1.5rem;
    max-width: 1800px;
    margin: 0 auto;
    position: relative;
}

.menu-toggle {
    position: absolute;
    right: 1.5rem;
}

.logo img {
    height: 48px;
    width: auto;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 1024px) {
    .nav {
        justify-content: space-between;
        padding: 1.25rem 3rem;
    }

    .menu-toggle {
        position: static;
    }
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--charcoal);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:first-child {
    transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle.active span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
}

.nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 0 solid var(--grey);
    list-style: none;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-bottom-width 0.3s ease;
}

.nav-links.active {
    max-height: 400px;
    padding: 1.5rem;
    border-bottom-width: 1px;
}

.nav-links li {
    margin-bottom: 1rem;
}

.nav-links li:last-child {
    margin-bottom: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--mid-grey);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 1rem;
    color: var(--white);
}

.hero p {
    font-size: 1.125rem;
    margin: 0 0 2rem;
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--charcoal);
    color: var(--white);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background: var(--dark-grey);
}

/* About Section */
.about {
    background: var(--white);
}

.about p {
    margin-bottom: 1rem;
}

.about p:last-of-type {
    margin-bottom: 0;
}

/* Flavours Section */
.flavours {
    background: var(--light-grey);
}

.flavours-intro {
    margin-bottom: 3rem;
}

.flavour-grid {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.flavour-category ul {
    list-style: none;
}

.flavour-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--grey);
    color: var(--dark-grey);
    font-size: 0.9375rem;
}

.flavours-note {
    font-size: 0.875rem;
    font-style: italic;
    color: var(--mid-grey);
    margin-top: 2rem;
}

/* Visit Section */
.visit {
    background: var(--warm-beige);
}

.visit-grid {
    display: grid;
    gap: 3rem;
    margin-top: 2rem;
}

.info-block {
    margin-bottom: 2rem;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block p {
    font-size: 0.9375rem;
    line-height: 1.8;
}

.visit-image {
    display: none;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: var(--sand);
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-details {
    display: grid;
    gap: 2rem;
    margin-top: 1rem;
}

.contact-details p {
    font-size: 0.9375rem;
}

.contact-details strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mid-grey);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--mid-grey);
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-social a {
    color: var(--mid-grey);
    transition: color 0.2s ease;
}

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

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--mid-grey);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: color 0.2s ease;
}

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

.footer p {
    font-size: 0.75rem;
    color: var(--mid-grey);
    margin: 0 auto;
}

/* Tablet Styles */
@media (min-width: 640px) {
    .section {
        padding: 6rem 0;
    }

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

    .contact-details {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .nav-links {
        display: flex;
        position: static;
        background: none;
        border: none;
        padding: 0;
        gap: 2.5rem;
        max-height: none;
        overflow: visible;
    }

    .nav-links li {
        margin-bottom: 0;
    }

    .section {
        padding: 8rem 0;
    }

    .flavour-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    .visit-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }

    .visit-image {
        display: block;
    }

    .image-placeholder {
        height: 400px;
    }

    .hero {
        justify-content: flex-start;
        text-align: left;
    }

    .hero-content {
        padding-left: 4rem;
    }

    .location-image {
        height: auto;
        aspect-ratio: 16 / 10;
    }
}

/* Page Hero */
.page-hero {
    padding: 8rem 0 3rem;
    background: var(--warm-beige);
    text-align: center;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero.with-image {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 50vh;
}

.page-hero.with-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.page-hero.with-image h1,
.page-hero.with-image p {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.page-hero.with-image .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin-bottom: 0.5rem;
}

.page-hero p {
    margin: 0 auto;
    font-size: 1.125rem;
}

@media (min-width: 640px) {
    .page-hero {
        padding: 8rem 0 4rem;
        min-height: 45vh;
    }

    .page-hero.with-image {
        min-height: 55vh;
    }
}

/* Content Blocks */
.content-block {
    margin-bottom: 3rem;
}

.content-block p {
    margin-bottom: 1rem;
}

/* Alt Background */
.alt-bg {
    background: var(--light-grey);
}

/* Shop Selector */
.shop-selector {
    text-align: center;
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.shop-selector.hidden {
    display: none;
}

.shop-selector h2 {
    margin-bottom: 0.5rem;
}

.shop-selector > p {
    margin: 0 auto 2.5rem;
}

.shop-buttons {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.shop-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 2.5rem;
    background: var(--white);
    border: 2px solid var(--grey);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.shop-btn:hover {
    border-color: var(--charcoal);
    background: var(--light-grey);
}

.shop-name {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.shop-address {
    font-size: 0.875rem;
    color: var(--mid-grey);
}

.back-btn {
    display: inline-block;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--mid-grey);
    cursor: pointer;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease;
}

.back-btn:hover {
    color: var(--charcoal);
}

@media (min-width: 640px) {
    .shop-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Menu Content */
.menu-content {
    display: none;
}

.menu-content.active {
    display: block;
}

.menu-date {
    margin-bottom: 2rem;
}

.date-display {
    font-size: 1.125rem;
    color: var(--dark-grey);
}

/* Locations Grid */
.locations-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.location-card {
    background: var(--white);
    border: 1px solid var(--grey);
    border-radius: 12px;
    overflow: hidden;
}

.location-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center;
}

.location-card h3 {
    color: var(--charcoal);
    margin: 1.5rem 2rem 1rem;
}

.location-address {
    margin: 0 2rem 1rem;
}

.location-hours {
    margin: 0 2rem 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--grey);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    font-size: 0.8125rem;
    color: var(--dark-grey);
}

.hours-row span:first-child {
    color: var(--mid-grey);
    font-weight: 400;
}

.location-hours strong,
.location-phone strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mid-grey);
    margin-bottom: 0.25rem;
    margin-top: 1rem;
}

.location-phone {
    font-size: 0.9375rem;
}

/* Visit CTA */
.visit-cta {
    background: var(--light-grey);
}

.visit-cta-header {
    text-align: center;
    margin-bottom: 2rem;
}

.visit-cta-header h2 {
    margin-bottom: 0;
}

.cta-locations {
    max-width: 800px;
    margin: 0 auto;
}

.cta-card {
    text-align: center;
    padding: 0;
}

.cta-card-content {
    padding: 2rem;
}

.cta-card h3 {
    color: var(--charcoal);
    margin: 0 0 0.75rem;
}

.cta-card .location-address {
    margin: 0 0 0.5rem;
    font-size: 0.9375rem;
}

.location-hours-simple {
    font-size: 0.875rem;
    color: var(--mid-grey);
    margin: 0;
}

.visit-cta .hours {
    font-size: 0.875rem;
    color: var(--mid-grey);
    margin-top: 0.5rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--white);
    padding: 2rem;
    border: 1px solid var(--grey);
    border-radius: 12px;
    text-align: center;
}

.product-image {
    width: 100%;
    height: 280px;
    background: var(--sand);
    margin-bottom: 1.5rem;
    object-fit: cover;
}

.product-card h3 {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.product-card p {
    margin: 0 auto 0.5rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 1.5rem !important;
}

/* Service Grid */
.service-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    padding: 2rem;
    background: var(--light-grey);
    border-radius: 12px;
}

.service-card h3 {
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

/* Info Grid */
.info-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.info-item h3 {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

/* CTA Block */
.cta-block {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--grey);
}

.cta-block p {
    margin-bottom: 1.5rem;
}

/* Centered Section */
.centered-section {
    text-align: center;
}

.centered-section .section-label,
.centered-section h2,
.centered-section p {
    margin-left: auto;
    margin-right: auto;
}

.centered-grid {
    text-align: center;
}

.centered-grid .info-item {
    text-align: center;
}

.centered-grid .info-item p {
    margin-left: auto;
    margin-right: auto;
}

.centered-cta {
    text-align: center;
}

.centered-cta p {
    margin-left: auto;
    margin-right: auto;
}

/* Pricing */
.pricing-info {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.price-item {
    padding: 2rem;
    background: var(--light-grey);
    border-radius: 12px;
}

.price-item h3 {
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.price-item > p {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.price-item ul {
    list-style: none;
}

.price-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--grey);
    color: var(--dark-grey);
    font-size: 0.9375rem;
}

/* Flavour Deck */
.flavour-deck-grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.deck-category h3 {
    color: var(--charcoal);
    border-bottom: 1px solid var(--grey);
    padding-bottom: 0.75rem;
}

.deck-category ul {
    list-style: none;
}

.deck-category li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--grey);
}

.deck-category li strong {
    display: block;
    color: var(--charcoal);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.deck-category li span {
    font-size: 0.875rem;
    color: var(--mid-grey);
}

/* Forms */
.request-form,
.contact-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--mid-grey);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-family: inherit;
    font-size: 1rem;
    border: 1px solid var(--grey);
    background: var(--white);
    color: var(--charcoal);
    transition: border-color 0.2s ease;
}

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

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

/* Benefits Grid */
.benefits-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    padding: 1.5rem;
    background: var(--light-grey);
    border-radius: 12px;
}

.benefit-item h3 {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

/* Job Listings */
.job-listings {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.job-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--grey);
    border-radius: 12px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-header h3 {
    color: var(--charcoal);
    margin-bottom: 0;
}

.job-type {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    background: var(--light-grey);
    color: var(--dark-grey);
}

.job-location {
    font-size: 0.875rem;
    color: var(--mid-grey);
    margin-bottom: 1rem;
}

.job-details {
    list-style: none;
    margin: 1rem 0 1.5rem;
}

.job-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--grey);
    font-size: 0.9375rem;
    color: var(--dark-grey);
}

/* Button Outline */
.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--charcoal);
}

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

/* Contact Grid */
.contact-grid {
    display: grid;
    gap: 4rem;
}

.contact-info .contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--dark-grey);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--charcoal);
}

/* Small Text */
.small-text {
    font-size: 0.875rem;
    color: var(--mid-grey);
    margin-top: 1.5rem;
}

/* Flavour List */
.flavour-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    column-count: 2;
    column-gap: 3rem;
}

.flavour-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--grey);
    break-inside: avoid;
    font-size: 0.9375rem;
}

@media (min-width: 768px) {
    .flavour-list {
        column-count: 3;
    }
}

@media (min-width: 1024px) {
    .flavour-list {
        column-count: 4;
    }
}

/* Active Nav Link */
.nav-links a.active {
    color: var(--charcoal);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 8px;
}

/* Large Desktop */
@media (min-width: 1280px) {
    .container {
        padding: 0 4rem;
    }

    .nav {
        padding: 1.5rem 4rem;
    }

    .logo img {
        height: 56px;
    }

    .footer-logo {
        height: 48px;
    }
}

/* Tablet */
@media (min-width: 640px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

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

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

/* Desktop */
@media (min-width: 1024px) {
    .page-hero {
        padding: 10rem 0 5rem;
        min-height: 50vh;
    }

    .page-hero.with-image {
        min-height: 60vh;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .job-listings {
        grid-template-columns: repeat(3, 1fr);
    }

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

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