/* Çini Project — Marka Stili (brand-guide.md uyumlu) */

:root {
  --cobalt: #1B3A6F;
  --turquoise: #2FA8A8;
  --cream: #F5EFE0;
  --black: #1A1A1A;
  --manganese: #5C2A6F;
  --red: #B03A2E;
  --muted: #7A7370;
  --line: #E3DCC9;

  --serif: "Playfair Display", "GT Sectra", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --arabic: "Amiri", "Arabic Bukra", "Noto Naskh Arabic", serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--black);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body[dir="rtl"] { font-family: var(--arabic), var(--sans); font-size: 18px; }

a { color: var(--cobalt); text-decoration: none; border-bottom: 1px solid transparent; transition: border .2s; }
a:hover { border-bottom-color: var(--cobalt); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header { padding: 24px 0; border-bottom: 1px solid var(--line); background: var(--cream); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 20px; letter-spacing: 1px; color: var(--black); }
.logo img { height: 40px; width: auto; }

/* CTA button */
.cta-primary { display: inline-block; background: var(--cobalt); color: white; padding: 14px 32px; font-weight: 500; letter-spacing: 0.5px; border-bottom: none; transition: background .2s; }
.cta-primary:hover { background: var(--manganese); border-bottom: none; }
body[dir="rtl"] .cta-primary { font-family: var(--arabic); font-size: 17px; }

/* Placeholder page */
.placeholder { padding: 160px 0; text-align: center; }
.placeholder h1 { font-family: var(--serif); font-size: 48px; margin-bottom: 24px; }
body[dir="rtl"] .placeholder h1 { font-family: var(--arabic); }
.placeholder p { color: var(--muted); font-size: 18px; margin-bottom: 32px; }

/* 404 */
.error-page { padding: 160px 0; text-align: center; }
.error-page .code { font-family: var(--serif); font-size: 96px; color: var(--cobalt); margin-bottom: 16px; }
.error-page h1 { font-family: var(--serif); font-size: 32px; margin-bottom: 16px; }
body[dir="rtl"] .error-page h1 { font-family: var(--arabic); }
.error-page p { color: var(--muted); margin-bottom: 32px; }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { color: var(--black); font-size: 15px; letter-spacing: 0.3px; }
.lang-switch { font-size: 13px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }

/* Hero */
.hero { padding: 120px 0 96px; text-align: center; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.1;
  color: var(--black);
  max-width: 900px;
  margin: 0 auto 32px;
  letter-spacing: -0.5px;
}
body[dir="rtl"] .hero h1 { font-family: var(--arabic); line-height: 1.3; letter-spacing: 0; }
.hero p.lead {
  font-size: 20px;
  max-width: 640px;
  margin: 0 auto 48px;
  color: var(--muted);
}
.hero .tagline {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid var(--cobalt);
  color: var(--cobalt);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* Manifesto */
.manifesto { padding: 96px 0; background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.manifesto-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.manifesto h2 { font-family: var(--serif); font-size: 36px; margin-bottom: 32px; color: var(--cobalt); }
body[dir="rtl"] .manifesto h2 { font-family: var(--arabic); font-size: 40px; }
.manifesto p { margin-bottom: 20px; font-size: 18px; color: var(--black); }
.manifesto .highlight { color: var(--cobalt); font-weight: 600; }

/* Collection grid */
.collection { padding: 96px 0; }
.collection h2 { font-family: var(--serif); font-size: 36px; text-align: center; margin-bottom: 12px; }
.collection .subtitle { text-align: center; color: var(--muted); margin-bottom: 64px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 32px; }
.card { background: white; border: 1px solid var(--line); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(27,58,111,0.08); }
.card img { aspect-ratio: 4/5; object-fit: cover; }
.card-body { padding: 20px; }
.card h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 8px; }
.card .museum { font-size: 13px; color: var(--manganese); letter-spacing: 0.5px; margin-bottom: 8px; text-transform: uppercase; }
.card .dim { font-size: 13px; color: var(--muted); }

/* Eser (product) page */
.eser { padding: 64px 0; }
.eser-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .eser-layout { grid-template-columns: 1fr; } }
.eser-image img { border: 1px solid var(--line); }
.eser-meta h1 { font-family: var(--serif); font-size: 42px; line-height: 1.2; margin-bottom: 16px; }
.eser-meta .period { color: var(--manganese); font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 24px; }
.eser-meta .story { margin-bottom: 32px; }
.eser-meta .story p { margin-bottom: 16px; }
.eser-meta .story h3 { font-family: var(--serif); font-size: 22px; margin: 32px 0 12px; color: var(--cobalt); }

/* Details sidebar */
.details { background: white; border: 1px solid var(--line); padding: 24px; margin-bottom: 24px; }
.details dt { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.details dd { font-size: 16px; margin-bottom: 12px; color: var(--black); }

/* CTA */
.cta-telegram { background: var(--cobalt); color: white; padding: 32px; text-align: center; }
.cta-telegram h3 { font-family: var(--serif); font-size: 24px; margin-bottom: 12px; color: white; }
.cta-telegram p { margin-bottom: 20px; color: rgba(255,255,255,0.9); }
.cta-telegram a { display: inline-block; background: white; color: var(--cobalt); padding: 12px 28px; font-weight: 600; letter-spacing: 0.5px; border: none; transition: background .2s; }
.cta-telegram a:hover { background: var(--cream); border-bottom: none; }

/* Footer */
.footer { padding: 48px 0; background: var(--black); color: rgba(245,239,224,0.7); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { color: var(--cream); font-family: var(--serif); font-size: 16px; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer a { color: rgba(245,239,224,0.7); display: block; padding: 4px 0; }
.footer a:hover { color: white; border: none; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 13px; color: rgba(255,255,255,0.4); }

/* Utility */
.text-center { text-align: center; }
.mt-xl { margin-top: 96px; }
.mb-xl { margin-bottom: 96px; }
