/* ================================================================
   Ζαχαροπλαστείο Royal — site stylesheet
   Shared by index.html, products.html, services.html, about.html
   and contact.html. Organized top to bottom as: reset → color
   tokens → global body/link styles → navbar → each homepage
   section → footer → inner-page blocks → responsive breakpoints.
   ================================================================ */

/* Reset default browser spacing so every element starts from zero */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand palette — sampled from the Lovable reference (oklch) */
    --cream: oklch(0.925 0.035 80);          /* #F3E7D3 warm sunlit stucco */
    --cream-deep: oklch(0.9 0.045 70);       /* deeper cream for warm band */
    --ivory: oklch(0.965 0.022 82);          /* #FBF4E6 card surface */
    --burgundy: oklch(0.35 0.095 28);        /* #6E2A2A fascia maroon */
    --orange-warm: oklch(0.66 0.155 48);     /* #D97A2C signage orange */
    --gold: oklch(0.755 0.135 62);           /* #E9A24B script gold */
    --chocolate: oklch(0.19 0.032 40);       /* #2E1A14 deep cocoa */
    --nav-chocolate: #2E1A14;                /* navbar dark chocolate */
    --shadow: 0 18px 44px rgba(28, 12, 8, 0.16);
}


/* Smooth-scrolls to in-page anchors (e.g. the hero CTA on index.html) */
html {
    scroll-behavior: smooth;
}

/* Base page background: cream + three soft radial washes (orange,
   burgundy, chocolate) that stay fixed while the page scrolls, giving
   depth without a literal texture image. */
body {
    background-color: var(--cream);
    background-image:
        radial-gradient(ellipse 80% 60% at 15% 0%, oklch(0.66 0.155 48 / 0.14), transparent 60%),
        radial-gradient(ellipse 70% 55% at 100% 30%, oklch(0.35 0.095 28 / 0.12), transparent 65%),
        radial-gradient(ellipse 90% 60% at 50% 100%, oklch(0.19 0.032 40 / 0.08), transparent 60%);
    background-attachment: fixed;
    color: var(--chocolate);
    font-family: 'Inter', sans-serif;
    font-feature-settings: "ss01", "cv11";
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
}

/* ---------- Navbar ---------- */
/* 3-column grid (left links / logo / right links) keeps the logo
   perfectly centered no matter how much text sits on either side. */
.navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 128px;
    padding: 16px 40px;
    background: var(--nav-chocolate);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid oklch(0.755 0.135 62 / 0.2);
    box-shadow: 0 1px 0 oklch(0.66 0.155 48 / 0.1);
}

/* Links sit at the outer edge of their column (flex-start on the left,
   flex-end on the right). The gap between items is set to the exact
   same value as the navbar's own left/right padding (40px, see above)
   so that "edge → first item" and "item → item" read as the same
   measure — genuinely isometric, not just visually close. */
.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.navbar a,
.nav-lang {
    color: oklch(0.925 0.035 80 / 0.85);
    text-decoration: none;
    font-size: 0.88rem;        /* bigger than before (was 0.78rem) */
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Only the four main links get the pill/oval hover — not the logo,
   not the GR|EN toggle. Padding + a fully rounded radius turns the
   hover background into an oval behind the text. */
.nav-left a,
.nav-right a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.nav-left a:hover,
.nav-right a:hover {
    background-color: var(--orange-warm);
    color: var(--chocolate);
}

/* Highlights the link matching the page currently open (see
   aria-current="page" set on the active link in each .html file). */
.navbar a[aria-current="page"] {
    color: var(--gold);
}

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

/* The logo link stacks two images on top of each other: the cream logo
   shows normally, the orange logo (images/logo_orange_trans.png) fades
   in on hover/focus for a color-swap effect. The link itself gets a
   fixed, explicit box (via aspect-ratio, matching the real 641x389
   canvas of both PNGs) so both images resolve to the exact same
   width/height, with no rounding drift between the in-flow image and
   the absolutely positioned one. */
.nav-logo a {
    position: relative;
    display: block;
    height: 116px;      /* bigger than before (was 96px) */
    aspect-ratio: 641 / 389;
}

.nav-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-logo-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
    /* The two source files weren't exported with the artwork in
       identical positions on their canvas — measuring both PNGs'
       actual pixel content shows the orange one sits ~1.25% further
       left than the cream one. Nudge it right so they line up. */
    transform: translateX(1.25%);
}

.nav-logo a:hover .nav-logo-hover,
.nav-logo a:focus-visible .nav-logo-hover {
    opacity: 1;
}

.nav-lang {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
}

/* GR / EN are real buttons (see i18n.js) styled to look like plain text */
.nav-lang button {
    all: unset;
    cursor: pointer;
    color: oklch(0.925 0.035 80 / 0.6);
    transition: color 0.2s ease;
}

.nav-lang button:hover {
    color: var(--cream);
}

.nav-lang button.lang-active {
    color: var(--gold);
    font-weight: 600;
}

.lang-divider {
    color: oklch(0.925 0.035 80 / 0.3);
}

/* Vertical bar separating ΣΧΕΤΙΚΑ from the GR|EN switcher in nav-right
   (see the HTML: ΕΠΙΚΟΙΝΩΝΙΑ, ΣΧΕΤΙΚΑ, this divider, then nav-lang
   last). The equal 40px gap on every side — same value as the
   navbar's own edge padding — is what makes the row read as evenly
   measured from end to end. */
.nav-vdivider {
    width: 1px;
    height: 22px;
    background: oklch(0.755 0.135 62 / 0.3);
}

/* Hamburger button — three cream dashes. Hidden on desktop/tablet;
   the ≤780px block below reveals it and turns the nav into a dropdown.
   Bars morph into an X while the menu is open (.navbar.is-open). */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0 auto;
    border-radius: 2px;
    background: oklch(0.925 0.035 80 / 0.85);   /* same cream as nav links */
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.navbar.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.navbar.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    padding: 40px 24px 0;
}

.hero-frame {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    aspect-ratio: 21 / 9;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--chocolate);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(0.98) contrast(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        oklch(0.19 0.032 40 / 0.8) 0%,
        oklch(0.35 0.095 28 / 0.3) 45%,
        transparent 100%
    );
}

.hero-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 64px 32px;
    text-align: center;
}

.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.hero-h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.6rem, 5.6vw, 4.6rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--cream);
    max-width: 56rem;
    text-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.hero-sub {
    margin-top: 20px;
    max-width: 36rem;
    color: oklch(0.925 0.035 80 / 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-cta {
    margin-top: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 32px;
    border-radius: 999px;
    background: var(--orange-warm);
    color: var(--chocolate);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: background-color 0.25s ease;
}

.hero-cta:hover {
    background: var(--cream);
}

/* ---------- Cream bands: Features + Products ---------- */
.features,
.products {
    padding: 128px 24px;
    background-image: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
}

.features-header,
.products-header {
    text-align: center;
    margin-bottom: 56px;
}

.features-eyebrow,
.products-eyebrow {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    /* color: oklch(0.35 0.095 28 / 0.75); */
    color: var(--orange-warm);
    margin-bottom: 12px;
}

.features-title,
.products-title,
.story-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--burgundy);
}

.features-title {
    font-size: clamp(2rem, 3.9vw, 3rem);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid oklch(0.35 0.095 28 / 0.4);
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    color: var(--burgundy);
}

.feature-icon svg {
    display: block;
}

.feature-title,
.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    color: var(--burgundy);
}

.feature-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.feature-text,
.product-desc,
.story-body,
.footer-copy {
    color: oklch(0.19 0.032 40 / 0.75);
    line-height: 1.7;
    font-size: 0.9rem;
}

.feature-text {
    max-width: 14rem;
    margin: 0 auto;
}

.products-title {
    font-size: clamp(2rem, 3.7vw, 3rem);
    text-transform: uppercase;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    text-align: center;
}

.product-media {
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 4 / 5;
    box-shadow: 0 16px 40px oklch(0.19 0.032 40 / 0.25);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-name {
    font-size: 1.4rem;
    margin: 20px 0 8px;
}

.product-desc {
    font-size: 0.9rem;
    max-width: 20rem;
    margin: 0 auto;
}

/* ---------- Story: chocolate band ---------- */
.story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
    align-items: center;
    gap: 80px;
    padding: 128px 24px;
    background-color: var(--chocolate);
    background-image:
        radial-gradient(ellipse 70% 60% at 20% 0%, oklch(0.35 0.095 28 / 0.55), transparent 65%),
        radial-gradient(ellipse 60% 50% at 100% 100%, oklch(0.66 0.155 48 / 0.18), transparent 60%);
    color: var(--cream);
}

.story-image {
    justify-self: center;
    width: min(100%, 480px);
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow);
}

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

.story-eyebrow {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--orange-warm);
    margin-bottom: 12px;
}

.story-title {
    font-size: clamp(2.4rem, 4.6vw, 3.4rem);
    color: var(--cream);
    line-height: 1.15;
    margin-bottom: 24px;
}

.story-body {
    max-width: 32rem;
    color: oklch(0.925 0.035 80 / 0.8);
    line-height: 1.8;
    font-size: 1rem;
}

.story-signature {
    margin-top: 24px;
    font-family: 'Allura', cursive;
    font-size: 3.4rem;
    color: var(--gold);
    line-height: 1;
}

.story-cta {
    display: inline-block;
    margin-top: 32px;
    padding-bottom: 4px;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid var(--gold);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.story-cta:hover {
    color: var(--orange-warm);
    border-color: var(--orange-warm);
}

/* ---------- Footer: chocolate band ---------- */
.footer {
    position: relative;
    background-color: var(--chocolate);
    background-image:
        radial-gradient(ellipse 70% 60% at 20% 0%, oklch(0.35 0.095 28 / 0.55), transparent 65%),
        radial-gradient(ellipse 60% 50% at 100% 100%, oklch(0.66 0.155 48 / 0.18), transparent 60%);
    padding: 72px 24px 32px;
    text-align: center;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo img {
    width: auto;
    height: 84px;
    opacity: 0.95;
}

.footer-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--gold);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 4px;
}

.social-link {
    width: 46px;        /* bigger than before (was 40px) */
    height: 46px;
    border: 1px solid oklch(0.755 0.135 62 / 0.4);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--gold);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Overrides the inline width/height on the Instagram/Facebook <svg>
   markup so the icons scale up along with the circle above */
.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    background: var(--gold);
    color: var(--chocolate);
}

.footer-divider {
    height: 1px;
    max-width: 1200px;
    margin: 40px auto;
    background: linear-gradient(90deg, transparent, var(--orange-warm), transparent);
    opacity: 0.6;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 24px;
}

.footer-nav a {
    color: oklch(0.925 0.035 80 / 0.75);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-credit {
    position: absolute;
    left: 24px;
    bottom: 16px;
}

.footer-credit a {
    color: oklch(0.925 0.035 80 / 0.6);
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-credit a:hover {
    color: var(--gold);
}

.footer-copy {
    color: oklch(0.925 0.035 80 / 0.6);
    font-size: 0.75rem;
}

/* ================================================================
   INNER PAGES — Products / Services / About / Contact
   Shared building blocks used across products.html, services.html,
   about.html and contact.html live below. Each page still keeps the
   same navbar/footer markup as index.html.
   ================================================================ */

/* ---------- Page hero: short title banner at the top of a page ---------- */
/* Two color variants — pick one per page with an extra modifier class:
   .page-hero--cream (light) or .page-hero--chocolate (dark). */
.page-hero {
    text-align: center;
    padding: 100px 24px 84px;
}

.page-hero--cream {
    background-image: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
    color: var(--chocolate);
}

.page-hero--chocolate {
    background-color: var(--chocolate);
    background-image:
        radial-gradient(ellipse 70% 60% at 20% 0%, oklch(0.35 0.095 28 / 0.55), transparent 65%),
        radial-gradient(ellipse 60% 50% at 100% 100%, oklch(0.66 0.155 48 / 0.18), transparent 60%);
    color: var(--cream);
}

.page-hero-eyebrow {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.page-hero--cream .page-hero-eyebrow { color: var(--orange-warm); }
.page-hero--chocolate .page-hero-eyebrow { color: var(--gold); }

.page-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    letter-spacing: -0.01em;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    margin-top: 12px;
}

.page-hero--cream .page-hero-title { color: var(--burgundy); }
.page-hero--chocolate .page-hero-title { color: var(--cream); }

.page-hero-sub {
    max-width: 34rem;
    margin: 20px auto 0;
    line-height: 1.75;
    font-size: 1rem;
}

.page-hero--cream .page-hero-sub { color: oklch(0.19 0.032 40 / 0.75); }
.page-hero--chocolate .page-hero-sub { color: oklch(0.925 0.035 80 / 0.8); }

/* ---------- Products page: category filter pills ---------- */
.cat-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1200px;
    margin: 56px auto 48px;
    padding: 0 24px;
}

.cat-btn {
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid oklch(0.35 0.095 28 / 0.35);
    background: transparent;
    color: oklch(0.19 0.032 40 / 0.7);
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cat-btn:hover {
    border-color: var(--burgundy);
    color: var(--burgundy);
}

/* Active category button — filled burgundy pill */
.cat-btn.active {
    background: var(--burgundy);
    border-color: var(--burgundy);
    color: var(--ivory);
}

/* ---------- Products page: catalog grid ---------- */
/* Reuses .product-card / .product-media / .product-img / .product-name /
   .product-desc from the homepage favourites section — just a different
   wrapping grid with more items. */
.catalog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 100px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

/* Products filtered out by the active category are simply hidden —
   see the [hidden] toggle in products.js */
.catalog-grid .product-card[hidden] {
    display: none;
}

/* ---------- Services page: alternating feature bands ---------- */
.service-band {
    padding: 96px 24px;
}

.service-band--orange {
    background-image: linear-gradient(135deg, var(--orange-warm) 0%, var(--gold) 100%);
    color: var(--chocolate);
}

.service-band--chocolate {
    background-color: var(--chocolate);
    background-image:
        radial-gradient(ellipse 70% 60% at 20% 0%, oklch(0.35 0.095 28 / 0.55), transparent 65%),
        radial-gradient(ellipse 60% 50% at 100% 100%, oklch(0.66 0.155 48 / 0.18), transparent 60%);
    color: var(--cream);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Every other band swaps the image to the right-hand side */
.service-grid--reverse .service-media {
    order: 2;
}

.service-media {
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 5 / 4;
    box-shadow: 0 16px 40px oklch(0.19 0.032 40 / 0.2);
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-eyebrow {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.service-band--orange .service-eyebrow,
.service-band--orange .service-cta { color: var(--burgundy); }
.service-band--chocolate .service-eyebrow,
.service-band--chocolate .service-cta { color: var(--gold); }

.service-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
    margin: 12px 0 20px;
}

.service-band--orange .service-title { color: var(--chocolate); }
.service-band--chocolate .service-title { color: var(--cream); }

.service-desc {
    line-height: 1.75;
    font-size: 1rem;
}

.service-band--orange .service-desc { color: oklch(0.19 0.032 40 / 0.85); }
.service-band--chocolate .service-desc { color: oklch(0.925 0.035 80 / 0.82); }

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding-bottom: 4px;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-bottom: 1px solid currentColor;
    transition: opacity 0.2s ease;
}

.service-cta:hover {
    opacity: 0.7;
}

/* ---------- About page: storefront banner ---------- */
.about-hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px 0;
}

.about-hero-frame {
    position: relative;
    aspect-ratio: 21 / 9;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        oklch(0.19 0.032 40 / 0.78) 0%,
        oklch(0.35 0.095 28 / 0.25) 45%,
        transparent 100%
    );
}

.about-hero-text {
    position: absolute;
    left: 32px;
    bottom: 32px;
    max-width: 40rem;
}

.about-hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
}

.about-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: clamp(2.2rem, 5.6vw, 3.8rem);
    color: var(--cream);
    margin-top: 8px;
    line-height: 1.1;
}

/* ---------- About page: lead + body copy ---------- */
.about-lead-band {
    background-image: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
    padding: 96px 24px;
}

.about-copy {
    max-width: 46rem;
    margin: 0 auto;
    text-align: center;
}

.about-lead {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.7;
    color: oklch(0.19 0.032 40 / 0.88);
}

.about-divider {
    height: 1px;
    width: 100%;
    margin: 48px auto;
    background: linear-gradient(90deg, transparent, oklch(0.35 0.095 28 / 0.3), transparent);
}

.about-body {
    font-size: 1rem;
    line-height: 1.8;
    color: oklch(0.19 0.032 40 / 0.75);
}

/* ---------- About page: philosophy pillars ---------- */
/* Three numbered values (from the photo reference), rendered in the
   project's own tokens — Cormorant serif, orange numbers, burgundy
   titles — sitting on the same cream band as the lead copy above. */
.about-philosophy {
    max-width: 1100px;
    margin: 88px auto 0;
}

.about-philosophy-eyebrow {
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--orange-warm);
    margin-bottom: 56px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px;
}

/* Thin top rule above each column, echoing the reference layout */
.value-item {
    padding-top: 28px;
    border-top: 1px solid oklch(0.35 0.095 28 / 0.25);
}

.value-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 2rem;
    line-height: 1;
    color: var(--orange-warm);
}

.value-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--burgundy);
    margin: 14px 0;
}

.value-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: oklch(0.19 0.032 40 / 0.75);
}

/* ---------- About page: orange-framed pull quote ---------- */
/* The quote used to sit in its own full-width burgundy band below the
   page; it now lives inline with the lead copy, inside an orange frame. */
.about-quote {
    margin: 48px auto 0;
    padding: 40px 44px;
    border: 2px solid var(--orange-warm);
    border-radius: 1rem;
    background: oklch(0.66 0.155 48 / 0.07);
    text-align: center;
}

.about-quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: clamp(1.25rem, 2.6vw, 1.8rem);
    line-height: 1.45;
    color: var(--burgundy);
}

.about-quote-signature {
    margin-top: 16px;
    font-family: 'Allura', cursive;
    font-size: 2.4rem;
    line-height: 1;
    color: var(--orange-warm);
}

/* ---------- Contact page: two-column info + form ---------- */
.contact-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info {
    background-color: var(--chocolate);
    background-image:
        radial-gradient(ellipse 70% 60% at 20% 0%, oklch(0.35 0.095 28 / 0.55), transparent 65%),
        radial-gradient(ellipse 60% 50% at 100% 100%, oklch(0.66 0.155 48 / 0.18), transparent 60%);
    color: var(--cream);
    border-radius: 1rem;
    padding: 44px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: oklch(0.755 0.135 62 / 0.15);
    color: var(--gold);
}

.info-icon svg {
    display: block;
}

.info-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: oklch(0.925 0.035 80 / 0.6);
    margin-bottom: 4px;
}

.info-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    color: var(--cream);
    line-height: 1.5;
}

.contact-map {
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 16 / 9;
    border: 1px solid oklch(0.755 0.135 62 / 0.3);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- Contact page: form card ---------- */
.contact-form {
    background: var(--ivory);
    border: 1px solid oklch(0.86 0.025 70);
    border-radius: 1rem;
    padding: 44px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-field label,
.form-textarea-field label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: oklch(0.19 0.032 40 / 0.6);
    margin-bottom: 8px;
}

.form-field input,
.form-textarea-field textarea {
    width: 100%;
    background: var(--cream);
    border: 1px solid oklch(0.86 0.025 70);
    border-radius: 0.5rem;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--chocolate);
    transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-textarea-field textarea:focus {
    outline: none;
    border-color: var(--burgundy);
}

.form-textarea-field textarea {
    resize: vertical;
    min-height: 140px;
}

.form-submit {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 999px;
    background: var(--orange-warm);
    color: var(--chocolate);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-submit:hover {
    background: var(--gold);
}

/* Revealed by contact.js once Formspree confirms the submit */
.form-success {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--orange-warm);
}

/* Revealed by contact.js if the Formspree submit fails */
.form-error {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: #b3261e;
}

.form-success[hidden],
.form-error[hidden] {
    display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .navbar {
        padding-inline: 24px;
    }

    .features-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-grid,
    .story {
        grid-template-columns: 1fr;
    }

    .story-image {
        width: min(100%, 620px);
        order: -1;
    }

    /* Inner pages: drop to 2-up / stacked layouts */
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-grid--reverse .service-media {
        order: 0;
    }
}

/* The classic horizontal navbar needs ~1000px to fit all links + logo +
   GR|EN toggle, so it collapses to the hamburger for tablets too, not just
   phones. The rest of the phone-only layout stays at ≤780px below. */
@media (max-width: 1040px) {
    /* Phone/tablet navbar: logo + hamburger share the top row (switch from
       the desktop 3-column grid to flex so the rest can wrap below). The nav
       links and GR|EN toggle drop into a full-width menu that only shows
       once the hamburger is tapped — same chocolate bar, same cream links
       and fonts as the desktop navbar. */
    .navbar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        min-height: auto;
        padding: 14px 18px;
    }

    .nav-logo {
        order: 1;
        justify-content: flex-start;
    }

    .nav-logo a {
        height: 60px;
    }

    .nav-toggle {
        display: flex;
        order: 2;
    }

    /* Links + language toggle: hidden until the menu is open, then each
       spans the full width and stacks vertically as a dropdown. */
    .nav-left,
    .nav-right {
        order: 3;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        display: none;
    }

    .navbar.is-open .nav-left,
    .navbar.is-open .nav-right {
        display: flex;
    }

    /* Hairline above the first dropped row sets the menu off from the bar */
    .navbar.is-open .nav-left {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid oklch(0.755 0.135 62 / 0.2);
    }

    .nav-left a,
    .nav-right a {
        display: block;
        width: 100%;
        padding: 12px 16px;
    }

    .nav-vdivider {
        display: none;
    }

    .nav-lang {
        justify-content: flex-start;
        padding: 12px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 780px) {
    .hero {
        padding-inline: 12px;
    }

    .hero-frame {
        aspect-ratio: 1 / 1.1;
        border-radius: 1.5rem;
    }

    .hero-h1 {
        font-size: clamp(2.4rem, 10vw, 4rem);
    }

    .hero-text {
        padding: 32px 24px;
    }

    .features,
    .products,
    .story {
        padding-block: 88px;
    }

    .features-container,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .story {
        gap: 40px;
    }

    .footer {
        padding-top: 64px;
    }

    /* Inner pages: single column + tighter padding on small screens */
    .page-hero {
        padding: 76px 20px 60px;
    }

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

    .service-band {
        padding: 72px 20px;
    }

    .about-hero-text {
        left: 20px;
        bottom: 20px;
        max-width: calc(100% - 40px);
    }

    .about-lead-band {
        padding: 72px 20px;
    }

    .about-quote {
        padding: 32px 24px;
    }

    .contact-wrap {
        padding: 72px 20px;
    }

    .contact-info,
    .contact-form {
        padding: 32px 24px;
    }
}

/* ================================================================
   ANIMATIONS — hero carousel, hero text pop-up, scroll reveals
   Wired up by animations.js. All motion is gated behind
   prefers-reduced-motion at the bottom of this block.
   ================================================================ */

/* ---------- Hero carousel ---------- */
/* Five images stacked in the same box; only the .is-active one is
   opaque, so advancing the class crossfades between photos. */
.hero-carousel {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}

.hero-slide.is-active {
    opacity: 1;
}

/* Dot controls — appended to .hero-frame by animations.js */
.hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hero-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: oklch(0.925 0.035 80 / 0.45);
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.hero-dot:hover {
    background: oklch(0.925 0.035 80 / 0.75);
}

.hero-dot.is-active {
    background: var(--gold);
    transform: scale(1.3);
}

/* ---------- Hero text: staggered pop-up on page load ---------- */
/* Mirrors the Lovable reference's fade-up: each line lifts 16px and
   fades in, one after another, as soon as the page is loaded. */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-eyebrow,
.hero-h1,
.hero-sub,
.hero-cta {
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards;
}

.hero-eyebrow { animation-delay: 0.15s; }
.hero-h1      { animation-delay: 0.30s; }
.hero-sub     { animation-delay: 0.45s; }
.hero-cta     { animation-delay: 0.60s; }

/* ---------- Scroll reveal ---------- */
/* animations.js adds .reveal (hiding the element) only when JS is
   available, then .is-visible once it scrolls into view. Without JS
   the element keeps its normal, fully-visible styling. */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

/* ---------- Respect reduced-motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        transition: none;
    }

    .hero-eyebrow,
    .hero-h1,
    .hero-sub,
    .hero-cta {
        animation: none;
        opacity: 1;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
