/* ===== Design tokens ===== */
:root {
  --gold: #b8924a;
  --gold-light: #d4b06a;
  --gold-dark: #9c7836;
  --ink: #1a1a1a;
  --ink-soft: #2a2a2a;
  --charcoal: #222428;
  --text: #2d2d2d;
  --muted: #6b6b6b;
  --line: #e7e3da;
  --bg: #ffffff;
  --bg-alt: #f7f4ee;
  --bg-cream: #faf8f3;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(26, 26, 26, 0.10);
  --shadow-sm: 0 6px 20px rgba(26, 26, 26, 0.08);
  --max: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); letter-spacing: 0.2px; }

.eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px;
}
.eyebrow.gold { color: var(--gold-light); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 10px 24px rgba(184,146,74,.32); }
.btn-gold:hover { background: var(--gold-dark); box-shadow: 0 12px 28px rgba(184,146,74,.42); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 24px rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark { color: var(--gold); display: grid; place-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--serif); font-size: 1.32rem; font-weight: 700; letter-spacing: 1px; }
.brand-text small { font-size: 0.66rem; letter-spacing: 0.42em; color: var(--gold-dark); margin-top: 3px; }

.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.nav a:hover { color: var(--gold-dark); }
.nav a:hover::after { width: 100%; }

.btn-phone {
  background: var(--ink); color: #fff; padding: 10px 18px; font-size: 0.9rem;
  border-radius: 999px; white-space: nowrap;
}
.btn-phone:hover { background: var(--gold-dark); transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,20,20,.62) 0%, rgba(20,20,20,.45) 40%, rgba(20,20,20,.78) 100%),
    linear-gradient(120deg, #2b3a2e 0%, #3a4a3c 35%, #586b52 70%, #8a9a7e 100%);
  background-size: cover; background-position: center;
}
/* Gerçek render eklemek için: .hero-bg { background-image: url('../assets/hero.jpg'); } satırını üstteki gradient'lerle birlikte kullanın */
.hero-inner { position: relative; z-index: 2; padding: 120px 24px 80px; max-width: 760px; }
.hero-eyebrow { font-size: 0.8rem; letter-spacing: 0.3em; font-weight: 600; color: var(--gold-light); margin-bottom: 18px; }
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); color: #fff; margin-bottom: 22px; }
.hero-title span { color: var(--gold-light); font-style: italic; }
.hero-sub { font-size: 1.12rem; max-width: 560px; color: rgba(255,255,255,.9); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.hero-actions .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.hero-highlights { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-highlights div { display: flex; flex-direction: column; }
.hero-highlights strong { font-family: var(--serif); font-size: 1.6rem; color: #fff; }
.hero-highlights span { font-size: 0.85rem; color: rgba(255,255,255,.78); }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-cream); }
.section-dark { background: var(--charcoal); color: #e9e9e9; }
.section-dark h2 { color: #fff; }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 16px; }
.section-head .lead { color: var(--muted); font-size: 1.06rem; }
.section-dark .section-head .lead { color: #b7b7b7; }

/* ===== Image placeholders ===== */
.img-placeholder {
  position: relative; border-radius: var(--radius); min-height: 320px;
  background:
    repeating-linear-gradient(45deg, #efe9dd 0 14px, #e7e0d1 14px 28px);
  border: 1px dashed var(--gold); display: grid; place-items: center;
}
.img-placeholder.tall { min-height: 460px; height: 100%; }
.img-placeholder.small { min-height: 150px; }
.img-placeholder::after {
  content: attr(data-label); position: absolute; font-size: 0.82rem; color: var(--gold-dark);
  font-weight: 600; background: rgba(255,255,255,.85); padding: 6px 14px; border-radius: 999px;
}

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.about-text h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 20px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }

.check-list { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.check-list li { position: relative; padding-left: 30px; color: var(--text); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  background: var(--gold); color: #fff; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 700;
}
.section-dark .check-list li { color: #ddd; }

/* ===== Project ===== */
.project-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.project-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.project-media .img-placeholder:first-child { grid-column: 1 / -1; min-height: 360px; }

.project-info .badge {
  display: inline-block; background: #e9f5ec; color: #2e7d4f; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.1em; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.project-info h3 { font-size: 1.9rem; margin-bottom: 4px; }
.project-addr { color: var(--gold-dark); font-weight: 600; margin-bottom: 16px; }
.project-info > p { color: var(--muted); margin-bottom: 24px; }

.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 28px; }
.spec { background: #fff; padding: 16px 18px; display: flex; flex-direction: column; gap: 3px; }
.spec-k { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.spec-v { font-weight: 600; color: var(--ink); }

/* ===== Cards (units) ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.unit-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.unit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.unit-card.featured { border-color: var(--gold); box-shadow: 0 20px 50px rgba(184,146,74,.18); }
.unit-head h3 { font-size: 1.6rem; margin-bottom: 4px; }
.unit-head p { color: var(--muted); margin-bottom: 8px; }
.unit-card .check-list { margin-top: 14px; margin-bottom: 22px; flex: 1; }
.unit-price { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--gold-dark); margin-bottom: 18px; }
.ribbon {
  position: absolute; top: 18px; right: 18px; background: var(--gold); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; padding: 5px 12px; border-radius: 999px;
}

/* ===== Features ===== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius); padding: 30px 24px; transition: border-color .25s, transform .25s;
}
.feature:hover { border-color: var(--gold); transform: translateY(-4px); }
.feature-ico { font-size: 2rem; margin-bottom: 14px; }
.feature h3 { color: #fff; font-size: 1.35rem; margin-bottom: 8px; }
.feature p { color: #b1b1b1; font-size: 0.95rem; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 18px; }
.contact-info > p { color: var(--muted); margin-bottom: 28px; }
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-ico { font-size: 1.3rem; line-height: 1.4; }
.contact-list small { display: block; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 2px; }
.contact-list a { font-weight: 600; color: var(--ink); }
.contact-list a:hover { color: var(--gold-dark); }

.contact-form { background: var(--bg-cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; box-shadow: var(--shadow-sm); }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 0.95rem; background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,146,74,.15);
}
.field textarea { resize: vertical; }
.form-note { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); background: #e9f5ec; color: #2e7d4f; font-size: 0.9rem; font-weight: 500; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #cfcfcf; padding: 56px 0 28px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.brand--footer .brand-text strong { color: #fff; }
.footer-tag { color: #9a9a9a; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; margin: 6px 0; }
.footer-links a { color: #cfcfcf; font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-light); }
.copyright { font-size: 0.84rem; color: #7c7c7c; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); width: 100%; max-width: 400px; margin-top: 8px; }

/* ===== Floating call ===== */
.fab-call {
  position: fixed; bottom: 22px; right: 22px; z-index: 90; width: 56px; height: 56px;
  background: var(--gold); color: #fff; border-radius: 50%; display: none; place-items: center;
  box-shadow: 0 10px 30px rgba(184,146,74,.45); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(184,146,74,.5); } 70% { box-shadow: 0 0 0 16px rgba(184,146,74,0); } 100% { box-shadow: 0 0 0 0 rgba(184,146,74,0); } }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .about-grid, .project-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .about-media { order: -1; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 0;
    transform: translateY(-130%); transition: transform .35s ease; box-shadow: 0 20px 40px rgba(0,0,0,.08); margin: 0;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 24px; border-bottom: 1px solid var(--bg-alt); }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .btn-phone { display: none; }
  .fab-call { display: grid; }
  .section { padding: 70px 0; }
  .hero-highlights { gap: 24px; }
  .spec-list { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-highlights strong { font-size: 1.35rem; }
}
