/* =========================================================
   Cremeux patisserie · demo
   Φωτεινό, παστέλ, ευανάγνωστο. Χρώματα από τη φωτογραφία
   του καταστήματος στο Google Maps (ροζ-μωβ drip cake).
   ========================================================= */

:root {
  --cream: #fbf6ef;
  --cream-2: #f5ece2;
  --white: #fffdfa;
  --rose-50: #fdf1f3;
  --rose-100: #f7e0e5;
  --rose-200: #efc6d0;
  --rose-600: #a3445d;   /* κουμπιά: αντίθεση ~6:1 με λευκό */
  --rose-700: #87344b;
  --pistachio-100: #e7efdc;
  --pistachio-700: #4b6737;
  --lavender-100: #ebe5f5;
  --lavender-700: #5b4b86;
  --ink: #3a2a2f;
  --ink-2: #6a5459;
  --line: #eadbd5;
  --focus: #5b4b86;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(58, 42, 47, .05), 0 8px 28px rgba(58, 42, 47, .07);

  --font-body: "Commissioner", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Alegreya", Georgia, "Times New Roman", serif;

  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--rose-700); }
a:hover { color: var(--rose-600); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rose-600); color: #fff; }
.btn-primary:hover { background: var(--rose-700); color: #fff; }
.btn-secondary { background: var(--white); color: var(--rose-700); border-color: var(--rose-200); }
.btn-secondary:hover { border-color: var(--rose-600); color: var(--rose-700); }
.btn-sm { min-height: 42px; padding: .55em 1.1em; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .85em 2em; font-size: 1.08rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-link {
  background: none; border: 0; padding: 6px 2px; cursor: pointer;
  font: 500 .95rem var(--font-body); color: var(--rose-700); text-decoration: underline; text-underline-offset: 3px;
}
.btn-link:hover { color: var(--rose-600); }

.eyebrow {
  display: inline-block; margin: 0 0 .75em;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--pistachio-700);
}

/* ---------- Demo bar ---------- */
.demo-bar {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 7px 16px; background: var(--lavender-100); color: var(--lavender-700);
  font-size: .82rem; font-weight: 500; text-align: center; line-height: 1.35;
}
.demo-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--lavender-700); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 239, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }

.brand { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--rose-700); letter-spacing: .01em; }
.brand-sub { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--ink-2); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a:not(.btn) {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem;
}
.site-nav a:not(.btn):hover { background: var(--rose-50); color: var(--rose-700); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--white); cursor: pointer; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px;
  background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; content: "";
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 961px) {
  .site-nav { display: flex; align-items: center; gap: 18px; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; box-shadow: 0 12px 24px rgba(58, 42, 47, .08);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; margin-bottom: 12px; }
  .site-nav a:not(.btn) { padding: 14px 8px; border-radius: 10px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-cta { width: 100%; min-height: 50px; }
}

/* ---------- Placeholder tag ---------- */
.ph-tag {
  position: absolute; left: 10px; bottom: 10px;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(255, 253, 250, .92); color: var(--ink-2);
  font-size: .72rem; font-weight: 500; line-height: 1.4; letter-spacing: .01em;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero { padding: 36px 0 56px; background: linear-gradient(180deg, var(--cream) 0%, var(--rose-50) 100%); }
.hero-inner { display: grid; gap: 32px; align-items: center; }
.hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; margin-bottom: 1.6em; }
.hero-media {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4 / 5; max-height: 72vh; background: var(--rose-100); box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .hero { padding-top: 24px; }
  .hero-inner { gap: 28px; }
  .hero-media { aspect-ratio: 4 / 3.6; }
  .demo-long { display: none; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}
@media (min-width: 900px) {
  .hero { padding: 64px 0 88px; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-head { margin-bottom: 32px; max-width: 680px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro { color: var(--ink-2); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.filter-btn {
  min-height: 42px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font: 500 .95rem var(--font-body); cursor: pointer; transition: background-color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--rose-200); background: var(--rose-50); }
.filter-btn[aria-pressed="true"] { background: var(--rose-100); border-color: var(--rose-600); color: var(--rose-700); font-weight: 600; }
.filters-note { font-size: .85rem; color: var(--ink-2); margin: 0 0 24px; }

.gallery-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1040px) { .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.gallery-item[hidden] { display: none; }
.gallery-btn {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  text-align: left; color: inherit; font: inherit; border-radius: var(--radius);
}
.gallery-frame {
  display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius);
  background: var(--rose-100);
}
.gallery-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-btn:hover .gallery-frame img { transform: scale(1.03); }
.gallery-caption { display: block; padding: 10px 4px 0; font-weight: 500; font-size: .95rem; line-height: 1.35; }
.gallery-cat { display: block; padding: 2px 4px 0; font-size: .82rem; color: var(--ink-2); }

.img-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 12px;
  background: linear-gradient(135deg, var(--rose-100), var(--lavender-100));
  color: var(--ink-2); font-size: .85rem; text-align: center;
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: min(960px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--white); color: var(--ink);
  box-shadow: 0 20px 60px rgba(58, 42, 47, .3); overflow: hidden;
}
.lightbox::backdrop { background: rgba(58, 42, 47, .55); }
.lb-inner { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); }
.lb-media { position: relative; background: var(--cream-2); flex: 1 1 auto; min-height: 0; display: grid; place-items: center; }
.lb-media img { max-width: 100%; max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; }
.lb-tag { left: 14px; bottom: 14px; }
.lb-close {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 253, 250, .95); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 253, 250, .95); color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  padding: 16px 20px 18px;
}
.lb-footer h3 { margin: 0 0 2px; font-size: 1.25rem; }
.lb-meta { margin: 0; font-size: .85rem; color: var(--ink-2); }
.lb-meta a { color: var(--ink-2); }
@media (max-width: 560px) { .lb-footer .btn { width: 100%; } }

/* ---------- Steps ---------- */
.steps-section { background: var(--white); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  padding: 28px 24px; border-radius: var(--radius); background: var(--cream);
  border: 1px solid var(--line);
}
.step:nth-child(2) { background: var(--rose-50); }
.step:nth-child(3) { background: var(--pistachio-100); }
.step h3 { margin-top: 14px; }
.step p { margin: 0; color: var(--ink-2); }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--rose-700); font: 600 1.25rem var(--font-display);
  border: 1px solid var(--rose-200);
}

/* ---------- Form ---------- */
.request-section { background: linear-gradient(180deg, var(--rose-50), var(--cream)); }
.form-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 24px 18px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
@media (min-width: 700px) { .form-card { padding: 40px 44px; } }

.mode-badge {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 0 0 24px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--lavender-100); color: var(--lavender-700); font-size: .92rem; font-weight: 500;
}
.mode-badge::before { content: "i"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lavender-700); color: #fff; font: 600 .8rem/1 Georgia, serif; margin-top: 1px; }

.field-group { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.field-group legend {
  padding: 0; margin-bottom: 14px;
  font: 600 1.2rem var(--font-display); color: var(--rose-700);
}
.grid-2 { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; min-width: 0; }
.field[hidden] { display: none; }
.field label, .field .label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .97rem; }
.req { color: var(--rose-600); }
.optional { font-weight: 400; color: var(--ink-2); font-size: .9em; }

.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field input[type="date"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid #d9c7c1; border-radius: 12px; background: #fff; color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.field input[type="date"] { min-width: 0; display: block; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236a5459' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--lavender-700); box-shadow: 0 0 0 3px rgba(91, 75, 134, .22);
}
.field [aria-invalid="true"] { border-color: #b3261e; background: #fffafa; }
.field-hint { margin: 6px 0 0; font-size: .87rem; color: var(--ink-2); }
.field-error { margin: 6px 0 0; font-size: .9rem; color: #b3261e; font-weight: 500; }
.field-error:empty { display: none; }
.field-error:not(:empty)::before { content: "! "; font-weight: 700; }

.error-summary {
  margin-bottom: 24px; padding: 14px 18px; border-radius: 12px;
  background: #fff4f3; border: 1.5px solid #e4a8a3; color: #8c1d18;
}
.error-summary p { margin: 0 0 4px; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: #8c1d18; }

/* upload */
.upload-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.upload-drop {
  display: flex !important; align-items: center; justify-content: center; gap: 10px;
  min-height: 84px; padding: 16px; border-radius: 14px; cursor: pointer;
  border: 1.5px dashed var(--rose-200); background: var(--rose-50); color: var(--rose-700);
  font-weight: 600; text-align: center; margin: 0 !important;
}
.upload-drop:hover { border-color: var(--rose-600); }
.upload-input:focus-visible + .upload-drop { outline: 3px solid var(--focus); outline-offset: 3px; }
.upload.has-file .upload-drop { display: none !important; }
.upload-preview { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--cream); }
.upload-preview[hidden] { display: none; }
.upload-preview img { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; flex: none; background: var(--rose-100); }
.upload-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.upload-meta span { font-size: .92rem; overflow-wrap: anywhere; }

/* inspiration */
.inspiration {
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
  padding: 12px; border-radius: 14px; background: var(--pistachio-100); border: 1px solid #cfdcc0;
}
.inspiration[hidden] { display: none; }
.inspiration img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; flex: none; }
.inspiration-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.inspiration-label { font-size: .82rem; color: var(--pistachio-700); font-weight: 600; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
@media (min-width: 640px) { .form-actions { align-items: flex-start; } }
.disclaimer {
  margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--cream);
  border-left: 4px solid var(--rose-200); font-size: .95rem; color: var(--ink);
}

.form-status { margin-bottom: 24px; padding: 18px 20px; border-radius: 14px; font-weight: 500; }
.form-status:focus { outline: none; }
.form-status.is-demo { background: var(--lavender-100); color: var(--lavender-700); border: 1.5px solid #cfc3e8; }
.form-status.is-success { background: var(--pistachio-100); color: #354b27; border: 1.5px solid #bcd1a8; }
.form-status.is-error { background: #fff4f3; color: #8c1d18; border: 1.5px solid #e4a8a3; }
.form-status p { margin: 0; }
.form-status p + p { margin-top: 6px; font-weight: 400; }
.form-status .btn-link { margin-top: 8px; color: inherit; }

/* ---------- About ---------- */
.about-section { padding-top: 40px; padding-bottom: 40px; }
.about-inner { text-align: center; }
.about-inner p { color: var(--ink-2); font-size: 1.08rem; }
.placeholder-note {
  display: inline-block; font-size: .8rem !important; padding: 3px 10px; border-radius: 999px;
  background: var(--lavender-100); color: var(--lavender-700) !important;
}

/* ---------- Contact ---------- */
.contact-section { background: var(--white); }
.contact-grid { display: grid; gap: 18px; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.contact-card { padding: 26px 24px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); display: flex; flex-direction: column; }
.contact-card h3 { font-size: 1.15rem; color: var(--rose-700); }
.contact-card address { font-style: normal; font-size: 1.08rem; margin-bottom: 18px; }
.contact-card .btn-row { margin-top: auto; }
.contact-big { font-size: 1.3rem; font-weight: 600; letter-spacing: .01em; margin-bottom: 18px; }
.contact-big a { color: var(--ink); text-decoration: none; }
.hours-list { margin: 0; padding: 0; list-style: none; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours-pending { color: var(--ink-2); margin: 0 0 12px; }
@media (max-width: 480px) { .contact-card .btn-row .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--rose-50); border-top: 1px solid var(--line); padding: 48px 0 24px; font-size: .95rem; }
.footer-inner { display: grid; gap: 28px; }
@media (min-width: 820px) { .footer-inner { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand p { margin: 8px 0 0; color: var(--ink-2); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-nav a { color: var(--ink); text-decoration: none; display: inline-block; padding: 4px 0; }
.footer-nav a:hover { color: var(--rose-700); text-decoration: underline; }
.footer-contact p { margin: 0 0 6px; }
.footer-contact a { color: var(--ink); }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; color: var(--ink-2); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--ink-2); }
