/* =========================================================================
   Seramik Kalıpcım, Antalya. Demo redesign.
   Theme: plaster atelier. Cool plaster paper, ink charcoal, deep olive accent
   (the workshop's own wall color). One theme, one accent, locked.
   Type: Bricolage Grotesque (display) + Archivo (body).
   ========================================================================= */

:root {
  --paper: #f3f2ee;
  --surface: #e9e8e1;
  --olive-tint: #e2e5d8;
  --ink: #21241f;
  --ink-soft: #4d5147;
  --accent: #47542f;
  --accent-deep: #38431f;
  --line: #d4d3c8;
  --white: #fcfcfa;
  --radius: 14px;
  --font-display: "Bricolage Grotesque", "Archivo", sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------------------------------------------------------------ type */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { color: var(--ink-soft); max-width: 62ch; }

.lead { font-size: 1.13rem; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(243, 242, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.main-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.main-nav a {
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); }
.main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

.lang-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}
.lang-toggle button {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  color: var(--ink-soft);
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.header-cta { padding: 9px 18px; font-size: 0.9rem; }

.nav-burger {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-burger span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
.hero {
  padding: 150px 0 84px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-copy .lead { margin: 22px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
}
.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(33, 36, 31, 0.78);
  color: var(--paper);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ------------------------------------------------------------- sections */
section { padding: 84px 0; }
section.tight { padding: 60px 0; }

.section-head { margin-bottom: 44px; }
.section-head p { margin-top: 14px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* category bento */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  background: var(--surface);
}
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.cat-card:hover img { transform: scale(1.04); }
.cat-card .cat-label {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 56px 22px 20px;
  background: linear-gradient(to top, rgba(24, 26, 21, 0.82), transparent);
  color: var(--white);
}
.cat-label h3 { color: var(--white); margin-bottom: 4px; }
.cat-label span { font-size: 0.9rem; opacity: 0.85; }
.cat-a { grid-column: span 7; }
.cat-b { grid-column: span 5; }
.cat-c { grid-column: span 5; }
.cat-d { grid-column: span 7; }

/* process */
.process {
  background: var(--olive-tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.step img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.step-body { padding: 20px 22px 24px; }
.step-body h3 { margin-bottom: 8px; }
.step-body p { font-size: 0.95rem; }

/* split band */
.band-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.band-grid figure {
  border-radius: var(--radius);
  overflow: hidden;
}
.band-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.band-copy h2 { margin-bottom: 18px; }
.band-copy p + p { margin-top: 14px; }
.band-copy .btn { margin-top: 26px; }

.checklist {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 10px;
}
.checklist li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
  transform: translateY(1px) rotate(45deg);
}

/* gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid figure {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.6s var(--ease);
}
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid .wide { grid-column: span 2; }
.gallery-grid .wide img { aspect-ratio: 8 / 5; }

/* big cta */
.big-cta {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(44px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 32px;
  align-items: center;
}
.big-cta h2 { color: var(--paper); }
.big-cta p { color: rgba(243, 242, 238, 0.75); margin-top: 14px; }
.big-cta .actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.big-cta .actions .btn { width: auto; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); }
.btn-outline-light { border-color: rgba(243, 242, 238, 0.5); color: var(--paper); }
.btn-outline-light:hover { background: rgba(243, 242, 238, 0.12); }

/* ------------------------------------------------------------- product page */
.page-hero { padding: 150px 0 30px; }
.page-hero p { margin-top: 16px; }

.product-rows { display: grid; gap: 64px; }
.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.product-row figure {
  border-radius: var(--radius);
  overflow: hidden;
}
.product-row figure img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.product-row h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 12px; }
.product-row .btn { margin-top: 20px; }
.product-row .mini-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mini-gallery img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; }

.note-strip {
  background: var(--olive-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: center;
  justify-content: space-between;
}
.note-strip strong { font-family: var(--font-display); font-size: 1.1rem; }
.note-strip p { font-size: 0.95rem; }

/* ------------------------------------------------------------- contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-card + .contact-card { margin-top: 20px; }
.contact-card h3 { margin-bottom: 14px; }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-list .label {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

form .field { margin-bottom: 16px; }
form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}
form input, form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}
form input::placeholder, form textarea::placeholder { color: #71756a; }
form input:focus, form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.form-note { font-size: 0.85rem; margin-top: 12px; }
.form-status { margin-top: 12px; font-weight: 600; color: var(--accent); }

/* ------------------------------------------------------------- footer */
.site-footer {
  background: var(--ink);
  color: rgba(243, 242, 238, 0.8);
  padding: 56px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(243, 242, 238, 0.15);
}
.site-footer .brand { color: var(--paper); margin-bottom: 14px; }
.site-footer .brand img { filter: invert(1) brightness(1.6); border-radius: 50%; background: transparent; }
.site-footer h4 {
  font-family: var(--font-display);
  color: var(--paper);
  font-size: 1rem;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: rgba(243, 242, 238, 0.8); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.site-footer p { color: rgba(243, 242, 238, 0.65); font-size: 0.92rem; }
.footer-disclaimer {
  padding-top: 22px;
  font-size: 0.84rem;
  color: rgba(243, 242, 238, 0.55);
  max-width: 75ch;
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 960px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 18px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; font-size: 1.05rem; }
  .nav-burger { display: flex; margin-left: auto; }
  .header-cta { display: none; }
  .lang-toggle { margin-left: 0; }

  .hero { padding-top: 120px; }
  .hero-grid, .band-grid, .product-row, .contact-grid, .big-cta {
    grid-template-columns: 1fr;
  }
  .hero-media { aspect-ratio: 4 / 5; max-width: 460px; }
  .cat-a, .cat-b, .cat-c, .cat-d { grid-column: span 12; min-height: 260px; }
  .process-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-row.flip figure { order: -1; }
}

@media (max-width: 540px) {
  .site-header .wrap { gap: 10px; }
  .brand { font-size: 0.88rem; gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .lang-toggle { margin-left: auto; }
  .lang-toggle button { padding: 5px 9px; font-size: 0.78rem; }
  .nav-burger { margin-left: 0; flex-shrink: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .wide { grid-column: span 1; }
  .gallery-grid .wide img { aspect-ratio: 4 / 5; }
  section { padding: 60px 0; }
}

/* motion: elements are revealed by JS (gsap.set hides them at runtime only) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
