/* Sefer Avci — seferavci.sg2004.com
   Quiet, typographic catalog. No third-party CSS. */

:root {
  --paper: #efeae2;
  --paper-2: #f8f4ee;
  --ink: #1c1a17;
  --ink-soft: #5f5950;
  --line: #d4cdc3;
  --line-strong: #b9b1a6;
  --copper: #8a4a2d;
  --copper-dark: #6c361d;
  --plate: #301f1a;
  --plate-line: #c4a07a;
  --plate-text: #f0d7c4;
  --whatsapp: #1e4d38;
  --whatsapp-hover: #163a2a;
  --focus: #8a4a2d;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Source Sans 3", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --wrap: 70rem;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --header-h: 4rem;
  --radius: 0.4rem;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
  background: var(--paper);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }
picture { display: block; }
button, input, textarea { font: inherit; color: inherit; }
a { color: var(--copper); text-underline-offset: 0.15em; }
a:hover { color: var(--copper-dark); }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

::selection { background: #e4d0c4; color: var(--ink); }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 100;
}
.skip:focus { top: 0.5rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.wordmark:hover { color: var(--ink); }

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.lang-switch a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.25rem 0.15rem;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--copper);
}
.lang-switch .sep { color: var(--line-strong); font-weight: 400; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 0.3rem;
  width: 2.6rem;
  height: 2.4rem;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; }
.nav-toggle span::before { transform: translate(-50%, calc(-50% - 5px)); }
.nav-toggle span::after { transform: translate(-50%, calc(-50% + 5px)); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translate(-50%, -50%) rotate(-45deg); }

.site-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}
.site-nav a:hover { color: var(--copper-dark); }
.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--copper);
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 0 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
    margin-inline: auto;
  }
  .site-nav a {
    display: block;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }
}

/* Hero
   -------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4.25rem) 0 clamp(2.5rem, 5vw, 4.5rem);
}

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}
.kicker::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--copper);
  margin-top: 0.7rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.15rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.lede {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  color: var(--ink-soft);
  max-width: 28rem;
}

.intro {
  margin: 1.35rem 0 0;
  max-width: 36rem;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.6rem;
}

.hero-figure {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 40%;
  background: #f3f1ec;
}
.hero-figure figcaption {
  padding: 0.65rem 0.9rem 0.8rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.75rem;
  }
  .hero-figure { order: -1; max-width: 28rem; }
  .hero-figure img { aspect-ratio: 1 / 1; }
}

/* Buttons
   -------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border-radius: 0.3rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  min-height: 2.75rem;
  cursor: pointer;
  background: none;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: #2a2622;
  color: var(--paper);
}
.btn-ghost {
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-wa {
  background: var(--whatsapp);
  color: #f4faf6;
  border-color: var(--whatsapp);
}
.btn-wa:hover {
  background: var(--whatsapp-hover);
  color: #f4faf6;
}
.btn svg { width: 1.15rem; height: 1.15rem; }

/* Sections
   -------------------------------- */
.section { padding: 0.5rem 0 3.5rem; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}
.section-head h2 {
  margin: 1.1rem 0 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 720px) {
  .card-grid { grid-template-columns: 1fr; }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  min-height: 100%;
}
.product-card:hover {
  border-color: var(--line-strong);
  color: inherit;
}
.product-card .visual {
  background: #f3f1ec;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product-card .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.product-card .body {
  padding: 1.15rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card .code {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.product-card h3 {
  margin: 0.2rem 0 0.7rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.product-card .body ul {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.98rem;
  flex: 1;
}
.product-card .body li + li { margin-top: 0.2rem; }
.product-card .more {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--copper);
}
.product-card:hover .more { color: var(--copper-dark); }

/* Nameplate (stack visual, not a photo)
   -------------------------------- */
.product-card .visual {
  display: flex;
  flex-direction: column;
}
.product-card .visual .nameplate,
.gallery-stage .nameplate {
  width: 100%;
  flex: 1 1 auto;
}
.gallery-stage:has(.nameplate) {
  display: flex;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
}
.gallery-stage .nameplate {
  min-height: 22rem;
}

.nameplate {
  height: 100%;
  min-height: 14rem;
  background: var(--plate);
  color: var(--plate-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.4rem 1rem;
  position: relative;
}
.nameplate::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border: 1px solid var(--plate-line);
  pointer-events: none;
}
.nameplate .model {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  letter-spacing: 0.02em;
  color: var(--plate-text);
}
.nameplate .mark {
  margin: 0.35rem 0 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plate-line);
}
.nameplate .facts {
  margin: 0;
  padding: 0.75rem 0 0;
  border-top: 1px solid color-mix(in srgb, var(--plate-line) 70%, transparent);
  list-style: none;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--plate-text);
}
.nameplate .code {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plate-line);
}

/* Contact band
   -------------------------------- */
.contact-band {
  background: var(--ink);
  color: #efeae2;
  margin-top: 1rem;
  padding: 2.4rem 0;
}
.contact-band .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
}
.contact-band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  color: #f7f3ec;
}
.contact-band p { margin: 0; color: #d5cfc5; max-width: 32rem; }
.contact-band .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}
.contact-band .btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.contact-band .btn-primary:hover {
  background: #fff;
  color: var(--ink);
}
.contact-band .btn-ghost {
  border-color: #8a8378;
  color: #f3efe8;
}
.contact-band .btn-ghost:hover {
  border-color: #f3efe8;
  color: #fff;
}
@media (max-width: 720px) {
  .contact-band .wrap { grid-template-columns: 1fr; }
  .contact-band .actions { justify-content: flex-start; }
}

/* Page title / product page
   -------------------------------- */
.page-hero {
  padding: clamp(1.8rem, 4vw, 3rem) 0 1.5rem;
}
.page-hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.page-hero .lede { max-width: 40rem; }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  padding-bottom: 3rem;
}
@media (max-width: 800px) {
  .product-layout { grid-template-columns: 1fr; }
}

.gallery-stage {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery-stage img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f3f1ec;
  padding: 0.5rem;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.6rem;
}
.thumbs button {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  background: var(--paper-2);
  cursor: pointer;
  overflow: hidden;
}
.thumbs button img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs button:hover { border-color: var(--line-strong); }

.note {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.spec-block h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}
.spec-list {
  display: grid;
  grid-template-columns: 11.5rem 1fr;
  gap: 0.85rem 1.25rem;
  margin: 0;
  padding: 0.2rem 0 0.4rem;
  border-top: 1px solid var(--line);
}
.spec-list > div {
  display: contents;
}
.spec-list dt {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}
.spec-list dd {
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
@media (max-width: 540px) {
  .spec-list { grid-template-columns: 1fr; gap: 0.1rem; }
  .spec-list dt { padding-top: 0.85rem; }
  .spec-list dd { padding-top: 0.15rem; border-top: 0; }
}

/* Contact page
   -------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 3.5rem;
  align-items: start;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-details {
  margin: 0;
}
.contact-details > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.4rem 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}
.contact-details dt {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.contact-details dd { margin: 0; overflow-wrap: anywhere; }
.contact-details a { color: var(--ink); text-decoration: none; }
.contact-details a:hover { color: var(--copper-dark); }

.inquiry {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.4rem;
}
.inquiry h2 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
}
.inquiry .hint {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.field { margin-bottom: 0.85rem; }
.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0.3rem;
  background: #fff;
  padding: 0.55rem 0.7rem;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--copper);
}

/* Footer
   -------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 5.5rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.site-footer .name {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
  text-decoration: none;
}
.site-footer .name:hover { color: var(--ink); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Floating WhatsApp
   -------------------------------- */
.wa-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #f4faf6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(28, 26, 23, 0.22);
  text-decoration: none;
}
.wa-fab:hover { background: var(--whatsapp-hover); color: #fff; }
.wa-fab svg { width: 1.65rem; height: 1.65rem; }
.wa-fab .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* 404
   -------------------------------- */
.not-found {
  padding: 4rem 0 6rem;
  max-width: 36rem;
}
.not-found h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.025em;
  margin: 0 0 0.7rem;
}

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

@media print {
  .site-header, .wa-fab, .nav-toggle, .hero-actions, .contact-band .actions, .inquiry { display: none !important; }
  body { background: #fff; }
  .site-footer { padding-bottom: 1rem; }
}
