/* ============================================================
   FETHİYE VERİ KURTARMA — ANA STİL DOSYASI v2
   Revizyon: Tipografi, boşluk, hiyerarşi güçlendirildi
   Fontlar artık yerel olarak barındırılıyor — bkz. fonts.css
   ============================================================ */

:root {
  --navy:       #0b1120;
  --navy-2:     #111827;
  --navy-3:     #1a2540;
  --navy-4:     #243050;
  --blue:       #2563eb;
  --blue-light: #3b82f6;
  --blue-glow:  #60a5fa;
  --cyan:       #06b6d4;
  --green:      #22c55e;
  --red:        #ef4444;
  --amber:      #f59e0b;
  --purple:     #8b5cf6;
  --white:      #ffffff;
  --gray-1:     #f9fafb;
  --gray-2:     #f3f4f6;
  --gray-3:     #e5e7eb;
  --gray-5:     #6b7280;
  --gray-6:     #4b5563;
  --text-main:  #111827;
  --text-muted: #6b7280;
  --border:     #e5e7eb;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.14);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --font-head:  'Plus Jakarta Sans', sans-serif;
  --font-body:  'DM Sans', sans-serif;

  /* Tipografi scale — net hiyerarşi */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-md:   1.0625rem; /* 17px — body için biraz daha büyük */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.25rem;   /* 36px */
  --text-5xl:  3rem;      /* 48px */
  --text-6xl:  3.75rem;   /* 60px */

  /* Line-height değerleri */
  --leading-tight:  1.2;
  --leading-snug:   1.4;
  --leading-normal: 1.6;
  --leading-relaxed:1.75;
  --leading-loose:  1.9;

  /* Letter-spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide:  0.04em;
  --tracking-wider: 0.08em;
  --tracking-widest:0.12em;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--white);
  line-height: var(--leading-relaxed);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: var(--text-md);
  font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-light); }
ul { list-style: none; }
button, input, select, textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container    { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container-sm { max-width: 860px;  margin: 0 auto; padding: 0 28px; }
.section    { padding: 96px 0; }
.section-sm { padding: 56px 0; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: var(--leading-tight);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  color: var(--text-main);
}

h1 { font-size: clamp(var(--text-4xl), 5.5vw, var(--text-6xl)); line-height: 1.08; }
h2 { font-size: clamp(var(--text-3xl), 4vw,   var(--text-5xl)); line-height: 1.15; }
h3 { font-size: clamp(var(--text-xl),  2.5vw, var(--text-3xl)); line-height: 1.25; }
h4 { font-size: var(--text-lg); line-height: 1.35; }
h5 { font-size: var(--text-base); line-height: 1.4; }

p { line-height: var(--leading-relaxed); }

.lead {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: var(--leading-loose);
  font-weight: 400;
}

.section-title  { text-align: center; margin-bottom: 16px; }
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 64px;
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
}
.badge-blue   { background: #dbeafe; color: var(--blue); }
.badge-green  { background: #dcfce7; color: #16a34a; }
.badge-red    { background: #fee2e2; color: #dc2626; }
.badge-amber  { background: #fef3c7; color: #d97706; }
.badge-purple { background: #ede9fe; color: #7c3aed; }
.badge-gray   { background: #f3f4f6; color: var(--gray-6); }

/* ── NAV ────────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 999;
  background: rgba(11,17,32,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.navbar-logo {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-head); font-weight: 800;
  font-size: var(--text-lg); color: var(--white);
  letter-spacing: var(--tracking-tight);
}
.navbar-logo .logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  display: grid; place-items: center; font-size: 1.15rem;
  flex-shrink: 0;
}
.navbar-logo span.accent { color: var(--cyan); }
.navbar-menu { display: flex; align-items: center; gap: 2px; }
.navbar-menu a {
  color: rgba(255,255,255,.72); padding: 8px 15px;
  border-radius: var(--radius-sm); font-size: var(--text-sm);
  font-weight: 500; letter-spacing: 0.01em;
  transition: all .2s;
}
.navbar-menu a:hover,
.navbar-menu a.active { color: var(--white); background: rgba(255,255,255,.1); }
.navbar-menu .dropdown { position: relative; }
.navbar-menu .dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--navy-2); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md); padding: 8px;
  min-width: 230px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .2s;
  box-shadow: var(--shadow-lg);
}
.navbar-menu .dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.navbar-menu .dropdown-menu a {
  display: block; padding: 10px 15px; border-radius: 8px;
  font-size: var(--text-sm); color: rgba(255,255,255,.8);
  line-height: 1.4;
}
.navbar-menu .dropdown-menu a:hover {
  background: rgba(255,255,255,.08); color: var(--white);
}
.navbar-cta { display: flex; align-items: center; gap: 10px; }
.navbar-cta .btn-whatsapp {
  display: flex; align-items: center; gap: 7px;
  background: #25d366; color: white; padding: 9px 18px;
  border-radius: 999px; font-size: var(--text-sm); font-weight: 600;
  transition: all .2s;
}
.navbar-cta .btn-whatsapp:hover { background: #20ba5a; color: white; }
.navbar-cta .btn-phone {
  color: rgba(255,255,255,.9); font-size: var(--text-sm);
  display: flex; align-items: center; gap: 6px; font-weight: 500;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: white; border-radius: 2px; transition: all .3s;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 85% 60%, rgba(6,182,212,.15) 0%, transparent 60%);
  padding: 112px 0 96px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; position: relative; z-index: 1;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  padding: 7px 14px; border-radius: 999px; font-size: var(--text-sm);
  color: rgba(255,255,255,.88); font-weight: 500;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}
.hero h1 .accent { color: var(--cyan); }
.hero .lead {
  color: rgba(255,255,255,.72);
  margin-bottom: 40px;
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat .val {
  font-family: var(--font-head); font-size: var(--text-4xl); font-weight: 800;
  color: var(--white); line-height: 1; letter-spacing: var(--tracking-tight);
}
.hero-stat .lbl {
  font-size: var(--text-sm); color: rgba(255,255,255,.5);
  margin-top: 5px; font-weight: 400; line-height: 1.4;
}
.hero-visual {
  display: flex; flex-direction: column; gap: 16px;
}
.hero-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 28px;
  backdrop-filter: blur(8px);
}
.hero-card-title {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-widest);
  color: var(--cyan); font-weight: 700; margin-bottom: 18px;
}
.hero-steps { display: flex; flex-direction: column; gap: 12px; }
.hero-step {
  display: flex; align-items: center; gap: 14px;
  color: rgba(255,255,255,.78); font-size: var(--text-base); line-height: 1.5;
}
.hero-step-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(37,99,235,.4); border: 1px solid rgba(37,99,235,.6);
  display: grid; place-items: center; font-size: var(--text-sm); font-weight: 700;
  color: var(--blue-glow); flex-shrink: 0;
}
.hero-guarantee {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: var(--radius-md);
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.2);
}
.hero-guarantee .guar-icon { font-size: 1.5rem; }
.hero-guarantee p {
  font-size: var(--text-sm); color: rgba(255,255,255,.82);
  line-height: var(--leading-relaxed);
}
.hero-guarantee strong { color: #86efac; }

/* ── BUTONLAR ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px; border-radius: 999px; font-weight: 600;
  font-size: var(--text-base); border: none; cursor: pointer;
  transition: all .2s; text-decoration: none; line-height: 1;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--blue); color: white;
  box-shadow: 0 4px 14px rgba(37,99,235,.4);
}
.btn-primary:hover { background: #1d4ed8; color: white; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.5); }
.btn-outline {
  background: transparent; color: white;
  border: 1.5px solid rgba(255,255,255,.3);
}
.btn-outline:hover { background: rgba(255,255,255,.08); color: white; border-color: rgba(255,255,255,.5); }
.btn-white { background: white; color: var(--navy); }
.btn-white:hover { background: #f1f5f9; color: var(--navy); }
.btn-sm { padding: 9px 22px; font-size: var(--text-sm); }
.btn-lg { padding: 17px 38px; font-size: var(--text-lg); }

/* ── KARTLAR ────────────────────────────────────────────────── */
.card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  padding: 32px; transition: all .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ── HİZMETLER GRID ─────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}
.service-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all .25s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.service-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, #dbeafe, #e0f2fe);
  display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 20px;
}
.service-card h3 { font-size: var(--text-xl); margin-bottom: 10px; line-height: 1.3; }
.service-card p {
  font-size: var(--text-sm); color: var(--text-muted);
  margin-bottom: 20px; line-height: var(--leading-relaxed);
}
.service-card-link {
  font-size: var(--text-sm); font-weight: 600; color: var(--blue);
  display: inline-flex; align-items: center; gap: 5px;
}

/* ── SÜREÇ ──────────────────────────────────────────────────── */
.process-section { background: var(--gray-1); }
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0; position: relative;
}
.process-step {
  text-align: center; padding: 36px 28px;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '→'; position: absolute; right: -10px; top: 48px;
  font-size: 1.4rem; color: var(--blue-light); z-index: 1;
}
.process-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white; font-family: var(--font-head); font-weight: 800;
  font-size: var(--text-xl); display: grid; place-items: center;
  margin: 0 auto 20px; box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.process-step h4 { margin-bottom: 10px; font-size: var(--text-lg); }
.process-step p { font-size: var(--text-sm); color: var(--text-muted); line-height: var(--leading-relaxed); }

/* ── NEDEN BİZ ──────────────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.why-item {
  padding: 28px; border-radius: var(--radius-md);
  background: var(--navy); color: white;
}
.why-item .wi-icon { font-size: 1.8rem; margin-bottom: 16px; }
.why-item h4 { color: white; margin-bottom: 10px; font-size: var(--text-lg); }
.why-item p { font-size: var(--text-sm); color: rgba(255,255,255,.62); line-height: var(--leading-relaxed); }

/* ── YORUMLAR ───────────────────────────────────────────────── */
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
}
.review-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 18px; }
.review-text {
  font-size: var(--text-base); color: var(--text-muted);
  line-height: var(--leading-loose); margin-bottom: 22px;
}
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid; place-items: center; color: white;
  font-family: var(--font-head); font-weight: 700; font-size: var(--text-base);
}
.review-name { font-weight: 600; font-size: var(--text-base); }
.review-role { font-size: var(--text-sm); color: var(--text-muted); margin-top: 2px; }

/* ── SSS ────────────────────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  margin-bottom: 12px; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; padding: 20px 24px;
  background: none; border: none; cursor: pointer;
  font-weight: 600; font-size: var(--text-base); display: flex;
  justify-content: space-between; align-items: center;
  font-family: var(--font-body); line-height: 1.5;
}
.faq-q .faq-icon { font-size: 1.2rem; transition: transform .3s; color: var(--blue); flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px; max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: var(--text-base); color: var(--text-muted); line-height: var(--leading-loose);
}
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 22px; }

/* ── BAŞVURU FORMU ──────────────────────────────────────────── */
.form-section {
  background: var(--navy);
  background-image: radial-gradient(ellipse 70% 70% at 50% 100%, rgba(37,99,235,.25) 0%, transparent 70%);
}
.form-section h2 { color: white; }
.form-section .lead { color: rgba(255,255,255,.65); }
.contact-form {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl); padding: 44px; backdrop-filter: blur(8px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; margin-bottom: 8px; font-size: var(--text-sm);
  font-weight: 600; color: rgba(255,255,255,.78);
}
.form-control {
  width: 100%; padding: 14px 18px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: white; font-size: var(--text-base); transition: all .2s;
  outline: none; line-height: 1.5;
}
.form-control::placeholder { color: rgba(255,255,255,.3); }
.form-control:focus { border-color: var(--blue-light); background: rgba(255,255,255,.11); box-shadow: 0 0 0 3px rgba(59,130,246,.2); }
.form-control option { background: var(--navy-2); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-check { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 24px; }
.form-check input[type=checkbox] { margin-top: 3px; accent-color: var(--blue); width: 16px; height: 16px; flex-shrink: 0; }
.form-check label { font-size: var(--text-sm); color: rgba(255,255,255,.62); line-height: var(--leading-relaxed); }
.form-check a { color: var(--blue-glow); }

/* ── ALERT ──────────────────────────────────────────────────── */
.alert {
  padding: 16px 20px; border-radius: var(--radius-md);
  margin-bottom: 22px; font-size: var(--text-base); font-weight: 500;
  line-height: var(--leading-normal);
}
.alert-success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.alert-error   { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.alert-info    { background: #dbeafe; color: #1d4ed8; border: 1px solid #bfdbfe; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--navy); color: rgba(255,255,255,.6);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px; margin-bottom: 52px;
}
.footer-logo {
  font-family: var(--font-head); font-weight: 800; font-size: var(--text-xl);
  color: white; display: flex; align-items: center; gap: 11px; margin-bottom: 16px;
  letter-spacing: var(--tracking-tight);
}
.footer-logo .logo-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid; place-items: center; font-size: 1.1rem;
}
.footer-desc {
  font-size: var(--text-sm); line-height: var(--leading-loose);
  margin-bottom: 22px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 9px;
  background: rgba(255,255,255,.08); display: grid; place-items: center;
  font-size: var(--text-base); transition: all .2s; color: rgba(255,255,255,.7);
}
.footer-social a:hover { background: var(--blue); color: white; }
.footer-col h5 {
  color: white; font-size: var(--text-sm); margin-bottom: 18px;
  font-family: var(--font-head); letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: var(--text-sm); color: rgba(255,255,255,.55);
  transition: color .2s; line-height: 1.5;
}
.footer-col ul li a:hover { color: white; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: var(--text-sm); margin-bottom: 12px;
  line-height: var(--leading-relaxed);
}
.footer-contact-item .fc-icon { color: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--text-sm);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: white; }

/* ── FLOATING BUTTONS ──────────────────────────────────────── */
.float-buttons {
  position: fixed; bottom: 24px; right: 24px;
  display: flex; flex-direction: column; gap: 12px; z-index: 900;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.35rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.25); transition: all .2s;
  color: white; border: none; cursor: pointer; text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); color: white; }
.float-btn-wa    { background: #25d366; }
.float-btn-phone { background: var(--blue); }

/* ── PANELİN ORTAK STİLLERİ ─────────────────────────────────── */
.panel-layout {
  display: grid; grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.panel-sidebar {
  background: var(--navy); padding: 0;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column;
}
.panel-sidebar-logo {
  padding: 26px 22px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.panel-sidebar-logo .logo-wrap {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800;
  font-size: var(--text-base); color: white;
  letter-spacing: var(--tracking-tight);
}
.panel-sidebar-logo .logo-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid; place-items: center; font-size: .95rem;
}
.panel-nav { padding: 18px 12px; flex: 1; }
.panel-nav-section { margin-bottom: 10px; }
.panel-nav-label {
  font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-widest);
  color: rgba(255,255,255,.3); padding: 8px 12px 6px; font-weight: 700;
}
.panel-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px; border-radius: 9px; color: rgba(255,255,255,.65);
  font-size: var(--text-sm); transition: all .2s; margin-bottom: 2px;
  line-height: 1.4;
}
.panel-nav a:hover,
.panel-nav a.active { background: rgba(255,255,255,.1); color: white; }
.panel-nav a.active { background: var(--blue); color: white; }
.panel-nav a .nav-icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.panel-nav a .nav-badge {
  margin-left: auto; background: var(--red); color: white;
  font-size: var(--text-xs); font-weight: 700; padding: 2px 7px; border-radius: 999px;
}
.panel-sidebar-user {
  padding: 18px 20px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; gap: 12px;
}
.panel-sidebar-user .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid; place-items: center; font-size: .88rem;
  font-weight: 700; color: white; font-family: var(--font-head);
  flex-shrink: 0;
}
.panel-sidebar-user .user-info .name { font-size: var(--text-sm); font-weight: 600; color: white; }
.panel-sidebar-user .user-info .role { font-size: var(--text-xs); color: rgba(255,255,255,.45); margin-top: 1px; }
.panel-sidebar-user .logout-btn {
  margin-left: auto; color: rgba(255,255,255,.4); font-size: var(--text-xs);
  background: none; border: none; cursor: pointer;
  transition: color .2s; text-decoration: none;
}
.panel-sidebar-user .logout-btn:hover { color: var(--red); }
.panel-content { background: #f4f6fa; flex: 1; overflow-y: auto; }
.panel-topbar {
  background: white; border-bottom: 1px solid var(--border);
  padding: 0 36px; height: 68px; display: flex; align-items: center;
  justify-content: space-between; position: sticky; top: 0; z-index: 99;
}
.panel-topbar h1 {
  font-size: var(--text-xl);
  font-family: var(--font-head);
  letter-spacing: var(--tracking-tight);
}
.panel-topbar-actions { display: flex; align-items: center; gap: 12px; }
.panel-body    { padding: 36px; }
.panel-body-sm { padding: 28px; }

/* ── PANELİN STAT KARTLARI ──────────────────────────────────── */
.stat-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px; margin-bottom: 30px;
}
.stat-card {
  background: white; border-radius: var(--radius-md); padding: 24px;
  border: 1px solid var(--border);
}
.stat-card .sc-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center; font-size: 1.15rem; margin-bottom: 14px;
}
.stat-card .sc-val {
  font-size: var(--text-4xl); font-weight: 800;
  font-family: var(--font-head); letter-spacing: var(--tracking-tight);
}
.stat-card .sc-lbl {
  font-size: var(--text-sm); color: var(--text-muted); margin-top: 4px;
  line-height: 1.4;
}
.stat-card.blue   .sc-icon { background: #dbeafe; }
.stat-card.green  .sc-icon { background: #dcfce7; }
.stat-card.amber  .sc-icon { background: #fef3c7; }
.stat-card.purple .sc-icon { background: #ede9fe; }
.stat-card.red    .sc-icon { background: #fee2e2; }

/* ── PANELİN TABLOSU ────────────────────────────────────────── */
.panel-table-wrap {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
}
.panel-table-head {
  padding: 20px 26px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.panel-table-head h3 { font-size: var(--text-lg); }
table.data-table { width: 100%; border-collapse: collapse; }
table.data-table th {
  background: var(--gray-1); padding: 12px 18px;
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: var(--tracking-wider); color: var(--text-muted);
  text-align: left; border-bottom: 1px solid var(--border);
}
table.data-table td {
  padding: 15px 18px; font-size: var(--text-sm);
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle; line-height: 1.5;
}
table.data-table tr:last-child td { border-bottom: none; }
table.data-table tr:hover td { background: #f9fafb; }
.status-dot {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px; border-radius: 999px;
  font-size: var(--text-xs); font-weight: 700;
}

/* ── GİRİŞ SAYFASI ──────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  background: var(--navy);
  background-image: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(37,99,235,.3) 0%, transparent 70%);
  display: grid; place-items: center; padding: 40px 20px;
}
.login-card {
  background: rgba(255,255,255,.05); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-xl);
  padding: 52px 48px; width: 100%; max-width: 450px;
}
.login-logo { text-align: center; margin-bottom: 36px; }
.login-logo .logo-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid; place-items: center; font-size: 1.7rem;
  margin: 0 auto 14px;
}
.login-logo h1 { font-size: var(--text-2xl); color: white; }
.login-logo p {
  font-size: var(--text-sm); color: rgba(255,255,255,.5);
  margin-top: 6px; line-height: 1.5;
}
.login-step { animation: fadeIn .3s ease; }
.otp-inputs { display: flex; gap: 10px; justify-content: center; margin: 28px 0; }
.otp-inputs input {
  width: 54px; height: 64px; text-align: center; font-size: 1.5rem;
  font-weight: 700; font-family: var(--font-head);
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 13px; color: white; outline: none; transition: all .2s;
}
.otp-inputs input:focus { border-color: var(--blue-light); background: rgba(255,255,255,.15); box-shadow: 0 0 0 3px rgba(59,130,246,.25); }
.otp-timer { text-align: center; font-size: var(--text-sm); color: rgba(255,255,255,.5); margin-top: 14px; }
.otp-resend { color: var(--blue-glow); cursor: pointer; background: none; border: none; font-size: var(--text-sm); }
.login-divider { text-align: center; color: rgba(255,255,255,.3); font-size: var(--text-sm); margin: 22px 0; }

/* ── ZAMAN ÇİZELGESİ ────────────────────────────────────────── */
.timeline { position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 20px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item {
  display: flex; gap: 22px; padding-bottom: 30px;
  position: relative;
}
.timeline-dot {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1rem;
  position: relative; z-index: 1; border: 3px solid white;
  box-shadow: 0 0 0 3px var(--border);
}
.timeline-dot.active  { box-shadow: 0 0 0 3px var(--blue); }
.timeline-dot.done    { background: var(--green); box-shadow: 0 0 0 3px #dcfce7; }
.timeline-dot.current { background: var(--blue);  box-shadow: 0 0 0 3px #dbeafe; }
.timeline-dot.pending { background: var(--gray-3); }
.timeline-body { padding-top: 8px; }
.timeline-body h4   { font-size: var(--text-base); margin-bottom: 4px; }
.timeline-body time { font-size: var(--text-sm); color: var(--text-muted); }
.timeline-body p    { font-size: var(--text-sm); color: var(--text-muted); margin-top: 8px; line-height: var(--leading-relaxed); }

/* ── MESAJLAŞMA ─────────────────────────────────────────────── */
.chat-window {
  display: flex; flex-direction: column;
  height: 480px; background: white;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.chat-messages { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.chat-msg {
  max-width: 72%; padding: 13px 17px; border-radius: 16px;
  font-size: var(--text-sm); line-height: var(--leading-relaxed);
}
.chat-msg.from-customer { background: #f3f4f6; color: var(--text-main); border-radius: 16px 16px 16px 4px; align-self: flex-start; }
.chat-msg.from-admin    { background: var(--blue); color: white; border-radius: 16px 16px 4px 16px; align-self: flex-end; }
.chat-msg time { display: block; font-size: var(--text-xs); opacity: .6; margin-top: 6px; }
.chat-input-row {
  padding: 16px; border-top: 1px solid var(--border);
  display: flex; gap: 10px;
}
.chat-input-row input {
  flex: 1; padding: 11px 17px; border-radius: 999px;
  border: 1px solid var(--border); outline: none; font-size: var(--text-sm);
  transition: border-color .2s; line-height: 1.5;
}
.chat-input-row input:focus { border-color: var(--blue); }
.chat-send-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); border: none; cursor: pointer;
  display: grid; place-items: center; color: white; font-size: 1rem;
  transition: all .2s;
}
.chat-send-btn:hover { background: #1d4ed8; }

/* ── TRACKING PROGRESS ─────────────────────────────────────── */
.tracking-steps {
  display: flex; align-items: flex-start; gap: 0;
  overflow-x: auto; padding: 20px 0;
}
.tracking-step { flex: 1; text-align: center; position: relative; min-width: 100px; }
.tracking-step:not(:last-child)::after {
  content: ''; position: absolute; top: 18px; left: 55%; right: -5%;
  height: 2px; background: var(--border);
}
.tracking-step.done::not(:last-child)::after    { background: var(--green); }
.tracking-step.current:not(:last-child)::after { background: linear-gradient(90deg, var(--blue), var(--border)); }
.ts-circle {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--border); background: white;
  display: grid; place-items: center; margin: 0 auto 10px;
  font-size: .9rem; position: relative; z-index: 1; transition: all .3s;
}
.tracking-step.done .ts-circle    { background: var(--green); border-color: var(--green); color: white; }
.tracking-step.current .ts-circle { background: var(--blue);  border-color: var(--blue);  color: white; box-shadow: 0 0 0 4px #dbeafe; }
.ts-label { font-size: var(--text-xs); color: var(--text-muted); line-height: 1.4; }
.tracking-step.done .ts-label,
.tracking-step.current .ts-label { color: var(--text-main); font-weight: 600; }

/* ── ANİMASYONLAR ───────────────────────────────────────────── */
@keyframes fadeIn  { from { opacity: 0; transform: translateY(8px);  } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade { animation: fadeIn  .5s ease both; }
.animate-up   { animation: slideUp .6s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar-menu, .navbar-cta { display: none; }
  .hamburger { display: flex; }
  .navbar-menu.open {
    display: flex; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: var(--navy-2);
    padding: 16px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .hero-inner  { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .form-row    { grid-template-columns: 1fr; }
  .panel-layout   { grid-template-columns: 1fr; }
  .panel-sidebar  { position: fixed; left: -260px; transition: left .3s; z-index: 999; }
  .panel-sidebar.open { left: 0; }
  .footer-grid    { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom  { flex-direction: column; gap: 8px; text-align: center; }
  .process-step:not(:last-child)::after { display: none; }
  .section    { padding: 72px 0; }
  .section-sm { padding: 44px 0; }
}
@media (max-width: 480px) {
  .hero { padding: 72px 0 56px; }
  .section { padding: 56px 0; }
  .login-card { padding: 36px 26px; }
  .otp-inputs input { width: 46px; height: 56px; font-size: 1.25rem; }
  .contact-form { padding: 30px 24px; }
  .container { padding: 0 20px; }
}

/* ── YARDIMCI ────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-green  { color: var(--green); }
.text-red    { color: var(--red); }
.text-blue   { color: var(--blue); }
.mt-1 { margin-top: 8px;  } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px;  } .mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.d-flex      { display: flex; }
.align-center{ align-items: center; }
.gap-1 { gap: 8px;  } .gap-2 { gap: 16px; }
.w-100  { width: 100%; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
