/* Çıldır Marble — statik site. Tasarım, kullanıcının sağladığı gerçek ekran
   görüntülerinden (screenshots_cildirmarble.com) piksel piksel çıkarılmıştır:
   renkler görüntülerden örneklendi, fontlar (Playfair Display gövde başlık
   serifi, Quickpen imza el yazısı) ve düzen (split hero, zigzag timeline,
   alternan ocak satırları) birebir eşleştirildi. */

@font-face {
  font-family: "Quickpen";
  src: url("../fonts/Quickpen.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
}

:root {
  --bg: #f7f7f7;
  --white: #ffffff;
  --dark: #1d1d1d;
  --gold: #cfae64;
  --text: #333333;
  --muted: #999999;
  --ghost: #cccccc;
  --body-text: #848484;
  --border: #e6e6e6;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-script: "Quickpen", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body-text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ─── Header ─────────────────────────────────────────────────────────── */
.site-header { background: var(--bg); position: relative; z-index: 20; border-bottom: 1px solid var(--border); }
.site-header__top {
  max-width: 1240px; margin: 0 auto; padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.social-links { display: flex; gap: 18px; }
.social-links img { width: 16px; height: 16px; opacity: .55; }
.social-links a:hover img { opacity: 1; }
.brand { display: flex; flex-direction: column; align-items: center; }
.brand img { height: 46px; width: auto; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 13px; letter-spacing: .5px; color: var(--text); }
.lang-switch a { color: var(--muted); }
.lang-switch a.active, .lang-switch a:hover { color: var(--text); }

.site-nav { border-top: 1px solid var(--border); }
.site-nav ul {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  list-style: none; display: flex; justify-content: center; gap: 40px;
  flex-wrap: wrap;
}
.site-nav a {
  display: block; padding: 18px 0; font-size: 12.5px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted); font-weight: 400;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--text); }
.site-nav li.active a { color: var(--text); font-weight: 600; border-bottom-color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ─── Hero (Anasayfa) — split siyah panel + fotoğraf ────────────────── */
.hero { display: flex; min-height: 620px; }
.hero__text {
  flex: 0 0 40%; background: #000; color: #fff;
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px; position: relative;
}
.hero__title { font-family: var(--font-script); font-weight: 300; font-size: 42px; line-height: 1.25; margin: 0; }
.hero__title strong { font-family: var(--font-sans); font-weight: 700; font-style: normal; }
.hero__title em { font-family: var(--font-sans); font-weight: 300; font-style: normal; }
.hero__subtitle { margin-top: 18px; color: #bbb; font-size: 15px; font-weight: 300; }
.hero__photo { flex: 1; background-size: cover; background-position: center; }
@media (max-width: 900px) {
  .hero { flex-direction: column; min-height: 0; }
  .hero__text { flex: none; padding: 48px 28px; }
  .hero__photo { height: 320px; }
}

/* ─── Sayfa başlığı (iç sayfalar — büyük serif, açık gri "hayalet" metin) ── */
.page-title-band { padding: 70px 0 30px; }
.page-title-band h1 {
  font-family: var(--font-serif); font-weight: 400; color: var(--ghost);
  font-size: 64px; margin: 0; text-align: right;
}
.page-title-band.align-left h1 { text-align: left; }
@media (max-width: 700px) {
  .page-title-band h1 { font-size: 40px; text-align: left; }
}

/* Ürün/tekil detay banner — script font, koyu zemin üstünde (Ürünler sayfası) */
.detail-banner { padding: 70px 0 50px; }
.detail-banner h1 {
  font-family: var(--font-script); font-weight: 300; color: #e2e2e2;
  font-size: 46px; line-height: 1.3; margin: 0;
}
.detail-banner p { color: var(--muted); margin-top: 10px; font-size: 14px; }

/* ─── Kurumsal özet (Anasayfa) ───────────────────────────────────────── */
.about { padding: 70px 0; background: var(--bg); }
.about__grid { display: grid; grid-template-columns: 210px 1fr 260px; gap: 48px; align-items: start; }
.about__left img { width: 100%; }
.about__heading { font-family: var(--font-serif); font-weight: 400; color: var(--ghost); font-size: 30px; line-height: 1.35; margin: 0 0 24px; }
.about__body p { margin: 0 0 14px; font-size: 14px; }
.about__more { display: inline-block; margin-top: 6px; color: var(--gold); font-size: 14px; }
.about__more:hover { text-decoration: underline; }
.about__right { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-self: start; }
.about__right img { height: 175px; object-fit: cover; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__left, .about__right { display: none; }
}

/* ─── Favori Ürünler (Anasayfa) ──────────────────────────────────────── */
.fav-products { padding: 60px 0 80px; text-align: center; }
.fav-products__eyebrow { font-size: 13px; letter-spacing: 2px; color: var(--text); text-transform: uppercase; }
.fav-products__title { font-family: var(--font-sans); font-weight: 300; letter-spacing: 6px; color: var(--muted); font-size: 26px; text-transform: uppercase; margin: 2px 0 0; }
.fav-products__grid { display: flex; justify-content: center; gap: 40px; margin-top: 44px; flex-wrap: wrap; }
.fav-products__item { width: 173px; }
.fav-products__item img { width: 173px; height: 173px; object-fit: cover; background: #fff; }
.fav-products__item span { display: block; margin-top: 14px; font-size: 15px; color: var(--text); font-weight: 400; }

/* ─── Ocaklar teaser (Anasayfa) — koyu, bulanık taş fotoğrafı ────────── */
.mines-teaser {
  position: relative; min-height: 460px; display: flex; align-items: center;
  background: #111 url('../img/hero.jpg') center/cover no-repeat; overflow: hidden;
}
.mines-teaser::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #000 0%, #000 32%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.15) 100%);
}
.mines-teaser__content { position: relative; z-index: 1; max-width: 420px; padding: 0 60px; color: #fff; }
.mines-teaser__content h2 { font-family: var(--font-serif); font-weight: 400; font-size: 34px; margin: 0 0 18px; color: #fff; }
.mines-teaser__content p { color: #ccc; font-size: 14px; margin: 0 0 20px; }
.mines-teaser__link { color: var(--gold); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.mines-teaser__link:hover { text-decoration: underline; }

/* ─── Basit sayfalar (Projeler boş durumu vb.) ───────────────────────── */
.empty-state { padding: 100px 0; text-align: center; }
.empty-state p { font-family: var(--font-serif); font-size: 26px; color: var(--text); }
.btn { display: inline-block; margin-top: 30px; background: #7a7a7a; color: #fff; padding: 16px 40px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.btn:hover { background: #666; }

/* ─── Kurumsal sayfası ────────────────────────────────────────────────── */
.corporate { padding: 40px 0 80px; }
.corporate__grid { display: grid; grid-template-columns: 220px 1fr; gap: 60px; }
.corporate__grid img { width: 100%; }
.corporate__body h2 { font-family: var(--font-serif); font-weight: 400; color: var(--ghost); font-size: 44px; margin: 0 0 28px; }
.corporate__body p { font-size: 14px; margin: 0 0 16px; max-width: 640px; }
@media (max-width: 800px) { .corporate__grid { grid-template-columns: 1fr; } .corporate__grid img { max-width: 220px; } }

/* Zigzag zaman çizelgesi */
.timeline { position: relative; padding: 90px 0 40px; }
.timeline__line { position: absolute; left: 32px; right: 32px; top: 50%; height: 1px; background: var(--border); }
.timeline__row { display: flex; justify-content: space-between; position: relative; }
.timeline__item { flex: 1; text-align: center; position: relative; }
.timeline__dot { width: 14px; height: 14px; border-radius: 50%; background: #e2e2e2; margin: 0 auto; position: relative; z-index: 1; }
.timeline__year { font-family: var(--font-sans); font-size: 15px; color: var(--text); }
.timeline__item.top .timeline__year { margin-bottom: 14px; }
.timeline__item.bottom { display: flex; flex-direction: column-reverse; }
.timeline__item.bottom .timeline__year { margin-top: 14px; }
@media (max-width: 800px) {
  .timeline__row { flex-direction: column; gap: 24px; align-items: flex-start; }
  .timeline__line { display: none; }
  .timeline__item.bottom { flex-direction: row; gap: 10px; align-items: center; }
}

/* ─── Ürünler listesi ─────────────────────────────────────────────────── */
.products-grid { padding: 40px 0 90px; text-align: center; }
.products-grid__eyebrow { font-size: 22px; letter-spacing: 4px; color: var(--muted); text-transform: uppercase; font-weight: 300; margin-bottom: 40px; }
.products-grid__list { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.products-grid__item { width: 220px; }
.products-grid__item img { width: 220px; height: 220px; object-fit: cover; }
.products-grid__item span { display: block; margin-top: 16px; font-size: 16px; color: var(--text); }
.product-tagline { font-family: var(--font-serif); font-style: italic; color: var(--gold); font-size: 18px; margin: 20px 0 10px; }
.product-info-band { background: #efefef; padding: 44px 0; margin-top: 30px; }
.product-info-band h3 { font-family: var(--font-sans); letter-spacing: 2px; text-transform: uppercase; font-size: 15px; color: var(--text); font-weight: 500; margin: 0 0 12px; }
.product-info-band p { font-size: 14px; max-width: 760px; margin: 0; }

/* ─── Ocaklar — alternan satırlar ─────────────────────────────────────── */
.mine-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 60px 0; }
.mine-row:nth-child(even) .mine-row__media { order: 2; }
.mine-row__media img { width: 100%; height: 380px; object-fit: cover; background: #e9e9e9; }
.mine-row__title { font-family: var(--font-serif); font-weight: 400; color: var(--ghost); font-size: 46px; margin: 0 0 16px; }
.mine-row__town { color: var(--muted); letter-spacing: 2px; font-size: 13px; text-transform: uppercase; margin: 0 0 16px; }
.mine-row__desc { font-size: 14px; max-width: 480px; margin: 0; }
@media (max-width: 800px) {
  .mine-row, .mine-row:nth-child(even) { grid-template-columns: 1fr; }
  .mine-row:nth-child(even) .mine-row__media { order: 0; }
}
.mines-gallery-title { text-align: center; font-family: var(--font-serif); color: var(--ghost); font-size: 32px; font-weight: 400; padding: 30px 0 60px; }

/* ─── Haberler ────────────────────────────────────────────────────────── */
.news-grid { padding: 20px 0 90px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 30px; }
.news-card__img { height: 340px; background: #a3a3a3; position: relative; }
.news-card__date { position: absolute; left: 0; top: 0; background: rgba(0,0,0,.5); color: #fff; padding: 10px 16px; font-size: 13px; }
.news-card__title { position: absolute; left: 16px; bottom: 16px; color: #fff; font-size: 20px; font-weight: 500; max-width: 85%; }
.news-card__summary { padding-top: 14px; font-size: 14px; }
.news-card__more { display: inline-block; margin-top: 10px; color: var(--gold); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }

/* ─── Referanslar ─────────────────────────────────────────────────────── */
.refs-grid { padding: 20px 0 90px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.refs-grid__item { border: 1px solid var(--border); background: #fff; height: 110px; display: flex; align-items: center; justify-content: center; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-size: 14px; }

/* ─── İletişim ───────────────────────────────────────────────────────── */
.contact { padding: 40px 0 90px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; }
.contact__panel { background: var(--dark); color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: space-between; min-height: 340px; }
.contact__panel p { margin: 0 0 10px; font-size: 14px; }
.contact__panel a { display: block; }
.contact__social { display: flex; gap: 16px; margin-top: 20px; }
.contact__social img { width: 20px; height: 20px; filter: invert(1); opacity: .8; }
.form-row { display: flex; gap: 30px; margin-bottom: 26px; }
.form-field { flex: 1; }
.form-field label { display: block; font-size: 12px; color: var(--text); margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; border: 0; border-bottom: 2px solid #ccc; background: transparent;
  padding: 8px 4px; font-family: var(--font-sans); font-size: 15px; color: var(--text);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); }
.form-consent { display: flex; align-items: center; gap: 10px; font-size: 14px; margin-bottom: 20px; }
.form-submit { background: var(--gold); color: #fff; border: 0; padding: 12px 32px; border-radius: 24px; font-size: 14px; cursor: pointer; }
.form-submit:hover { opacity: .9; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }

/* ─── Footer ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: #999; }
.site-footer__grid { padding: 60px 0 40px; display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 40px; }
.site-footer__brand img { height: 40px; margin-bottom: 18px; }
.site-footer__brand p, .site-footer__brand a { font-size: 14px; color: #bbb; margin: 0 0 8px; }
.site-footer__brand .social-links { margin-top: 16px; }
.site-footer__brand .social-links img { filter: invert(1); opacity: .8; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 18px; font-weight: 600; }
.newsletter p { font-size: 13px; color: #999; margin: 0 0 16px; }
.newsletter form { display: flex; background: #2b2b2b; border-radius: 4px; overflow: hidden; }
.newsletter input { flex: 1; background: transparent; border: 0; padding: 12px 16px; color: #fff; font-family: var(--font-sans); font-size: 13px; }
.newsletter button { background: transparent; border: 0; color: #ccc; padding: 0 16px; cursor: pointer; }
.footer-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.footer-menu a { font-size: 14px; color: #bbb; }
.footer-menu a:hover, .footer-menu a.active { color: var(--gold); }
.site-footer__bottom { border-top: 1px solid #333; padding: 22px 0; text-align: center; font-size: 13px; color: #888; }
@media (max-width: 800px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Yukarı çık butonu */
.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); display: flex; align-items: center;
  justify-content: center; z-index: 30; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.to-top.visible { opacity: 1; pointer-events: auto; }

/* Mobil menü */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 10px 32px 20px; }
  .site-nav a { padding: 12px 0; }
}
