/* Tural Distribution — professional wholesale bakery distribution */
:root {
  --navy: #13284a;
  --navy-dark: #0b1a33;
  --navy-soft: #1f3b66;
  --wheat: #c8963e;
  --wheat-light: #e9c98a;
  --cream: #faf7f1;
  --sand: #f2ebdf;
  --ink: #1f2430;
  --ink-soft: #5a6172;
  --line: #e4dccd;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 40, 74, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.02rem;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-soft); }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.2; color: var(--navy); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 780px; }
.center { text-align: center; }
section { padding: 5rem 0; }
.section-alt { background: var(--white); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--wheat); margin-bottom: .8rem;
}
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
.lead { color: var(--ink-soft); font-size: 1.12rem; max-width: 680px; }
.center .lead { margin: 0 auto; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy-dark); color: #cfd8e8; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding-top: .5rem; padding-bottom: .5rem; flex-wrap: wrap; }
.topbar a { color: var(--wheat-light); text-decoration: none; font-weight: 600; }

/* ---------- nav ---------- */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-nav .container { display: flex; align-items: center; justify-content: space-between; padding-top: .7rem; padding-bottom: .7rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 52px; height: 52px; }
.brand-text { font-family: "Playfair Display", serif; font-size: 1.3rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.brand-text small { display: block; font-family: "Inter", sans-serif; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--wheat); }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--wheat); }
.nav-links .btn { color: var(--white); }
#nav-toggle { display: none; }
.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }
@media (max-width: 860px) {
  .hamburger { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; padding: .5rem 0 1rem; border-bottom: 1px solid var(--line); }
  #nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links li { padding: .6rem 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600;
  text-decoration: none; font-size: .95rem; transition: transform .15s ease, box-shadow .15s ease; border: 2px solid transparent; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.btn-primary { background: var(--wheat); color: var(--navy-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-row { display: flex; gap: .9rem; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(200,150,62,.18), transparent 45%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  color: var(--white); padding: 5.5rem 0 6rem; position: relative; overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--wheat-light); }
.hero p { color: #d6deec; font-size: 1.15rem; max-width: 560px; margin-bottom: 2rem; }
.hero-badge { justify-self: center; position: relative; }
.hero-badge img { width: min(380px, 80vw); filter: drop-shadow(0 25px 50px rgba(0,0,0,.45)); }
.hero-stats { display: flex; gap: 2.4rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-stats strong { display: block; font-family: "Playfair Display", serif; font-size: 1.9rem; color: var(--wheat-light); }
.hero-stats span { font-size: .85rem; color: #b9c4d8; letter-spacing: .04em; }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .btn-row, .hero-stats { justify-content: center; }
  .hero-badge { order: -1; }
  .hero-badge img { width: 220px; }
}

/* page header (inner pages) */
.page-header { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: var(--white); padding: 4rem 0 3.5rem; text-align: center; }
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: .6rem; }
.page-header p { color: #d6deec; max-width: 640px; margin: 0 auto; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.card p { color: var(--ink-soft); }
.card .tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--wheat); margin-bottom: .5rem; }

.feature { text-align: left; }
.feature .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--sand); display: grid; place-items: center;
  margin-bottom: 1rem; color: var(--navy); font-size: 1.5rem;
}
.feature .icon svg { width: 26px; height: 26px; stroke: var(--navy); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-height: 560px; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; margin-top: 1.4rem; }
.checklist li { padding-left: 1.9rem; position: relative; margin-bottom: .7rem; color: var(--ink-soft); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 16px; height: 9px; border-left: 3px solid var(--wheat); border-bottom: 3px solid var(--wheat); transform: rotate(-45deg); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
@media (min-width: 820px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.gallery img { width: 100%; height: 280px; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem 1rem; font-size: .88rem; font-weight: 600; color: var(--white); background: linear-gradient(transparent, rgba(11,26,51,.85)); }

/* products */
.product-block { margin-bottom: 3.5rem; }
.product-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--wheat); padding-bottom: .7rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.product-head h2 { font-size: 1.9rem; }
.product-head p { color: var(--ink-soft); font-size: .95rem; }
.cat h3 { font-family: "Inter", sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wheat); margin-bottom: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .38rem .9rem; font-size: .9rem; color: var(--ink); }
.subnav { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-top: 1.8rem; }
.subnav a { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); color: var(--white); text-decoration: none; font-size: .9rem; }
.subnav a:hover { background: rgba(255,255,255,.1); }
.note { background: var(--sand); border-left: 4px solid var(--wheat); padding: 1.1rem 1.4rem; border-radius: 8px; color: var(--ink-soft); font-size: .95rem; }

/* service area */
.area { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.area .card h3 { font-size: 1.1rem; }
.area ul { list-style: none; color: var(--ink-soft); }
.area li { padding: .25rem 0; border-bottom: 1px dashed var(--line); }
.area li:last-child { border-bottom: none; }
.route {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 2.5rem auto 0; max-width: 820px;
  font-weight: 600; color: var(--navy); font-size: .95rem;
}
.route .line { flex: 1; height: 3px; background: repeating-linear-gradient(90deg, var(--wheat) 0 12px, transparent 12px 20px); }
.route .pin { background: var(--navy); color: var(--white); padding: .5rem 1rem; border-radius: 999px; white-space: nowrap; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color: var(--white); border-radius: 20px; padding: 3.2rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .5rem; }
.cta-band p { color: #d6deec; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; text-align: center; padding: 2.4rem 1.6rem; } .cta-band .btn-row { justify-content: center; } }

/* form */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.3rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .35rem; color: var(--navy); }
input, select, textarea { width: 100%; padding: .75rem .9rem; font: inherit; border: 1px solid var(--line); border-radius: 10px; background: var(--cream); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--wheat); border-color: var(--wheat); background: var(--white); }
textarea { min-height: 120px; resize: vertical; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .4rem .8rem; }
.checks label { display: flex; align-items: center; gap: .5rem; font-weight: 500; color: var(--ink); margin: 0; }
.checks input { width: auto; }
.form-note { font-size: .85rem; color: var(--ink-soft); margin-top: 1rem; }
.contact-side .card { margin-bottom: 1.2rem; }
.contact-side .big { font-family: "Playfair Display", serif; font-size: 1.6rem; color: var(--navy); text-decoration: none; font-weight: 700; }

/* footer */
footer { background: var(--navy-dark); color: #b9c4d8; padding: 3.5rem 0 2rem; margin-top: 0; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; text-align: center; } footer .brand { justify-content: center; } }
footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
footer a { color: #d6deec; text-decoration: none; }
footer a:hover { color: var(--wheat-light); }
footer ul { list-style: none; }
footer li { margin-bottom: .45rem; }
footer .brand-text { color: var(--white); }
footer .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .82rem; text-align: center; color: #8592ab; }
