/* ==========================================================================
   Öz Konya Hurda — ana stil dosyası
   Palet: galvaniz çinko zemin, ham bakır vurgu, patina yeşili, mürekkep siyahı
   ========================================================================== */

:root {
  --zinc:    #E9E7E2;   /* sayfa zemini, galvaniz sac */
  --paper:   #F7F5F1;   /* kart zemini */
  --ink:     #16211F;   /* metin ve koyu bloklar */
  --ink-2:   #1F2E2B;   /* koyu blok ikinci ton */
  --copper:  #A85423;   /* ham bakır — ana vurgu */
  --copper-l:#C96A31;
  --patina:  #3E7A6A;   /* bakır patinası — ikincil */
  --steel:   #7E857F;   /* ikincil metin */
  --line:    #CFCCC4;   /* çizgiler */
  --white:   #FFFFFF;

  --wrap: 1180px;
  --r: 4px;             /* köşe yarıçapı: metal levha gibi keskin */
  --shadow: 0 18px 40px -22px rgba(22, 33, 31, .45);

  --f-display: 'Archivo Black', 'Arial Black', sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(88px + env(safe-area-inset-top, 0px));
}

body {
  margin: 0;
  background: var(--zinc);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--copper); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3 {
font-family: var(--f-display);
font-weight: 400;
letter-spacing: -.02em;
line-height: 1.05;
margin: 0 0 .5em;
color: #222222;
}

h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); }
h3 { font-size: 1.18rem; letter-spacing: -.01em; }

p { margin: 0 0 1em; max-width: 68ch; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--ink); color: var(--zinc); }
.section--dark h2 { color: var(--white); }
.section--dark p { color: #C4CBC7; }

.lead { font-size: 1.12rem; color: var(--steel); }
.section--dark .lead { color: #AFB8B4; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r);
  font-weight: 800;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--copper); color: var(--white); }
.btn--primary:hover { background: var(--copper-l); }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.section--dark .btn--ghost { color: var(--zinc); }
.btn--ghost:hover { background: var(--ink); color: var(--zinc); }
.section--dark .btn--ghost:hover { background: var(--zinc); color: var(--ink); }
.btn--wa { background: #1FA855; color: #fff; }
.btn--wa:hover { background: #24bd60; }

/* ---------- Üst bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(233, 231, 226, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
}
.topbar__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; height: 76px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 38px; height: 38px; flex: none;
  background: var(--copper); border-radius: 3px;
  display: grid; place-items: center;
  color: #fff; font-family: var(--f-display); font-size: 1.05rem;
}
.brand__name { font-family: var(--f-display); font-size: 1.12rem; line-height: 1.05; }
.brand__sub { display: block; font-family: var(--f-body); font-size: .68rem; font-weight: 700;
  color: var(--steel); letter-spacing: .06em; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  color: var(--ink); font-weight: 700; font-size: .95rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--copper); text-decoration: none; }

.topbar .btn { padding: 11px 18px; }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: var(--paper); border-radius: var(--r); cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.burger span { width: 20px; height: 2px; background: var(--ink); display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 620px; display: flex; align-items: flex-end;
  background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img {
  width: 100%; height: 100%; object-fit: cover; opacity: .55;
}
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,33,31,.55) 0%, rgba(22,33,31,.35) 40%, rgba(22,33,31,.95) 100%);
}
.hero__in { position: relative; z-index: 2; padding: 120px 0 0; width: 100%; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero p { color: #CFD6D2; font-size: 1.15rem; max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }

/* Hero altındaki bilgi şeridi */
.strip {
  position: relative; z-index: 2;
  margin-top: 54px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.strip__item { padding: 22px 20px 26px; border-right: 1px solid rgba(255,255,255,.12); }
.strip__item:last-child { border-right: 0; }
.strip__k { font-family: var(--f-display); font-size: 1.5rem; color: var(--white); display: block; }
.strip__v { font-size: .84rem; color: #A9B2AE; font-weight: 600; }

/* ---------- Bölüm başlığı ---------- */
.head { max-width: 62ch; margin-bottom: 44px; }
.head h2 { margin-bottom: .35em; }

/* ---------- Malzeme tablosu ---------- */
.materials { border-top: 2px solid var(--ink); }
.material {
  display: grid; grid-template-columns: 54px 1fr auto;
  gap: 20px; align-items: center;
  padding: 20px 4px; border-bottom: 1px solid var(--line);
}
.material__swatch { width: 54px; height: 54px; border-radius: 3px; }
.material h3 { margin: 0 0 2px; }
.material p { margin: 0; font-size: .93rem; color: var(--steel); }
.material__tag {
  font-size: .78rem; font-weight: 800; letter-spacing: .04em;
  color: var(--patina); border: 1px solid var(--patina);
  padding: 5px 11px; border-radius: 100px; white-space: nowrap;
}

/* ---------- Adımlar (gerçek bir sıra olduğu için numaralı) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.step { background: var(--paper); padding: 34px 28px; }
.step__n {
  font-family: var(--f-display); font-size: 2.6rem; color: var(--copper);
  line-height: 1; display: block; margin-bottom: 14px;
}
.step p { font-size: .96rem; color: var(--steel); margin: 0; }

/* ---------- Galeri ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery button {
  padding: 0; border: 0; background: var(--ink-2); cursor: pointer;
  aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); position: relative;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery button:hover img { transform: scale(1.05); }
.gallery button:nth-child(1), .gallery button:nth-child(6) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(10,16,15,.94); padding: 24px;
  align-items: center; justify-content: center;
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 86vh; object-fit: contain; border-radius: var(--r); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255,255,255,.12); color: #fff;
  border: 0; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  font-size: 1.4rem; line-height: 1; display: grid; place-items: center;
}
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.24); }

/* ---------- Video bölümü ---------- */
.videobox {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: #000; aspect-ratio: 16 / 9;
}
.videobox video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Kantar fişi (iletişim kartı) ---------- */
.ticket {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.ticket::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 6px;
  background: repeating-linear-gradient(90deg, var(--zinc) 0 10px, transparent 10px 20px);
}
.ticket h3 { margin-bottom: 18px; }
.ticket__row {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 11px 0; border-bottom: 1px dashed var(--line);
  font-size: .95rem;
}
.ticket__row:last-of-type { border-bottom: 0; }
.ticket__row dt { color: var(--steel); font-weight: 700; margin: 0; flex: none; }
.ticket__row dd { margin: 0; text-align: right; font-weight: 700; }
.ticket dl { margin: 0 0 22px; }
.ticket .btn { width: 100%; justify-content: center; margin-bottom: 10px; }

/* ---------- Konum ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.map { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.map iframe { width: 100%; height: 440px; border: 0; display: block; }

/* ---------- Instagram ---------- */
.ig {
  display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  background: var(--ink-2); color: var(--zinc); padding: 40px 36px; border-radius: var(--r);
}
.ig h2 { color: #fff; margin-bottom: .3em; }
.ig p { color: #AFB8B4; margin: 0; }
.ig__btn {
  background: linear-gradient(135deg, #C96A31, #A85423 55%, #3E7A6A);
  color: #fff; white-space: nowrap;
}
.ig__btn:hover { filter: brightness(1.08); }

/* ---------- İlçe / hizmet bağlantıları ---------- */
.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.link-card {
  display: block; background: var(--paper); border: 1px solid var(--line);
  border-left: 4px solid var(--copper); border-radius: var(--r);
  padding: 20px 22px; color: var(--ink);
}
.link-card:hover { text-decoration: none; background: var(--white); border-left-color: var(--patina); }
.link-card strong { display: block; font-size: 1.05rem; margin-bottom: 3px; }
.link-card span { font-size: .9rem; color: var(--steel); }

/* ---------- SSS ---------- */
.faq details {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
.faq summary {
  cursor: pointer; font-weight: 800; font-size: 1.05rem; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-display); color: var(--copper); font-size: 1.4rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--steel); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #A9B2AE; padding: 62px 0 130px; font-size: .94rem; }
.footer a { color: var(--zinc); }
.footer h4 { font-family: var(--f-display); color: #fff; font-size: 1rem; margin: 0 0 14px; font-weight: 400; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer__bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- Mobil alt çağrı çubuğu ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; grid-template-columns: repeat(3, 1fr);
  background: var(--ink); border-top: 1px solid rgba(255,255,255,.14);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.callbar a {
  padding: 14px 6px; text-align: center; color: var(--zinc);
  font-size: .84rem; font-weight: 800; border-right: 1px solid rgba(255,255,255,.12);
}
.callbar a:last-child { border-right: 0; }
.callbar a:hover { text-decoration: none; background: var(--ink-2); }
.callbar svg { display: block; margin: 0 auto 4px; }

/* ---------- Duyarlı ---------- */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .steps, .links { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery button:nth-child(1), .gallery button:nth-child(6) { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(2) { border-right: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .ig { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .nav, .topbar .btn--primary { display: none; }
  .burger { display: flex; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: calc(76px + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 22px 18px;
  }
  .nav.is-open a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .hero { min-height: 560px; }
  .hero__in { padding-top: 90px; }
  .callbar { display: grid; }
  .material { grid-template-columns: 44px 1fr; }
  .material__swatch { width: 44px; height: 44px; }
  .material__tag { grid-column: 2; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Form ---------- */
.form { max-width: 620px; }
.form__row { margin-bottom: 18px; }
.form label { display: block; font-weight: 800; font-size: .92rem; margin-bottom: 7px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 14px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 1rem;
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--copper); background: var(--white);
}
.form textarea { resize: vertical; }
.form .btn { margin-top: 6px; }

/* Alt sayfa başlık bloğu */
.section--dark h1 { color: var(--white); margin-bottom: .3em; }
.section--dark .hero__cta { margin-top: 24px; }

/* 404 */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; }