/* ============================================================
   DENTACARE — Premium Dental Clinic
   Palette: Deep Navy #0B1F3A | White | Warm Gold #B8965A
   Fonts: Cormorant Garamond (display) + Outfit (ui)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:        #0B1F3A;
  --navy-mid:    #132A4E;
  --navy-light:  #1E3A5F;
  --gold:        #B8965A;
  --gold-light:  #D4B07A;
  --gold-pale:   #F5EDD9;
  --white:       #FFFFFF;
  --off-white:   #F9F7F4;
  --stone-50:    #F5F3EF;
  --stone-100:   #EAE7E0;
  --stone-200:   #D4CFC5;
  --stone-400:   #9A9284;
  --stone-600:   #6B6357;
  --stone-800:   #2E2A24;
  --teal:        #1A7A6E;
  --teal-light:  #E8F4F2;
  --red:         #C0392B;
  --red-light:   #FDEAEA;
  --amber:       #D4851A;
  --amber-light: #FEF3E2;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Outfit', system-ui, sans-serif;

  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-full: 999px;

  --shadow-xs: 0 1px 3px rgba(11,31,58,.06);
  --shadow-sm: 0 2px 8px rgba(11,31,58,.08);
  --shadow-md: 0 6px 24px rgba(11,31,58,.10);
  --shadow-lg: 0 16px 48px rgba(11,31,58,.14);
  --shadow-gold: 0 8px 32px rgba(184,150,90,.25);

  --ease: cubic-bezier(.4,0,.2,1);
  --t: .22s var(--ease);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-ui); color: var(--stone-800); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--t); }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--navy); }

/* ── Container ─────────────────────────────────────────────── */
.container    { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 840px; }
.container-lg { max-width: 1400px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 28px;
  font-family: var(--font-ui); font-size: 14px; font-weight: 600; letter-spacing: .3px;
  border-radius: var(--r-full); border: 1.5px solid transparent;
  cursor: pointer; transition: all var(--t); white-space: nowrap; text-decoration: none;
}
.btn-primary   { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-mid); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold      { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.btn-outline   { background: transparent; color: var(--navy); border-color: var(--stone-200); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: var(--stone-50); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-sm { padding: 7px 18px; font-size: 13px; }
.btn-lg { padding: 14px 36px; font-size: 16px; }

/* ── Alerts ────────────────────────────────────────────────── */
.alert { padding: 13px 18px; border-radius: var(--r-md); font-size: 14px; margin-bottom: 20px; display: flex; align-items: flex-start; gap: 10px; }
.alert-success { background: var(--teal-light); color: #0D5C52; border-left: 3px solid var(--teal); }
.alert-error   { background: var(--red-light); color: #8B1A12; border-left: 3px solid var(--red); }
.alert-warning { background: var(--amber-light); color: #7A4A0A; border-left: 3px solid var(--amber); }
.alert-info    { background: #EEF4FD; color: #1A3B6E; border-left: 3px solid var(--navy); }

/* ── Badges ────────────────────────────────────────────────── */
.badge { display: inline-block; padding: 3px 10px; border-radius: var(--r-full); font-size: 11.5px; font-weight: 600; letter-spacing: .3px; }
.badge-success  { background: var(--teal-light); color: #0D5C52; }
.badge-warning  { background: var(--amber-light); color: #7A4A0A; }
.badge-danger   { background: var(--red-light); color: #8B1A12; }
.badge-primary  { background: #EEF4FD; color: var(--navy); }
.badge-secondary{ background: var(--stone-100); color: var(--stone-600); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: rgba(11,31,58,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184,150,90,.15);
  height: 68px;
  display: flex; align-items: center;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.navbar-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.navbar-logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.navbar-logo-text { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--white); letter-spacing: .3px; }
.navbar-logo-text span { color: var(--gold-light); }

.navbar-nav { display: flex; align-items: center; gap: 4px; }
.navbar-nav a {
  color: rgba(255,255,255,.72); font-size: 14px; font-weight: 500;
  padding: 7px 14px; border-radius: var(--r-full);
  transition: all var(--t); text-decoration: none;
}
.navbar-nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.navbar-nav a.active { color: var(--gold-light); }

.navbar-actions { display: flex; align-items: center; gap: 10px; }
.navbar-phone { color: rgba(255,255,255,.55); font-size: 13px; margin-right: 8px; }
.navbar-phone strong { color: var(--gold-light); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 68px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 40%, rgba(184,150,90,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 70%, rgba(26,122,110,.06) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .04;
  background-image: linear-gradient(var(--stone-200) 1px, transparent 1px),
                    linear-gradient(90deg, var(--stone-200) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-content { position: relative; z-index: 1; max-width: 620px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(184,150,90,.12); border: 1px solid rgba(184,150,90,.25);
  color: var(--gold-light); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--r-full); margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 500; color: var(--white);
  line-height: 1.1; margin-bottom: 22px;
}
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero p { font-size: 17px; color: rgba(255,255,255,.62); line-height: 1.75; margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 56px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.08); }
.hero-stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 600; color: var(--gold-light); display: block; line-height: 1; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 4px; display: block; }

.hero-visual {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 80px 60px 80px 100px;
}
.hero-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  width: 260px;
}
.hero-card-title { color: rgba(255,255,255,.5); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.hero-card-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.hero-card-item:last-child { border-bottom: none; padding-bottom: 0; }
.hero-card-icon { width: 36px; height: 36px; background: rgba(184,150,90,.15); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.hero-card-text strong { display: block; color: var(--white); font-size: 13px; font-weight: 600; }
.hero-card-text span { color: rgba(255,255,255,.4); font-size: 11.5px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--navy); }
.section-stone { background: var(--stone-50); }

.section-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; display: block;
}
.section-title { font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 16px; }
.section-title-light { color: var(--white); }
.section-lead { font-size: 17px; color: var(--stone-600); max-width: 540px; line-height: 1.75; }

/* ── Divider ─── */
.divider { width: 40px; height: 2px; background: var(--gold); margin: 16px 0; }
.divider-center { margin: 16px auto; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }

.service-card {
  background: var(--white); border: 1px solid var(--stone-100);
  border-radius: var(--r-lg); padding: 32px 28px;
  transition: all var(--t); cursor: pointer; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--stone-50); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
  transition: background var(--t);
}
.service-card:hover .service-icon { background: var(--gold-pale); }
.service-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--stone-600); line-height: 1.6; margin-bottom: 16px; }
.service-price { font-family: var(--font-ui); font-weight: 700; color: var(--gold); font-size: 15px; }
.service-duration { font-size: 12px; color: var(--stone-400); margin-left: 8px; }

/* ============================================================
   DOCTORS
   ============================================================ */
.doctors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; }

.doctor-card {
  background: var(--white); border: 1px solid var(--stone-100);
  border-radius: var(--r-lg); overflow: hidden;
  transition: all var(--t);
}
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.doctor-photo {
  height: 220px; background: var(--stone-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 72px; position: relative; overflow: hidden;
}
.doctor-photo-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  opacity: .06;
}
.doctor-info { padding: 20px; }
.doctor-info h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.doctor-spec { font-size: 12.5px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .8px; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.review-card { background: var(--white); border: 1px solid var(--stone-100); border-radius: var(--r-lg); padding: 28px; transition: box-shadow var(--t); }
.review-card:hover { box-shadow: var(--shadow-md); }
.review-stars { color: var(--gold); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.review-text { font-size: 15px; color: var(--stone-700); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.review-name { font-size: 14px; font-weight: 600; color: var(--navy); }
.review-date { font-size: 12px; color: var(--stone-400); }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute; top: 26px; left: 12%; right: 12%;
  height: 1px; background: var(--stone-200); z-index: 0;
}
.step-item { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 52px; height: 52px;
  background: var(--white); border: 2px solid var(--stone-200);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--navy);
  margin: 0 auto 18px; transition: all var(--t);
}
.step-item:hover .step-num { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }
.step-item h4 { font-family: var(--font-display); font-size: 17px; margin-bottom: 8px; }
.step-item p { font-size: 13.5px; color: var(--stone-500); line-height: 1.6; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -50%; left: -20%; right: -20%; height: 200%;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(184,150,90,.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.55); font-size: 16px; margin-bottom: 36px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--stone-800); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--stone-400); line-height: 1.75; margin-top: 14px; max-width: 280px; }
.footer h4 { font-family: var(--font-ui); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--stone-400); margin-bottom: 18px; font-weight: 700; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: var(--stone-400); transition: color var(--t); }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact li { font-size: 14px; color: var(--stone-400); margin-bottom: 10px; display: flex; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: var(--stone-600); }
.footer-logo-text { font-family: var(--font-display); font-size: 24px; color: var(--white); }
.footer-logo-text span { color: var(--gold-light); }

/* ============================================================
   APPOINTMENT BOOKING (randevu.php)
   ============================================================ */
.booking-page { background: var(--stone-50); min-height: 100vh; padding-top: 68px; }
.booking-container { max-width: 900px; margin: 0 auto; padding: 48px 24px; }

.booking-progress {
  display: flex; align-items: center; margin-bottom: 48px;
  background: var(--white); border: 1px solid var(--stone-100);
  border-radius: var(--r-xl); padding: 6px;
}
.progress-step {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 10px; border-radius: var(--r-lg);
  font-size: 13px; font-weight: 600; color: var(--stone-400);
  transition: all var(--t);
}
.progress-step.active { background: var(--navy); color: var(--white); }
.progress-step.done   { color: var(--teal); }
.progress-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: currentColor; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.progress-step.active .progress-num { background: rgba(255,255,255,.25); color: var(--white); }
.progress-step.done .progress-num   { background: var(--teal); color: var(--white); }
.progress-step.active .progress-num { background: rgba(255,255,255,.2); }

.booking-panel { background: var(--white); border: 1px solid var(--stone-100); border-radius: var(--r-xl); padding: 40px; }
.booking-panel-title { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-bottom: 6px; }
.booking-panel-sub   { font-size: 14px; color: var(--stone-500); margin-bottom: 32px; }

.service-select-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.service-select-item {
  border: 1.5px solid var(--stone-100); border-radius: var(--r-lg);
  padding: 16px 18px; cursor: pointer; transition: all var(--t);
  display: flex; align-items: center; gap: 14px;
}
.service-select-item:hover { border-color: var(--gold); background: var(--gold-pale); }
.service-select-item.selected { border-color: var(--navy); background: #EEF4FD; }
.service-select-item .icon { font-size: 22px; width: 42px; height: 42px; background: var(--stone-50); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-select-item strong { font-size: 14px; font-weight: 600; color: var(--navy); display: block; }
.service-select-item span   { font-size: 12.5px; color: var(--stone-500); }
.service-select-price { margin-left: auto; font-weight: 700; color: var(--gold); font-size: 15px; white-space: nowrap; }

.doctor-select-list { display: flex; flex-direction: column; gap: 10px; }
.doctor-select-item {
  border: 1.5px solid var(--stone-100); border-radius: var(--r-lg);
  padding: 16px 20px; cursor: pointer; transition: all var(--t);
  display: flex; align-items: center; gap: 16px;
}
.doctor-select-item:hover { border-color: var(--gold); }
.doctor-select-item.selected { border-color: var(--navy); background: #EEF4FD; }
.doctor-avatar-sm {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-weight: 700; font-size: 16px; flex-shrink: 0;
}

.booking-calendar { margin-bottom: 24px; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.calendar-header h4 { font-family: var(--font-display); font-size: 18px; }
.cal-nav { width: 34px; height: 34px; border: 1px solid var(--stone-200); border-radius: var(--r-full); background: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: all var(--t); }
.cal-nav:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day-label { text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--stone-400); padding: 6px 0; }
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md); font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: all var(--t); color: var(--stone-700);
}
.cal-day:hover:not(.disabled):not(.empty) { background: var(--gold-pale); color: var(--navy); }
.cal-day.selected { background: var(--navy); color: var(--white); }
.cal-day.today { font-weight: 700; color: var(--gold); }
.cal-day.disabled { color: var(--stone-300); cursor: not-allowed; }
.cal-day.empty { cursor: default; }

.time-slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.time-slot {
  padding: 8px 4px; text-align: center; border: 1.5px solid var(--stone-100);
  border-radius: var(--r-md); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all var(--t); color: var(--stone-700);
}
.time-slot:hover { border-color: var(--gold); color: var(--gold); }
.time-slot.selected { background: var(--navy); border-color: var(--navy); color: var(--white); }

.booking-summary {
  background: var(--stone-50); border: 1px solid var(--stone-100);
  border-radius: var(--r-lg); padding: 22px;
}
.booking-summary h4 { font-family: var(--font-display); font-size: 16px; margin-bottom: 14px; }
.summary-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 6px 0; border-bottom: 1px solid var(--stone-100); }
.summary-row:last-child { border-bottom: none; padding-top: 10px; font-weight: 700; font-size: 15px; }
.summary-row span { color: var(--stone-500); }
.summary-row strong { color: var(--navy); }

/* ── Form ─── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--stone-700); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--stone-200); border-radius: var(--r-md);
  font-family: var(--font-ui); font-size: 14px; color: var(--stone-800);
  background: var(--white); transition: border-color var(--t);
  outline: none;
}
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,31,58,.08); }
.form-control::placeholder { color: var(--stone-400); }
.form-hint { font-size: 12px; color: var(--stone-400); margin-top: 4px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239A9284' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* ── Booking nav ─── */
.booking-nav { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--stone-100); }

/* ============================================================
   AUTH PAGES (giris / kayit)
   ============================================================ */
.auth-page {
  min-height: 100vh; background: var(--stone-50);
  display: flex; align-items: center; justify-content: center;
  padding: 32px 16px;
}
.auth-card {
  background: var(--white); border: 1px solid var(--stone-100);
  border-radius: var(--r-xl); padding: 48px 44px;
  width: 100%; max-width: 440px;
  box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo-mark {
  width: 60px; height: 60px; margin: 0 auto 14px;
  background: var(--navy); border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.auth-logo h1 { font-family: var(--font-display); font-size: 28px; color: var(--navy); }
.auth-logo p { font-size: 14px; color: var(--stone-500); margin-top: 4px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--stone-100); }
.auth-divider span { font-size: 12px; color: var(--stone-400); font-weight: 600; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--stone-500); }
.auth-footer a { color: var(--navy); font-weight: 600; }
.auth-btn { width: 100%; padding: 13px; background: var(--navy); color: var(--white); border: none; border-radius: var(--r-md); font-family: var(--font-ui); font-size: 15px; font-weight: 600; cursor: pointer; transition: all var(--t); letter-spacing: .3px; }
.auth-btn:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ============================================================
   CUSTOMER PANEL (musteri/)
   ============================================================ */
.panel-layout {
  display: grid; grid-template-columns: 260px 1fr;
  min-height: 100vh; background: var(--stone-50);
}
.panel-sidebar {
  background: var(--navy);
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  padding: 24px 0;
}
.panel-logo { padding: 0 20px 24px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 24px; }
.panel-nav { flex: 1; padding: 0 12px; }
.pnav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--r-md);
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.55);
  text-decoration: none; transition: all var(--t); margin-bottom: 2px;
}
.pnav-item:hover { background: rgba(255,255,255,.07); color: rgba(255,255,255,.9); }
.pnav-item.active { background: rgba(255,255,255,.1); color: var(--white); font-weight: 600; }
.pnav-item span { font-size: 16px; width: 20px; }
.panel-sidebar-footer { padding: 16px 12px 0; border-top: 1px solid rgba(255,255,255,.07); margin-top: 16px; }
.panel-main { padding: 32px 40px; }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 32px; gap: 16px; }
.panel-title { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--navy); }
.panel-subtitle { font-size: 14px; color: var(--stone-500); margin-top: 4px; }

.stat-card {
  background: var(--white); border: 1px solid var(--stone-100);
  border-radius: var(--r-lg); padding: 22px 24px;
  transition: box-shadow var(--t);
}
.stat-card:hover { box-shadow: var(--shadow-md); }
.stat-card .label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--stone-400); margin-bottom: 8px; }
.stat-card .value { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--navy); line-height: 1; }
.stat-card .change { font-size: 12.5px; color: var(--stone-500); margin-top: 6px; }

/* ============================================================
   ADMIN PANEL (admin/)
   ============================================================ */
.admin-layout {
  display: grid; grid-template-columns: 240px 1fr;
  min-height: 100vh; background: var(--stone-50);
}
.admin-sidebar {
  background: var(--navy); border-right: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  scrollbar-width: none;
}
.admin-sidebar::-webkit-scrollbar { display: none; }
.sidebar-logo {
  display: flex; align-items: center; gap: 12px;
  padding: 22px 20px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.sidebar-logo-icon {
  width: 36px; height: 36px; border-radius: var(--r-md); flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.sidebar-logo-text { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--white); }
.sidebar-logo-sub  { font-size: 10.5px; color: rgba(255,255,255,.35); margin-top: 1px; text-transform: uppercase; letter-spacing: .8px; }
.sidebar-nav { flex: 1; padding: 16px 10px; }
.nav-section-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,.25); padding: 14px 10px 6px; }
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--r-md);
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.55);
  text-decoration: none; transition: all var(--t); margin-bottom: 1px;
}
.nav-item:hover { background: rgba(255,255,255,.07); color: rgba(255,255,255,.9); }
.nav-item.active { background: rgba(255,255,255,.1); color: var(--white); font-weight: 600; }
.nav-icon { font-size: 15px; width: 18px; flex-shrink: 0; }
.sidebar-footer { padding: 16px 10px; border-top: 1px solid rgba(255,255,255,.07); margin-top: auto; }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 8px; }
.user-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.user-name { font-size: 13px; font-weight: 600; color: var(--white); }
.user-role { font-size: 11px; color: rgba(255,255,255,.35); text-transform: capitalize; }
.btn-logout {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: var(--r-md);
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.45);
  text-decoration: none; transition: all var(--t); width: 100%;
}
.btn-logout:hover { background: rgba(192,57,43,.2); color: #FF8A80; }

.admin-main { padding: 32px 36px; overflow-y: auto; }
.admin-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.admin-title { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--navy); }
.admin-subtitle { font-size: 13.5px; color: var(--stone-500); margin-top: 3px; }

/* ── Admin Stat Cards ─── */
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.admin-stat {
  background: var(--white); border: 1px solid var(--stone-100);
  border-radius: var(--r-lg); padding: 20px 22px;
  transition: all var(--t);
}
.admin-stat:hover { box-shadow: var(--shadow-md); }
.admin-stat-label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--stone-400); margin-bottom: 10px; }
.admin-stat-value { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--navy); line-height: 1; }
.admin-stat-sub { font-size: 12px; color: var(--stone-500); margin-top: 6px; }
.admin-stat-icon { float: right; font-size: 24px; opacity: .4; }

/* ── Admin Table ─── */
.table-card { background: var(--white); border: 1px solid var(--stone-100); border-radius: var(--r-lg); overflow: hidden; }
.table-card-header { padding: 18px 22px; border-bottom: 1px solid var(--stone-100); display: flex; align-items: center; justify-content: space-between; }
.table-card-header h3 { font-family: var(--font-ui); font-size: 14px; font-weight: 700; color: var(--navy); }
table { width: 100%; border-collapse: collapse; }
thead th {
  background: var(--stone-50); padding: 11px 16px;
  text-align: left; font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px; color: var(--stone-500);
  border-bottom: 1px solid var(--stone-100);
}
tbody td { padding: 13px 16px; font-size: 13.5px; color: var(--stone-700); border-bottom: 1px solid var(--stone-50); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: var(--stone-50); }

/* ── Schedule / Today ─── */
.schedule-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--stone-50);
}
.schedule-item:last-child { border-bottom: none; }
.schedule-time { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--navy); min-width: 52px; }
.schedule-info strong { font-size: 14px; font-weight: 600; color: var(--navy); display: block; }
.schedule-info span   { font-size: 12.5px; color: var(--stone-500); }
.schedule-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* ============================================================
   SUCCESS / ERROR PAGES
   ============================================================ */
.result-page { min-height: 100vh; background: var(--stone-50); display: flex; align-items: center; justify-content: center; padding: 32px; }
.result-card { background: var(--white); border: 1px solid var(--stone-100); border-radius: var(--r-xl); padding: 56px 44px; text-align: center; max-width: 520px; width: 100%; box-shadow: var(--shadow-lg); }
.result-icon { font-size: 56px; margin-bottom: 24px; display: block; }
.result-card h2 { font-family: var(--font-display); font-size: 30px; color: var(--navy); margin-bottom: 12px; }
.result-card p { font-size: 15px; color: var(--stone-500); line-height: 1.75; margin-bottom: 28px; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-gold    { color: var(--gold) !important; }
.text-navy    { color: var(--navy) !important; }
.text-muted   { color: var(--stone-500) !important; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.fw-700       { font-weight: 700; }
.font-display { font-family: var(--font-display); }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.gap-8        { gap: 8px; }
.gap-12       { gap: 12px; }
.gap-16       { gap: 16px; }
.mt-8         { margin-top: 8px; }
.mt-16        { margin-top: 16px; }
.mt-24        { margin-top: 24px; }
.mt-32        { margin-top: 32px; }
.mb-8         { margin-bottom: 8px; }
.mb-16        { margin-bottom: 16px; }
.mb-24        { margin-bottom: 24px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .doctors-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .admin-stats   { grid-template-columns: repeat(2, 1fr); }
  .hero-visual   { display: none; }
}
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { grid-template-columns: 200px 1fr; }
  .panel-layout { grid-template-columns: 220px 1fr; }
}
@media (max-width: 700px) {
  .navbar-nav, .navbar-phone { display: none; }
  .services-grid, .reviews-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .panel-layout { grid-template-columns: 1fr; }
  .panel-sidebar { display: none; }
  .admin-main, .panel-main { padding: 20px; }
  .booking-progress { display: none; }
  .service-select-grid { grid-template-columns: 1fr; }
  .time-slots { grid-template-columns: repeat(4, 1fr); }
  .auth-card { padding: 32px 24px; }
}
