/* ============================================================
   BAKERY KISSAMOS — stylesheet
   Palette: whitewashed Cretan wall, Aegean blue, honey gold,
   wood-oven terracotta, olive.
   ============================================================ */

:root {
  --cream:      #F6EEDF;
  --cream-2:    #EFE3CC;
  --ink:        #2B2620;
  --aegean:     #1C3A57;
  --aegean-dk:  #142940;
  --honey:      #C8932A;
  --honey-lt:   #E0AC4C;
  --terracotta: #B6502F;
  --olive:      #5B6B41;
  --line:       rgba(43,38,32,0.14);
  --paper:      #FFFCF6;

  --display: "Fraunces", "Georgia", serif;
  --body:    "Karla", "Helvetica Neue", Arial, sans-serif;

  --radius: 2px;
  --shadow: 0 14px 34px rgba(28,58,87,0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0;
  color: var(--aegean-dk);
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-primary {
  background: var(--honey);
  color: var(--paper);
}
.btn-primary:hover { background: var(--terracotta); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  border-color: rgba(246,238,223,0.55);
  color: var(--paper);
}
.btn-outline:hover { background: rgba(246,238,223,0.12); transform: translateY(-2px); }
.btn-dark {
  background: var(--aegean-dk);
  color: var(--paper);
}
.btn-dark:hover { background: var(--terracotta); transform: translateY(-2px); }

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(28,58,87,0);
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 26px 0;
}
.site-header.scrolled {
  background: var(--aegean-dk);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  padding: 14px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
}
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--honey-lt);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--honey-lt);
  flex-shrink: 0;
}
.brand-mark-img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px var(--honey-lt), var(--shadow);
  background: var(--cream);
}
.brand-name {
  font-family: var(--display);
  font-size: 1.18rem;
  letter-spacing: 0.01em;
}
.brand-name small {
  display: block;
  font-family: var(--body);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--honey-lt);
  font-weight: 700;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  color: var(--paper);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--honey-lt);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 26px; height: 2px; background: var(--paper); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(200,147,42,0.18), transparent 45%),
    linear-gradient(170deg, var(--aegean-dk) 0%, var(--aegean) 62%, #234564 100%);
  overflow: hidden;
  padding-top: 110px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.hero-grain {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,147,42,0.28) 0%, transparent 70%);
  filter: blur(2px);
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 50px;
  align-items: center;
}
.hero-eyebrow {
  color: var(--honey-lt);
  font-size: 0.76rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 38px; height: 1px;
  background: var(--honey-lt);
}
.hero h1 {
  color: var(--paper);
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  line-height: 1.06;
  font-weight: 600;
}
.hero h1 em {
  font-style: italic;
  color: var(--honey-lt);
}
.hero-lede {
  margin-top: 26px;
  color: rgba(246,238,223,0.82);
  font-size: 1.08rem;
  max-width: 480px;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  margin-top: 56px;
  display: flex;
  gap: 40px;
}
.hero-stats div strong {
  display: block;
  font-family: var(--display);
  font-size: 1.9rem;
  color: var(--honey-lt);
}
.hero-stats div span {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246,238,223,0.65);
}

/* hero visual: stamped circle + photo frame */
.hero-visual {
  position: relative;
  justify-self: center;
}
.hero-photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  border-radius: 4px;
  background: linear-gradient(150deg, #d8c79f, #b9966a 55%, #8c6a45);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 6px solid var(--paper);
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: -28px;
  left: -28px;
  width: 118px; height: 118px;
  border-radius: 50%;
  background: var(--honey);
  color: var(--aegean-dk);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--display);
  font-size: 0.78rem;
  line-height: 1.3;
  box-shadow: var(--shadow);
  padding: 10px;
}
.hero-badge strong { display: block; font-size: 1.25rem; }

/* divider wave (signature element: wheat-stalk rule) */
.wheat-divider {
  width: 100%;
  height: 28px;
  display: block;
}

/* ---------------- Section shells ---------------- */
section { position: relative; }
.section-pad { padding: 110px 0; }
.section-head {
  max-width: 620px;
  margin: 0 0 56px;
}
.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  margin-top: 14px;
  line-height: 1.18;
}
.section-head p {
  margin-top: 18px;
  color: rgba(43,38,32,0.72);
  font-size: 1.02rem;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------------- About ---------------- */
.about {
  background: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.about-photo {
  aspect-ratio: 1/1.05;
  border-radius: 4px;
  background: linear-gradient(160deg, #efe0bd, #c79a5e 60%, #99713f);
  border: 6px solid var(--cream);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-photo .tag {
  position: absolute;
  top: 22px; right: -18px;
  background: var(--aegean-dk);
  color: var(--paper);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 2px;
  box-shadow: var(--shadow);
}
.about-copy p { color: rgba(43,38,32,0.75); margin-top: 18px; }
.about-list {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}
.about-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.96rem;
}
.about-list .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--terracotta);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ---------------- Specialties ---------------- */
.specialties { background: var(--cream-2); }
.spec-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 46px;
  flex-wrap: wrap;
}
.spec-tab {
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--paper);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all .25s ease;
}
.spec-tab.active, .spec-tab:hover {
  background: var(--aegean-dk);
  color: var(--paper);
  border-color: var(--aegean-dk);
}
.spec-panels { position: relative; }
.spec-panel { display: none; }
.spec-panel.active { display: block; animation: fadeUp .45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px);} to { opacity:1; transform: translateY(0);} }

.spec-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 44px;
}
.spec-intro p { color: rgba(43,38,32,0.74); margin-top: 14px; }
.spec-visual {
  aspect-ratio: 16/10;
  border-radius: 4px;
  border: 6px solid var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.spec-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.spec-visual.bread { background: linear-gradient(155deg,#e9d2a0,#bb8a4d 55%,#8a5f33); }
.spec-visual.pastry { background: linear-gradient(155deg,#ead9b8,#c79a59 50%,#5B6B41); }
.spec-visual.cake { background: linear-gradient(155deg,#f2e2c4,#d8ad6a 55%,#a5763f); }
.spec-visual.coffee { background: linear-gradient(155deg,#caa66a,#7a5230 55%,#3a2616); }

.item-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.item-card {
  background: var(--paper);
  border-radius: 4px;
  padding: 0 24px 26px;
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.item-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ic-photo {
  margin: 0 -24px 18px;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.ic-photo.tall { aspect-ratio: 3/4; }
.ic-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.item-card:hover .ic-photo img { transform: scale(1.06); }
.item-card .ic-top {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 10px;
  padding-top: 22px;
}
.item-card:has(.ic-photo) .ic-top { padding-top: 0; }
.item-card h4 { font-size: 1.08rem; }
.item-card .tag-row {
  margin-top: 12px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.tag-pill {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  background: var(--cream-2);
  color: var(--olive);
}
.item-card p { font-size: 0.92rem; color: rgba(43,38,32,0.68); margin-top: 8px; }

/* ---------------- Gallery / Process strip ---------------- */
.gallery { background: var(--aegean-dk); padding: 90px 0; }
.gallery .section-head h2, .gallery .eyebrow { color: var(--paper); }
.gallery .section-head p { color: rgba(246,238,223,0.7); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid div {
  aspect-ratio: 3/4;
  border-radius: 3px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(246,238,223,0.18);
  display: flex; align-items: flex-end; padding: 14px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--paper);
  transition: transform .35s ease;
}
.gallery-grid div:hover { transform: translateY(-6px); }

/* ---------------- Testimonials ---------------- */
.testimonials { background: var(--cream); }
.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.t-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 30px 28px;
  position: relative;
}
.t-stars { color: var(--honey); letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 14px; }
.t-card p { font-size: 0.96rem; color: rgba(43,38,32,0.78); font-style: italic; }
.t-who {
  margin-top: 20px;
  display: flex; align-items: center; gap: 12px;
}
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--aegean);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 0.95rem;
}
.t-who strong { display: block; font-size: 0.9rem; }
.t-who span { font-size: 0.76rem; color: rgba(43,38,32,0.55); }

/* ---------------- Contact ---------------- */
.contact {
  background: linear-gradient(170deg, var(--aegean-dk), var(--aegean));
  color: var(--paper);
}
.contact .section-head p { color: rgba(246,238,223,0.72); }
.contact .eyebrow { color: var(--honey-lt); }
.contact .section-head h2 { color: var(--paper); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info { display: grid; gap: 26px; }
.ci-row { display: flex; gap: 18px; align-items: flex-start; }
.ci-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(246,238,223,0.35);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--honey-lt);
  font-size: 1.1rem;
}
.ci-row h4 { color: var(--paper); font-size: 1rem; margin-bottom: 4px; }
.ci-row p, .ci-row a { color: rgba(246,238,223,0.78); font-size: 0.92rem; }
.ci-row a:hover { color: var(--honey-lt); }
.map-frame {
  border-radius: 4px;
  overflow: hidden;
  border: 6px solid rgba(246,238,223,0.12);
  box-shadow: var(--shadow);
  min-height: 360px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

.contact-form {
  background: rgba(246,238,223,0.06);
  border: 1px solid rgba(246,238,223,0.16);
  border-radius: 4px;
  padding: 34px;
  display: grid;
  gap: 16px;
}
.contact-form label {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246,238,223,0.65);
  display: block;
  margin-bottom: 7px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  background: rgba(246,238,223,0.08);
  border: 1px solid rgba(246,238,223,0.22);
  border-radius: 2px;
  padding: 13px 14px;
  color: var(--paper);
  font-family: var(--body);
  font-size: 0.94rem;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(246,238,223,0.45); }
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--honey-lt);
  outline-offset: 1px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.78rem; color: rgba(246,238,223,0.55); margin-top: -4px; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: #14283C;
  color: rgba(246,238,223,0.75);
  padding: 56px 0 26px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(246,238,223,0.12);
}
.footer-brand .brand { color: var(--paper); margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; max-width: 320px; color: rgba(246,238,223,0.6); }
.footer-col h4 {
  color: var(--paper);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 0.9rem; }
.footer-col a:hover { color: var(--honey-lt); }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(246,238,223,0.45);
}

/* ---------------- Back to top ---------------- */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--honey);
  color: var(--aegean-dk);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 90;
  border: none; cursor: pointer;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { justify-self: start; margin-top: 30px; }
  .about-grid, .spec-intro, .contact-grid { grid-template-columns: 1fr; }
  .item-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--aegean-dk);
    flex-direction: column;
    padding: 22px 28px;
    gap: 18px;
  }
  .item-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-pad { padding: 76px 0; }
}
