/* ===================================================================
   Bircan Spot - İkinci El Eşya | Niğde
   Tema renkleri logodan alınmıştır (bordo / krem / antrasit / altın)
   Mobil öncelikli (mobile-first) responsive tasarım
   =================================================================== */

:root {
  --bordo: #6e1d2b;          /* logo ana kırmızı/bordo */
  --bordo-koyu: #531320;
  --bordo-acik: #8a2a3a;
  --antrasit: #2b2b2b;       /* logo koyu şerit */
  --krem: #f6efe1;           /* logo zemin */
  --krem-koyu: #efe5d2;
  --altin: #c9a24b;          /* dekoratif altın */
  --altin-acik: #e0c585;
  --metin: #2e2a27;
  --metin-soluk: #6b645c;
  --beyaz: #ffffff;
  --golge: 0 6px 24px rgba(43, 43, 43, .12);
  --golge-buyuk: 0 14px 40px rgba(43, 43, 43, .18);
  --radius: 14px;
  --radius-sm: 9px;
  --gecis: .25s ease;
  --max: 1180px;
  --serif: "Playfair Display", "Georgia", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--sans);
  color: var(--metin);
  background: var(--krem);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

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

a { color: var(--bordo); text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--antrasit); }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 18px; }

.section { padding: 56px 0; }
.section--krem { background: var(--krem-koyu); }
.section--dark { background: var(--antrasit); color: var(--krem); }
.section--dark h2, .section--dark h3 { color: var(--krem); }

/* Bölüm başlıkları */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.section-head .kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bordo);
  font-weight: 700;
  margin-bottom: 10px;
}
.section--dark .section-head .kicker { color: var(--altin-acik); }
.section-head h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
.section-head p { color: var(--metin-soluk); margin-top: 12px; font-size: 1.02rem; }
.section--dark .section-head p { color: #d8d2c6; }
.section-head::after {
  content: "❖";
  display: block;
  color: var(--altin);
  margin-top: 14px;
  font-size: 1.1rem;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--gecis);
  font-family: var(--sans);
  line-height: 1;
}
.btn--primary { background: var(--bordo); color: #fff; }
.btn--primary:hover { background: var(--bordo-koyu); transform: translateY(-2px); }
.btn--gold { background: var(--altin); color: var(--antrasit); }
.btn--gold:hover { background: var(--altin-acik); transform: translateY(-2px); }
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--whatsapp:hover { background: #1da851; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--krem); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { background: transparent; color: var(--bordo); border-color: var(--bordo); }
.btn--outline:hover { background: var(--bordo); color: #fff; }

/* ============== HEADER ============== */
.topbar {
  background: var(--antrasit);
  color: var(--krem);
  font-size: .85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 18px; padding-block: 8px; }
.topbar a { color: var(--krem); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--altin-acik); }
.topbar .topbar__loc { color: #cfc8bb; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--krem);
  border-bottom: 3px solid var(--bordo);
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 10px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: var(--golge); }
.brand__text strong { font-family: var(--serif); font-size: 1.18rem; color: var(--bordo); display: block; line-height: 1.1; }
.brand__text span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--metin-soluk); }

/* Navigasyon */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 10px 14px;
  color: var(--antrasit);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px;
  transition: var(--gecis);
}
.main-nav a:hover, .main-nav a.active { color: var(--bordo); background: rgba(110,29,43,.07); }

.has-drop { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--beyaz);
  min-width: 250px;
  border-radius: var(--radius-sm);
  box-shadow: var(--golge-buyuk);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--gecis);
  border-top: 3px solid var(--altin);
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 12px; font-size: .9rem; border-radius: 6px; }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* Mobil menü butonu */
.nav-toggle { display: none; background: var(--bordo); border: 0; color: #fff; width: 46px; height: 44px; border-radius: 10px; cursor: pointer; font-size: 1.4rem; align-items: center; justify-content: center; }

/* ============== HERO ============== */
.hero {
  position: relative;
  color: var(--krem);
  background:
    linear-gradient(rgba(43,28,30,.82), rgba(83,19,32,.88)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 0h60v60H0z' fill='%236e1d2b'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E");
  background-size: cover, 60px;
  background-position: center;
  text-align: center;
  padding: 76px 0 84px;
}
.hero h1 { font-size: clamp(2rem, 6.5vw, 3.4rem); color: #fff; }
.hero .hero__lead { font-size: clamp(1rem, 2.6vw, 1.2rem); color: #efe5d8; max-width: 640px; margin: 18px auto 0; }
.hero .hero__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 22px auto 0; max-width: 720px; }
.hero .hero__tags span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: 50px; font-size: .82rem; }
.hero .hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero__strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 34px; font-size: .9rem; }
.hero__strip span { display: inline-flex; align-items: center; gap: 8px; color: #efe5d8; }
.hero__strip b { color: var(--altin-acik); }

/* ============== KATEGORİ KARTLARI ============== */
.cat-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.cat-card {
  background: var(--beyaz);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--golge);
  transition: var(--gecis);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(110,29,43,.08);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--golge-buyuk); }
.cat-card__media {
  height: 150px;
  background: linear-gradient(135deg, var(--bordo), var(--bordo-acik));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--altin-acik);
  position: relative;
}
.cat-card__img { width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.cat-card__media::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 0h40v40H0z' fill='none'/%3E%3Cpath d='M20 0v40M0 20h40' stroke='%23ffffff' stroke-opacity='.06'/%3E%3C/svg%3E"); z-index: 2; pointer-events: none; }
.cat-card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.cat-card__body h3 { font-size: 1.3rem; color: var(--bordo); }
.cat-card__body p { color: var(--metin-soluk); font-size: .92rem; margin: 8px 0 14px; }
.cat-card__list { list-style: none; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.cat-card__list li { background: var(--krem-koyu); color: var(--metin); font-size: .8rem; padding: 5px 11px; border-radius: 50px; }
.cat-card__link { margin-top: auto; font-weight: 700; color: var(--bordo); display: inline-flex; align-items: center; gap: 6px; }
.cat-card__link:hover { gap: 10px; }

/* ============== GALERİ ============== */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery__item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--krem-koyu), #e3d6bf);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--golge);
  border: 1px solid rgba(110,29,43,.1);
}
.gallery__item svg { width: 54px; height: 54px; color: var(--bordo); opacity: .55; }
.gallery__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.gallery__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(43,28,30,.9));
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  padding: 22px 12px 10px;
  z-index: 2;
}
.gallery__note { text-align: center; color: var(--metin-soluk); font-size: .85rem; margin-top: 18px; }

/* Tıklanabilir foto ipucu (galeri + ürün kartları) */
.gallery__photo, .product__photo { cursor: zoom-in; transition: transform .45s ease; }
.gallery__item:hover .gallery__photo,
.product:hover .product__photo { transform: scale(1.05); }

/* ============== LIGHTBOX (büyütme + geçiş) ============== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(26, 14, 16, .92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(1000px, 100%);
  max-height: 78vh;
}
.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  border: 3px solid rgba(246,239,225,.9);
  background: var(--krem);
  /* görseller arası geçiş */
  opacity: 1;
  transform: scale(1);
  transition: opacity .25s ease, transform .25s ease;
}
.lightbox.is-changing .lightbox__img { opacity: 0; transform: scale(.96); }
.lightbox__caption {
  margin-top: 16px;
  color: var(--krem);
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .02em;
  text-align: center;
}
.lightbox__count {
  display: block;
  margin-top: 4px;
  font-family: var(--sans, inherit);
  font-size: .8rem;
  color: rgba(246,239,225,.65);
}
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(246,239,225,.14);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.lightbox__btn:hover { background: var(--bordo); }
.lightbox__btn:active { transform: translateY(-50%) scale(.92); }
.lightbox__btn--prev { left: -10px; }
.lightbox__btn--next { right: -10px; }
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(246,239,225,.14);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox__close:hover { background: var(--bordo); }
body.lightbox-open { overflow: hidden; }

@media (max-width: 600px) {
  .lightbox { padding: 14px; }
  .lightbox__btn { width: 44px; height: 44px; font-size: 1.4rem; }
  .lightbox__btn--prev { left: 2px; }
  .lightbox__btn--next { right: 2px; }
}

/* ============== ÖZELLİK / GÜVEN ŞERİDİ ============== */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.feature {
  background: var(--beyaz);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--golge);
  border-bottom: 3px solid var(--altin);
}
.feature__icon { width: 58px; height: 58px; margin: 0 auto 14px; background: rgba(110,29,43,.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--bordo); }
.feature__icon svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--metin-soluk); font-size: .92rem; }

/* ============== BÖLGE / LOCAL SEO ============== */
.region { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.region__chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.region__chips a {
  background: var(--beyaz);
  border: 1px solid rgba(110,29,43,.2);
  color: var(--bordo);
  font-size: .85rem;
  padding: 8px 14px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--gecis);
}
.region__chips a:hover { background: var(--bordo); color: #fff; }
.region__list { columns: 2; column-gap: 26px; font-size: .92rem; }
.region__list li { margin-bottom: 7px; list-style: none; padding-left: 18px; position: relative; }
.region__list li::before { content: "📍"; position: absolute; left: 0; font-size: .8rem; }

/* ============== İLETİŞİM ============== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.contact-card {
  background: var(--beyaz);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--golge);
}
.contact-card h3 { color: var(--bordo); margin-bottom: 18px; }
.contact-line { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.contact-line .ic { flex: 0 0 44px; width: 44px; height: 44px; background: rgba(110,29,43,.08); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--bordo); }
.contact-line .ic svg { width: 22px; height: 22px; }
.contact-line strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--metin-soluk); }
.contact-line a, .contact-line span { font-size: 1.05rem; color: var(--metin); font-weight: 600; }
.contact-line a:hover { color: var(--bordo); }
.contact-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }

/* CTA bandı */
.cta-band { background: linear-gradient(135deg, var(--bordo), var(--bordo-koyu)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 4.5vw, 2.2rem); }
.cta-band p { color: #f0dfe2; max-width: 560px; margin: 14px auto 26px; }
.cta-band .hero__actions { margin-top: 0; }

/* ============== İÇERİK / SEO METNİ ============== */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin: 32px 0 14px; color: var(--bordo); }
.prose h3 { font-size: 1.25rem; margin: 26px 0 10px; }
.prose p { margin-bottom: 14px; color: var(--metin); }
.prose ul { margin: 0 0 18px 20px; }
.prose li { margin-bottom: 7px; }

/* Breadcrumb */
.breadcrumb { background: var(--krem-koyu); font-size: .85rem; padding: 12px 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li::after { content: "›"; margin-left: 8px; color: var(--metin-soluk); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--metin-soluk); }
.breadcrumb a:hover { color: var(--bordo); }
.breadcrumb [aria-current] { color: var(--bordo); font-weight: 600; }

/* Kategori sayfası ürün listesi */
.product-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.product {
  background: var(--beyaz);
  border-radius: var(--radius);
  box-shadow: var(--golge);
  overflow: hidden;
  border: 1px solid rgba(110,29,43,.08);
  transition: var(--gecis);
  display: flex;
  flex-direction: column;
}
.product:hover { transform: translateY(-5px); box-shadow: var(--golge-buyuk); }
.product__media { position: relative; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--krem-koyu), #e3d6bf); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product__media svg { width: 60px; height: 60px; color: var(--bordo); opacity: .6; }
.product__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.product__body { padding: 18px 20px 22px; }
.product__body h3 { font-size: 1.2rem; color: var(--bordo); }
.product__body p { color: var(--metin-soluk); font-size: .9rem; margin: 8px 0 14px; }
.product__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product__tags span { background: var(--krem-koyu); font-size: .76rem; padding: 4px 10px; border-radius: 50px; color: var(--metin); }

/* ============== FOOTER ============== */
.site-footer { background: var(--antrasit); color: #cfc8bb; padding-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; padding-bottom: 36px; }
.footer-col h4 { color: var(--krem); font-family: var(--serif); font-size: 1.15rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #cfc8bb; font-size: .92rem; }
.footer-col a:hover { color: var(--altin-acik); }
.footer-brand img { width: 70px; height: 70px; border-radius: 50%; margin-bottom: 14px; box-shadow: var(--golge); }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; text-align: center; font-size: .82rem; color: #9a9389; }
.footer-bottom a { color: #cfc8bb; }

/* WhatsApp yüzen buton */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.5);
  z-index: 999;
  transition: var(--gecis);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; color: #fff; }

/* ============== RESPONSIVE ============== */
@media (min-width: 560px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-actions { flex-direction: row; }
}

@media (min-width: 880px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .region { grid-template-columns: 1.1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .section { padding: 72px 0; }
}

/* Masaüstü navigasyon / mobil menü kontrolü */
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn span.cta-label { display: none; }
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    background: var(--krem);
    flex-direction: column;
    align-items: stretch;
    padding: 84px 18px 30px;
    box-shadow: var(--golge-buyuk);
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    z-index: 1100;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 14px 12px; border-bottom: 1px solid rgba(0,0,0,.06); border-radius: 0; font-size: 1.05rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border-top: 0; padding: 0 0 0 12px; min-width: 0;
    background: transparent; border-left: 2px solid var(--altin); margin: 4px 0 8px;
  }
  .dropdown a { font-size: .95rem; padding: 10px 12px; }
  .has-drop > a::after { content: " ▾"; font-size: .8rem; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: var(--gecis); z-index: 1050; }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
  .nav-close { position: absolute; top: 16px; right: 16px; background: none; border: 0; font-size: 1.8rem; color: var(--bordo); cursor: pointer; line-height: 1; }
}

@media (min-width: 921px) {
  .nav-close { display: none; }
}

@media (max-width: 420px) {
  .brand__text span { display: none; }
  .topbar .topbar__loc { display: none; }
}
