/* ─── Hukuk Bürosu — Genel Stiller ─────────────────────────────────────────── */

:root {
  --bg:         #0f1115;
  --bg-soft:    #171a21;
  --bg-card:    #1d2129;
  --border:     #262b36;
  --border-lit: #333a48;
  --text:       #e6e8ec;
  --text-dim:   #8b93a3;
  --text-mute:  #6d7585;
  --gold:       #c9a961;
  --gold-lit:   #e8c98a;
  --navy:       #1a2942;
  --green:      #3daf5a;
  --red:        #d4574e;
  --amber:      #d9a441;
  --radius:     10px;
  --shadow:     0 4px 24px rgba(0,0,0,.4);
  --serif:      Georgia, 'Times New Roman', serif;
  --sans:       -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

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

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

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

/* ─── Header ──────────────────────────────────────────────────────────────── */

header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(15,17,21,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { font-family: var(--serif); font-size: 21px; color: var(--gold-lit); letter-spacing: .5px; }
.logo span { display: block; font-family: var(--sans); font-size: 10px; color: var(--text-mute);
  letter-spacing: 2.5px; text-transform: uppercase; margin-top: -2px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--text-dim); transition: color .2s; }
.nav-links a:hover { color: var(--gold-lit); }
.nav-cta {
  background: var(--gold); color: #1a1408 !important; padding: 10px 20px;
  border-radius: 6px; font-weight: 600; font-size: 14px; transition: background .2s;
}
.nav-cta:hover { background: var(--gold-lit); }
.menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* ─── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  padding: 96px 0 80px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--bg) 65%);
  border-bottom: 1px solid var(--border);
}
.hero-inner { max-width: 760px; }
.hero-badge {
  display: inline-block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,169,97,.3); padding: 6px 14px;
  border-radius: 100px; margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(32px, 5vw, 50px);
  line-height: 1.2; margin-bottom: 18px; font-weight: 400;
}
.hero h1 em { color: var(--gold-lit); font-style: normal; }
.hero p { font-size: 17px; color: var(--text-dim); margin-bottom: 32px; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px;
  border-radius: 7px; font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: all .2s; font-family: var(--sans);
}
.btn-primary { background: var(--gold); color: #1a1408; }
.btn-primary:hover { background: var(--gold-lit); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-lit); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-lit); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ─── Bölümler ────────────────────────────────────────────────────────────── */

section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head .eyebrow {
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.section-head h2 { font-family: var(--serif); font-size: 33px; font-weight: 400; margin-bottom: 12px; }
.section-head p { color: var(--text-dim); font-size: 15px; }

/* ─── Uzmanlık Alanları ───────────────────────────────────────────────────── */

.areas { background: var(--bg-soft); }
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.area-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px; transition: all .25s;
}
.area-card:hover { border-color: rgba(201,169,97,.4); transform: translateY(-3px); }
.area-icon { font-size: 26px; margin-bottom: 14px; }
.area-card h3 { font-family: var(--serif); font-size: 18px; margin-bottom: 8px; font-weight: 400; }
.area-card p { font-size: 14px; color: var(--text-dim); }

/* ─── Avukatlar ───────────────────────────────────────────────────────────── */

.lawyer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.lawyer-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
}
.lawyer-avatar {
  width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(140deg, var(--navy), var(--bg-soft));
  border: 2px solid rgba(201,169,97,.35);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 25px; color: var(--gold-lit);
}
.lawyer-card h3 { font-size: 17px; margin-bottom: 3px; }
.lawyer-title { font-size: 13px; color: var(--gold); margin-bottom: 12px; }
.lawyer-bio { font-size: 13px; color: var(--text-dim); margin-bottom: 14px; min-height: 40px; }
.lawyer-areas { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.tag {
  font-size: 11px; padding: 4px 10px; border-radius: 100px;
  background: rgba(201,169,97,.1); color: var(--gold); border: 1px solid rgba(201,169,97,.2);
}

/* ─── Randevu Formu ───────────────────────────────────────────────────────── */

.booking { background: var(--bg-soft); }
.booking-box {
  max-width: 780px; margin: 0 auto; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 14px; padding: 36px;
  box-shadow: var(--shadow);
}
.steps { display: flex; gap: 8px; margin-bottom: 30px; }
.step {
  flex: 1; height: 3px; background: var(--border); border-radius: 3px; transition: background .3s;
}
.step.active { background: var(--gold); }
.step-label { font-size: 13px; color: var(--text-mute); margin-bottom: 20px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 7px; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; background: var(--bg); color: var(--text);
  border: 1px solid var(--border-lit); border-radius: 7px; font-size: 15px;
  font-family: var(--sans); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 84px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.opt {
  background: var(--bg); border: 1px solid var(--border-lit); border-radius: 8px;
  padding: 16px; cursor: pointer; transition: all .2s;
}
.opt:hover { border-color: var(--gold); }
.opt.selected { border-color: var(--gold); background: rgba(201,169,97,.07); }
.opt h4 { font-size: 15px; margin-bottom: 5px; font-weight: 600; }
.opt .meta { font-size: 12px; color: var(--text-mute); }
.opt .price { font-size: 15px; color: var(--gold-lit); font-weight: 600; margin-top: 6px; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 9px; }
.slot {
  padding: 11px 4px; text-align: center; border-radius: 6px; font-size: 14px;
  background: var(--bg); border: 1px solid var(--border-lit); cursor: pointer; transition: all .18s;
}
.slot:hover:not(.taken) { border-color: var(--gold); }
.slot.selected { background: var(--gold); color: #1a1408; border-color: var(--gold); font-weight: 600; }
.slot.taken { opacity: .3; cursor: not-allowed; text-decoration: line-through; }

.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-dim); }
.checkbox input { width: auto; margin-top: 3px; flex-shrink: 0; }

.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }

.alert { padding: 13px 16px; border-radius: 8px; font-size: 14px; margin-bottom: 18px; }
.alert-error   { background: rgba(212,87,78,.1);  border: 1px solid rgba(212,87,78,.3);  color: #f0a19a; }
.alert-success { background: rgba(61,175,90,.1);  border: 1px solid rgba(61,175,90,.3);  color: #8fd9a3; }
.alert-info    { background: rgba(201,169,97,.08); border: 1px solid rgba(201,169,97,.25); color: var(--gold-lit); }

.success-box { text-align: center; padding: 20px 0; }
.success-icon {
  width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%;
  background: rgba(61,175,90,.12); border: 2px solid rgba(61,175,90,.35);
  display: flex; align-items: center; justify-content: center; font-size: 30px;
}
.appt-number {
  font-family: var(--serif); font-size: 26px; color: var(--gold-lit);
  letter-spacing: 2px; margin: 14px 0; padding: 14px; background: var(--bg);
  border: 1px dashed var(--border-lit); border-radius: 8px;
}

.summary { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 18px; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; border-bottom: 1px solid var(--border); }
.summary-row:last-child { border-bottom: none; }
.summary-row span:first-child { color: var(--text-mute); }

/* ─── İletişim ────────────────────────────────────────────────────────────── */

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.contact-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; text-align: center;
}
.contact-card .ic { font-size: 24px; margin-bottom: 12px; }
.contact-card h4 { font-size: 15px; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--text-dim); }
.contact-card a:hover { color: var(--gold-lit); }

.hours-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours-table td { padding: 9px 0; border-bottom: 1px solid var(--border); }
.hours-table td:last-child { text-align: right; color: var(--text-dim); }
.hours-table tr:last-child td { border-bottom: none; }
.closed { color: var(--red); }

/* ─── Footer ──────────────────────────────────────────────────────────────── */

footer {
  background: var(--bg-soft); border-top: 1px solid var(--border);
  padding: 44px 0 26px; margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-bottom: 30px; }
.footer-col h4 { font-size: 14px; margin-bottom: 14px; color: var(--gold-lit); }
.footer-col p, .footer-col a { font-size: 13px; color: var(--text-dim); display: block; margin-bottom: 8px; }
.footer-col a:hover { color: var(--gold-lit); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px; text-align: center;
  font-size: 12px; color: var(--text-mute);
}
.disclaimer {
  font-size: 11px; color: var(--text-mute); line-height: 1.7;
  max-width: 780px; margin: 16px auto 0; text-align: center;
}

/* ─── Yardımcılar ─────────────────────────────────────────────────────────── */

.hidden { display: none !important; }
.spinner {
  width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.2);
  border-top-color: var(--gold); border-radius: 50%;
  animation: spin .7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading { text-align: center; padding: 30px; color: var(--text-mute); font-size: 14px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .menu-btn { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 74px; left: 0; right: 0; background: var(--bg-soft);
    border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 16px;
  }
  .hero { padding: 60px 0 52px; }
  .booking-box { padding: 24px 18px; }
  .field-row { grid-template-columns: 1fr; }
  section { padding: 54px 0; }
}
