/* ============================================================
   Katman Rehberi — Şerbet ve Katman Okulu
   Theme: mermer tezgâh + sıcak şeker parlaklığı + modern pastane atölyesi
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Marble & stone */
  --marble-light: #f5f0eb;
  --marble-mid: #e8e0d8;
  --marble-vein: #d4c8bc;
  --marble-dark: #b8a99a;

  /* Warm amber / gold / caramel */
  --amber-glow: #d4920b;
  --amber-light: #f0c75e;
  --gold-line: #c8a84e;
  --caramel-dark: #5c3d1a;
  --caramel-mid: #8b5e34;
  --caramel-accent: #a0714b;
  --honey: #e8b84a;

  /* Neutrals */
  --text-primary: #2c1e10;
  --text-secondary: #5a4636;
  --text-muted: #8a7a6a;
  --white: #ffffff;
  --off-white: #fdfbf8;
  --border-subtle: rgba(200, 168, 78, 0.2);
  --border-gold: rgba(200, 168, 78, 0.45);

  /* Shadows */
  --shadow-card: 0 2px 16px rgba(92, 61, 26, 0.08);
  --shadow-card-hover: 0 6px 28px rgba(92, 61, 26, 0.14);
  --shadow-elevated: 0 8px 40px rgba(92, 61, 26, 0.12);

  /* Typography */
  --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-heading: Georgia, "Times New Roman", serif;

  /* Spacing */
  --section-pad: 5rem 1.5rem;
  --container-max: 1080px;
  --radius: 10px;
  --radius-sm: 6px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.4s;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--marble-light);
  line-height: 1.7;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--caramel-mid);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}
a:hover { color: var(--amber-glow); }
a:focus-visible {
  outline: 2px solid var(--amber-glow);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--caramel-dark);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.text-muted { color: var(--text-muted); }
.text-accent { color: var(--amber-glow); }
.text-center { text-align: center; }

/* ---------- Marble texture background ---------- */
.bg-marble {
  background:
    linear-gradient(135deg, rgba(212, 200, 188, 0.15) 0%, transparent 50%),
    linear-gradient(225deg, rgba(212, 200, 188, 0.1) 0%, transparent 40%),
    var(--marble-light);
}

.bg-warm {
  background:
    linear-gradient(180deg, var(--off-white) 0%, var(--marble-light) 100%);
}

.bg-dark {
  background: linear-gradient(135deg, var(--caramel-dark) 0%, #3a2510 100%);
  color: var(--marble-light);
}
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--amber-light); }
.bg-dark a { color: var(--amber-light); }
.bg-dark a:hover { color: var(--honey); }

/* ---------- Gold line divider ---------- */
.gold-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  border: none;
  margin: 3rem auto;
  max-width: 320px;
}

.gold-divider--wide { max-width: 600px; }

/* ---------- Diamond decorative element ---------- */
.diamond-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0;
}

.diamond-sep::before,
.diamond-sep::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--border-gold);
}

.diamond-sep span {
  width: 10px;
  height: 10px;
  background: var(--gold-line);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 235, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--duration) var(--ease-out);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(92, 61, 26, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--caramel-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.site-logo em {
  font-style: normal;
  color: var(--amber-glow);
}

/* Desktop nav */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.main-nav a {
  position: relative;
  padding: 0.4rem 0.7rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
}

.main-nav a:hover {
  color: var(--caramel-dark);
  background: rgba(200, 168, 78, 0.08);
}

.main-nav a.active {
  color: var(--amber-glow);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--caramel-dark);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease-out), opacity var(--duration) var(--ease-out);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 6rem 1.5rem 5rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(240, 199, 94, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  position: relative;
  margin-bottom: 1rem;
}

.hero h1 .line-accent {
  display: block;
  color: var(--amber-glow);
  font-size: 0.55em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.hero-subtitle {
  position: relative;
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--amber-glow), var(--caramel-mid));
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
  text-decoration: none;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 146, 11, 0.3);
  color: var(--white);
}
.hero-cta svg { width: 18px; height: 18px; }

/* Geometric baklava pattern decoration */
.hero-pattern {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  overflow: hidden;
}
.hero-pattern svg {
  width: 100%;
  height: 100%;
  opacity: 0.06;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--section-pad);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 { margin-bottom: 0.75rem; }

.section-header .lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Section number label */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-line);
  margin-bottom: 0.5rem;
}

/* ============================================================
   ATELIER CARDS
   ============================================================ */
.atelier-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .atelier-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .atelier-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.atelier-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.atelier-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.atelier-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-line), var(--amber-light), var(--gold-line));
  border-radius: 0 0 2px 2px;
  opacity: 0;
  transition: opacity var(--duration) var(--ease-out);
}

.atelier-card:hover::before { opacity: 1; }

.atelier-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.atelier-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Card icon area */
.atelier-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 146, 11, 0.1), rgba(240, 199, 94, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--amber-glow);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Contact icon via CSS text */
.ci-icon {
  font-family: var(--font-body);
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Content with image (side by side) ---------- */
.content-with-image {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin: 2rem 0;
}

.content-with-image .content-text {
  flex: 1;
  min-width: 0;
}

.content-with-image .content-img {
  flex: 0 0 300px;
  max-width: 300px;
}

.content-with-image .content-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.content-with-image.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .content-with-image {
    flex-direction: column;
  }
  .content-with-image.reverse {
    flex-direction: column;
  }
  .content-with-image .content-img {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
}

/* ============================================================
   INFO BLOCKS: "Neden böyle olur?" / "Ne zaman müdahale edilir?"
   ============================================================ */
.info-block {
  border-left: 3px solid var(--gold-line);
  background: rgba(240, 199, 94, 0.06);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}

.info-block h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--amber-glow);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.info-block p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.info-block--caution {
  border-left-color: var(--caramel-accent);
  background: rgba(160, 113, 75, 0.06);
}
.info-block--caution h4 { color: var(--caramel-accent); }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

.compare-table thead th {
  background: var(--caramel-dark);
  color: var(--amber-light);
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compare-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.compare-table thead th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

.compare-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--marble-mid);
  color: var(--text-secondary);
  vertical-align: top;
}

.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table tbody tr:nth-child(even) {
  background: rgba(245, 240, 235, 0.5);
}

/* ============================================================
   IMAGE PLACEHOLDER
   ============================================================ */
.img-placeholder {
  position: relative;
  width: 100%;
  background:
    linear-gradient(135deg, var(--marble-mid) 0%, var(--marble-vein) 50%, var(--marble-mid) 100%);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  aspect-ratio: 16 / 9;
}

.img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(200, 168, 78, 0.06) 20px,
      rgba(200, 168, 78, 0.06) 21px
    );
}

.img-placeholder-label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.img-placeholder-label .icon-camera {
  width: 36px;
  height: 36px;
  border: 2px solid var(--marble-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--caramel-dark);
  font-weight: 600;
  transition: color var(--duration) var(--ease-out);
}

.faq-question:hover { color: var(--amber-glow); }

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration) var(--ease-out), background var(--duration) var(--ease-out);
}

.faq-question .faq-icon::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--gold-line);
  line-height: 1;
}

.faq-item.open .faq-question .faq-icon {
  background: var(--gold-line);
  transform: rotate(45deg);
}
.faq-item.open .faq-question .faq-icon::after { color: var(--white); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration) var(--ease-out);
}

.faq-answer-inner {
  padding: 0 0 1.25rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--caramel-dark);
  color: var(--marble-vein);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand .site-logo { color: var(--marble-light); font-size: 1.1rem; }
.footer-brand .site-logo em { color: var(--amber-light); }
.footer-brand p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--marble-dark); }

.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 0.75rem;
}

.footer-links ul { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--marble-dark);
  transition: color var(--duration) var(--ease-out);
}
.footer-links a:hover { color: var(--amber-light); }

.footer-bottom {
  max-width: var(--container-max);
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.8rem;
  color: var(--marble-dark);
}

/* ============================================================
   CONTACT FORM — Standalone Card
   ============================================================ */
.form-section {
  padding: 0 1.5rem 4rem;
}

.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.form-card-header {
  padding: 2rem 2.5rem 1.5rem;
  border-bottom: 2px solid transparent;
  background:
    linear-gradient(var(--off-white), var(--off-white)) padding-box,
    linear-gradient(90deg, var(--gold-line), var(--amber-light), var(--gold-line)) border-box;
  border-bottom: 2px solid transparent;
  background-clip: padding-box, border-box;
}

.form-card-header h2 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.form-card-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.form-card-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
  padding: 2rem 2.5rem 0;
}

.form-card-fields .form-group--full {
  grid-column: 1 / -1;
}

.form-card-footer {
  padding: 0.5rem 2.5rem 2rem;
}

@media (max-width: 600px) {
  .form-card-header,
  .form-card-fields,
  .form-card-footer {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .form-card-fields {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.form-group .required-star { color: var(--amber-glow); }

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--marble-vein);
  border-radius: var(--radius-sm);
  transition: border-color var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--amber-glow);
  box-shadow: 0 0 0 3px rgba(212, 146, 11, 0.12);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--amber-glow);
  flex-shrink: 0;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2.2rem;
  background: linear-gradient(135deg, var(--amber-glow), var(--caramel-mid));
  color: var(--white);
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform var(--duration) var(--ease-out), box-shadow var(--duration) var(--ease-out), opacity var(--duration) var(--ease-out);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 146, 11, 0.25);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  margin-top: 1rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.3);
  color: #2e7d32;
}

.form-message.error {
  display: block;
  background: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(211, 47, 47, 0.25);
  color: #c62828;
}

/* Honeypot */
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--white);
  border-top: 1px solid var(--border-subtle);
  box-shadow: 0 -4px 24px rgba(92, 61, 26, 0.1);
  padding: 1.25rem 1.5rem;
  transform: translateY(100%);
  transition: transform var(--duration) var(--ease-out);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.cookie-banner-text {
  flex: 1;
  min-width: 240px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cookie-banner-text a { text-decoration: underline; }

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--duration) var(--ease-out), transform var(--duration) var(--ease-out);
}

.cookie-btn--accept {
  background: linear-gradient(135deg, var(--amber-glow), var(--caramel-mid));
  color: var(--white);
}
.cookie-btn--accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 146, 11, 0.25);
}

.cookie-btn--reject {
  background: var(--marble-mid);
  color: var(--text-primary);
}
.cookie-btn--reject:hover { background: var(--marble-vein); }

.cookie-btn--settings {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--marble-vein);
}
.cookie-btn--settings:hover {
  border-color: var(--gold-line);
  color: var(--caramel-dark);
}

/* Cookie settings modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(44, 30, 16, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease-out);
}
.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: var(--shadow-elevated);
}

.cookie-modal h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.cookie-category {
  padding: 1rem 0;
  border-bottom: 1px solid var(--marble-mid);
}
.cookie-category:last-of-type { border-bottom: none; }

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.cookie-category-header span {
  font-weight: 600;
  font-size: 0.95rem;
}

.cookie-category p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Toggle switch */
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--marble-vein);
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--duration) var(--ease-out);
}

.toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--duration) var(--ease-out);
}

.toggle-switch input:checked + .toggle-track { background: var(--amber-glow); }
.toggle-switch input:checked + .toggle-track::after { transform: translateX(20px); }
.toggle-switch input:disabled + .toggle-track { opacity: 0.7; cursor: default; }

.cookie-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* ============================================================
   PAGE HEADER (for sub-pages)
   ============================================================ */
.page-header {
  padding: 4rem 1.5rem 2.5rem;
  text-align: center;
  background: var(--off-white);
  border-bottom: 1px solid var(--border-subtle);
}

.page-header h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
}

/* Content page body */
.page-content {
  padding: 3rem 1.5rem;
}

.page-content .container {
  max-width: 760px;
}

.page-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
}

.page-content h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.page-content ul, .page-content ol {
  margin: 0.75rem 0 1rem 1.5rem;
}
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li {
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0.5rem;
  background: var(--caramel-dark);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  z-index: 10001;
  transition: top 0.2s;
}
.skip-link:focus { top: 0.5rem; }

/* ============================================================
   CONTACT INFO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.contact-item .ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 146, 11, 0.1), rgba(240, 199, 94, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-glow);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* ============================================================
   SITEMAP PAGE
   ============================================================ */
.sitemap-list {
  list-style: none !important;
  margin-left: 0 !important;
}

.sitemap-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--marble-mid);
}

.sitemap-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
}

.sitemap-list a::before {
  content: "◇";
  color: var(--gold-line);
  font-size: 0.7rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-pad: 3.5rem 1rem;
  }

  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(245, 240, 235, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    transition: transform var(--duration) var(--ease-out);
    gap: 0.125rem;
  }

  .main-nav.open { transform: translateY(0); }

  .main-nav a {
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    width: 100%;
  }

  .hero { padding: 4rem 1rem 3.5rem; }

  .compare-table { font-size: 0.82rem; }
  .compare-table thead th, .compare-table tbody td { padding: 0.6rem 0.6rem; }

  .cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { justify-content: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .atelier-card { padding: 1.5rem; }
  .cookie-modal { padding: 1.5rem; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
