/*
Theme Name: Sitare Perde & Tasarım
Theme URI: https://example.com
Author: Sitare Perde & Tasarım
Description: Sitare Perde & Tasarım için hazırlanmış özel WordPress teması. Antrasit gri ve altın vurgulu, açık/ferah hissiyatlı bir kimlik; mermer beyazı zeminlerle dengelenmiş koyu bölümler, 10 ürün kategorisi ve WhatsApp yönlendirmesi içerir.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sitareperde
*/

/* ---------- Design tokens (antrasit gri + altın, mermer beyazı zeminler) ---------- */
:root {
  --graphite: #454A50;
  --graphite-deep: #363A3F;
  --graphite-light: #5C6169;
  --marble: #F5F1E8;
  --marble-card: #FBF9F4;
  --ink: #201D18;
  --ink-soft: #5A5347;

  --gold: #B8912B;
  --gold-light: #D9BB6E;
  --gold-deep: #8C6B1F;

  --line-dark: rgba(217,187,110,0.28);
  --line-marble: rgba(32,29,24,0.14);

  --display: "Cinzel", Georgia, serif;
  --script: "Allura", cursive;
  --body: "Libre Franklin", "Segoe UI", sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--marble);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0 0 0.5em;
  letter-spacing: 0.02em;
}
p { max-width: 62ch; color: var(--ink-soft); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

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

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--graphite);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.brand-lockup { display: flex; align-items: center; gap: 14px; }
.brand-lockup img {
  height: 46px; width: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-dark);
}
.brand-lockup .brand-text {
  font-family: var(--display);
  color: var(--marble);
  font-size: 19px;
  letter-spacing: 0.12em;
  line-height: 1.1;
}
.brand-lockup .brand-text small {
  display: block;
  font-family: var(--body);
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--gold-light);
  margin-top: 3px;
}

.primary-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-menu a {
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--marble);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.primary-menu a:hover,
.primary-menu a:focus-visible { border-color: var(--gold); color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--marble);
  border: 1px solid var(--line-dark);
  padding: 9px 14px;
  border-radius: 2px;
}
.whatsapp-link svg { width: 15px; height: 15px; color: var(--gold-light); }
.whatsapp-link:hover { border-color: var(--gold); color: var(--gold-light); }

.nav-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--graphite-deep);
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background .2s ease;
}
.nav-cta:hover { background: var(--gold-light); }

/* ---------- Hero ---------- */
.hero { background: var(--graphite); }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 76px;
}
.hero-eyebrow {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--marble);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.2;
}
.hero .script-line {
  font-family: var(--script);
  color: var(--gold-light);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1;
  margin: 10px 0 22px;
}
.hero p.lead {
  font-size: 17.5px;
  color: rgba(245,241,232,0.78);
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold);
  color: var(--graphite-deep);
  padding: 14px 26px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  border: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost {
  padding: 14px 22px;
  border: 1px solid rgba(245,241,232,0.45);
  border-radius: 2px;
  font-weight: 600;
  font-size: 14px;
  color: var(--marble);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

/* Kumaş kıvrımı — açık antrasit tonlarında, stok görsel yerine CSS */
.fold-graphic {
  position: relative;
  height: 420px;
  border-radius: 2px;
  overflow: hidden;
  background-image: url('assets/img/hero-curtain.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 90px rgba(0,0,0,0.4), 0 0 0 1px var(--line-dark);
}
.fold-graphic::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 32% 18%, rgba(217,187,110,0.3), transparent 55%);
  animation: foldlight 6s ease-in-out infinite;
}
.fold-graphic::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28%;
  background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
}
@keyframes foldlight {
  0%, 100% { opacity: .6; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(14px); }
}
@media (prefers-reduced-motion: reduce) {
  .fold-graphic::before { animation: none; }
}

/* ---------- Section shells ---------- */
section { padding: 84px 0; }
.section-dark { background: var(--graphite); }
.section-dark h2 { color: var(--marble); }
.section-dark .section-head p { color: rgba(245,241,232,0.7); }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 2.8vw, 34px); letter-spacing: 0.03em; }

/* ---------- Kategoriler (mermer zemin, ikon kartları) ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-marble);
  border: 1px solid var(--line-marble);
}
.category-card {
  background: var(--marble-card);
  padding: 30px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.category-icon {
  flex: none;
  width: 42px; height: 42px;
  color: var(--gold-deep);
}
.category-card h3 {
  font-size: 16px;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  color: var(--ink);
}
.category-card p { font-size: 13.5px; margin: 0; }

/* ---------- Süreç ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-list::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--line-dark);
}
.process-step { position: relative; padding-right: 24px; }
.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--graphite-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 16px;
  position: relative; z-index: 1;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 16.5px; color: var(--marble); margin-bottom: 8px; letter-spacing: 0.02em; }
.process-step p { font-size: 14px; color: rgba(245,241,232,0.65); }

/* ---------- Galeri — pencere + perde illüstrasyonları ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-card {
  background: var(--marble-card);
  border: 1px solid var(--line-marble);
  padding: 20px 20px 22px;
}
.window-illust {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: #EFEAE0;
  border: 1px solid var(--line-marble);
}
.window-illust .pane {
  position: absolute; inset: 14px;
  background: linear-gradient(180deg, #E7E1D3, #F7F4EC);
  border: 1px solid rgba(32,29,24,0.08);
}
.window-illust .pane::after {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: rgba(32,29,24,0.1);
}
.window-illust .curtain {
  position: absolute; top: 0; bottom: 0; width: 34%;
  border-radius: 0 40% 0 0;
}
.window-illust .curtain.left { left: 6px; }
.window-illust .curtain.right { right: 6px; border-radius: 40% 0 0 0; }
.gallery-photo {
  height: 160px;
  overflow: hidden;
  border: 1px solid var(--line-marble);
}
.gallery-photo img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card h3 { font-size: 15.5px; letter-spacing: 0.02em; margin: 16px 0 4px; }
.gallery-card p { font-size: 13.5px; margin: 0; }

/* ---------- Teklif bölümü ---------- */
.quote-section { background: var(--graphite-deep); }
.quote-section h2 { color: var(--marble); }
.quote-section .section-head p { color: rgba(245,241,232,0.65); }
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.quote-notice {
  background: rgba(184,145,43,0.18);
  border: 1px solid var(--gold);
  color: var(--marble);
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 14px;
}
.quote-form { display: grid; gap: 16px; }
.quote-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  color: rgba(245,241,232,0.78);
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 1px;
  border: 1px solid var(--line-dark);
  background: rgba(245,241,232,0.06);
  color: var(--marble);
  font-family: var(--body);
  font-size: 15px;
}
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: rgba(245,241,232,0.4); }
.quote-form textarea { min-height: 110px; resize: vertical; }

.quote-form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: rgba(245,241,232,0.45);
}
.quote-form-divider::before,
.quote-form-divider::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line-dark);
  color: var(--marble);
  padding: 13px 22px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 14px;
}
.btn-whatsapp svg { width: 17px; height: 17px; color: var(--gold-light); }
.btn-whatsapp:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---------- İletişim şeridi ---------- */
.contact-strip { display: flex; flex-direction: column; gap: 18px; margin-top: 8px; }
.contact-strip > div { display: flex; gap: 12px; align-items: flex-start; }
.contact-strip svg { flex: none; width: 20px; height: 20px; color: var(--gold-light); margin-top: 2px; }
.contact-strip strong { display: block; font-size: 14.5px; color: var(--marble); }
.contact-strip span { font-size: 13.5px; color: rgba(245,241,232,0.65); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 40px;
  background: var(--marble);
  border-top: 1px solid var(--line-marble);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h4 {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  color: var(--ink);
}
.footer-grid p, .footer-grid a { font-size: 14px; color: var(--ink-soft); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line-marble);
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- Yüzen WhatsApp butonu ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--graphite-deep);
  padding: 13px 18px 13px 14px;
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(32,29,24,0.28);
}
.whatsapp-float svg { width: 20px; height: 20px; }
.whatsapp-float:hover { background: var(--gold-light); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; }
  .fold-graphic { height: 260px; order: -1; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .process-list, .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .process-list::before { display: none; }
  .quote-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .primary-menu, .whatsapp-link span { display: none; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  section { padding: 56px 0; }
  .category-grid, .gallery-grid { grid-template-columns: 1fr; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }
}
