/* ═══════════════════════════════════════════════════════════
   Αρτοποιείο Καλυβιώτης — "Αλεύρι & Φωτιά"
   GFS Didot (display) + Commissioner (body)
   ═══════════════════════════════════════════════════════════ */

:root {
  --paper: #f6efe1;
  --paper-deep: #efe5d0;
  --crust: #2c1c10;
  --crust-soft: #57422f;
  --ember: #b34a22;
  --ember-deep: #8f3617;
  --wheat: #d9a441;
  --cream: #fdfaf2;
  --line: rgba(44, 28, 16, 0.16);

  --font-display: "GFS Didot", "Times New Roman", serif;
  --font-body: "Commissioner", "Helvetica Neue", sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Το hidden πρέπει να νικά κάθε display των κουμπιών */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--crust);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--wheat); color: var(--crust); }

/* ── Υφή κόκκου (αλεύρι στον αέρα) ── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

/* ── Τυπογραφία ── */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }

h1 em, h2 em {
  font-style: italic;
  color: var(--ember);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 1.1rem;
}

/* ── Κουμπιά ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background-color 0.25s, color 0.25s;
  cursor: pointer;
}

.btn-primary {
  background: var(--crust);
  color: var(--cream);
  box-shadow: 0 2px 0 var(--ember-deep);
}
.btn-primary:hover {
  background: var(--ember);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(179, 74, 34, 0.35);
}

.btn-ghost {
  color: var(--crust);
  padding-left: 0.4rem;
  text-decoration: underline;
  text-decoration-color: var(--wheat);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.btn-ghost:hover { color: var(--ember); }

.btn-outline {
  border: 1.5px solid var(--crust);
  color: var(--crust);
}
.btn-outline:hover { background: var(--crust); color: var(--cream); }

.btn-small { padding: 0.55rem 1.15rem; font-size: 0.85rem; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--crust);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.wordmark-wheat { color: var(--ember); flex-shrink: 0; }

.site-nav {
  display: flex;
  gap: 1.6rem;
  margin-left: auto;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--crust-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--ember); }

/* ── Hero ── */
.hero {
  position: relative;
  background:
    radial-gradient(70rem 36rem at 85% -10%, rgba(217, 164, 65, 0.22), transparent 60%),
    radial-gradient(50rem 30rem at -10% 110%, rgba(179, 74, 34, 0.10), transparent 55%),
    var(--paper);
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 1.5rem clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 3rem;
  align-items: center;
}

.hero-sub {
  max-width: 34rem;
  margin-top: 1.4rem;
  font-size: 1.08rem;
  color: var(--crust-soft);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--crust-soft);
}

.stars {
  color: var(--wheat);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
}
.star-half { opacity: 0.35; }

/* ── Hero art ── */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}

.hero-loaf { width: min(100%, 380px); }

.loaf-shadow { fill: rgba(44, 28, 16, 0.10); }
.loaf-body {
  fill: var(--paper-deep);
  stroke: var(--crust);
  stroke-width: 2.4;
}
.loaf-score, .loaf-dust {
  stroke: var(--crust);
  stroke-width: 2.2;
  stroke-linecap: round;
}
.loaf-dust { stroke: var(--ember); }

.stamp {
  position: absolute;
  top: -8%;
  right: 2%;
  width: 158px;
  height: 158px;
  display: grid;
  place-items: center;
  z-index: 2;
}

.stamp-ring {
  position: absolute;
  inset: 0;
  animation: spin 26s linear infinite;
}

.stamp-ring text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  fill: var(--crust);
}

.stamp-center {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ember);
  color: var(--cream);
  box-shadow: 0 10px 24px rgba(143, 54, 23, 0.35);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Marquee ── */
.marquee {
  border-top: 1px solid var(--crust);
  border-bottom: 1px solid var(--crust);
  background: var(--crust);
  color: var(--paper);
  overflow: hidden;
  padding: 0.85rem 0;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.marquee-track i {
  font-style: normal;
  color: var(--wheat);
  font-size: 0.85rem;
}

@keyframes scroll { to { transform: translateX(-50%); } }

/* ── Trust strip ── */
.trust {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-item p:last-child {
  font-size: 0.88rem;
  color: var(--crust-soft);
  line-height: 1.45;
  margin-top: 0.6rem;
}

.trust-big {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.1;
}

.trust-star { color: var(--wheat); }

/* ── Sections κοινά ── */
.section-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

/* ── Προϊόντα ── */
.products {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background:
    radial-gradient(60rem 30rem at 110% 0%, rgba(217, 164, 65, 0.13), transparent 55%),
    var(--paper);
}

.products-body {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.7fr);
  gap: 1.8rem;
  align-items: stretch;
}

.products-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.products-photo img {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 18px;
  border: 1.5px solid var(--crust);
  box-shadow: -10px 10px 0 rgba(217, 164, 65, 0.3);
}

.products-photo figcaption {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--crust-soft);
  text-align: center;
}

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

.product-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.8rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
              border-color 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--wheat);
  box-shadow: 0 18px 36px rgba(44, 28, 16, 0.10);
}

.product-icon {
  width: 56px;
  height: 56px;
  color: var(--ember);
  margin-bottom: 1.2rem;
}
.product-icon svg { width: 100%; height: 100%; }

.product-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.product-card p {
  font-size: 0.95rem;
  color: var(--crust-soft);
}

.products-note {
  text-align: center;
  margin-top: 2.6rem;
  font-style: italic;
  color: var(--crust-soft);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

/* ── Ιστορία ── */
.story {
  background: var(--crust);
  color: var(--paper);
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.story .eyebrow { color: var(--wheat); }
.story h2 em { color: var(--wheat); }

.story-inner {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: auto 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.story-photo {
  margin: 0;
  transform: rotate(1.2deg);
}

.story-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1.5px solid rgba(246, 239, 225, 0.35);
  box-shadow: -12px 12px 0 rgba(217, 164, 65, 0.28);
}

.story-photo figcaption {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(246, 239, 225, 0.65);
  font-style: italic;
  text-align: center;
}

.story-rule { color: var(--wheat); padding-top: 0.5rem; }

.story-text {
  margin-top: 1.8rem;
  max-width: 40rem;
  display: grid;
  gap: 1.2rem;
  color: rgba(246, 239, 225, 0.85);
}

.story-text p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.2em;
  float: left;
  line-height: 0.85;
  padding-right: 0.12em;
  color: var(--wheat);
}

/* ── Κριτικές ── */
.reviews {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: var(--paper);
}

.review-grid {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.review-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.8rem;
  position: relative;
}

.review-card::before {
  content: "“";
  position: absolute;
  top: -0.2rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(217, 164, 65, 0.4);
  line-height: 1;
}

.review-card blockquote {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.5;
  margin: 0.9rem 0 1.1rem;
}

.review-card figcaption {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--crust-soft);
}

.reviews-note { text-align: center; margin-top: 2.4rem; }
.reviews-note a {
  color: var(--ember);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--wheat);
  padding-bottom: 2px;
}
.reviews-note a:hover { color: var(--ember-deep); }

/* ── Επίσκεψη ── */
.visit {
  background: var(--paper-deep);
  padding: clamp(4rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.visit-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

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

.visit-details dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 0.2rem;
}

.visit-details dd {
  font-size: 1.05rem;
  margin: 0;
}

.visit-details a {
  color: var(--crust);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--wheat);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.visit-media {
  display: grid;
  gap: 1.6rem;
}

.visit-photo {
  margin: 0;
}

.visit-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1.5px solid var(--crust);
}

.visit-photo figcaption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--crust-soft);
  text-align: center;
}

.visit-map {
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid var(--crust);
  box-shadow: 12px 12px 0 rgba(217, 164, 65, 0.45);
}

.visit-map iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 0;
}

/* ── Footer ── */
.site-footer {
  background: var(--crust);
  color: rgba(246, 239, 225, 0.75);
  text-align: center;
  padding: 3rem 1.5rem;
}

.footer-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--paper);
  margin-bottom: 0.5rem;
}

.footer-fine {
  margin-top: 1.4rem;
  font-size: 0.8rem;
  opacity: 0.65;
}

/* ── Sticky κλήση (mobile) ── */
.mobile-call {
  display: none;
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  align-items: center;
  gap: 0.5rem;
  background: var(--ember);
  color: var(--cream);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(143, 54, 23, 0.45);
}

/* ── Animations ── */
.reveal-load {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 0.12s + 0.1s);
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 0.1s);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal-load, .reveal { opacity: 1; transform: none; animation: none; transition: none; }
  .stamp-ring, .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { min-height: 280px; order: -1; }
  .stamp { top: 0; right: 6%; width: 130px; height: 130px; }
  .stamp-center { width: 76px; height: 76px; }
  .product-grid, .review-grid { grid-template-columns: 1fr 1fr; }
  .products-body { grid-template-columns: 1fr; }
  .products-photo { max-width: 520px; margin: 0 auto; width: 100%; }
  .products-photo img { aspect-ratio: 3 / 4; max-height: 480px; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .visit-inner { grid-template-columns: 1fr; }
  .story-inner { grid-template-columns: 1fr; }
  .story-rule { display: none; }
  .story-photo { transform: none; max-width: 540px; }
  .site-nav { display: none; }
}

@media (max-width: 600px) {
  .product-grid, .review-grid { grid-template-columns: 1fr; }
  .trust-inner { gap: 1.6rem 0.8rem; }
  .trust-big { font-size: 1.25rem; }
  .trust-item p:last-child { font-size: 0.8rem; }
  .header-cta { margin-left: auto; }
  .mobile-call:not([hidden]) { display: inline-flex; }
  .site-footer { padding-bottom: 6.5rem; }
  .visit-map { box-shadow: 6px 6px 0 rgba(217, 164, 65, 0.45); }
  .visit-map iframe { height: 320px; }
}
