/* ============================================================
   Silopi Buğdaylı Aile Sağlık Merkezi — Profesyonel Tasarım
   ============================================================ */

/* ── 1. TOKENS & RESET ──────────────────────────────────── */
:root {
  --primary:       #1163A8;
  --primary-dark:  #084070;
  --primary-xdark: #041E38;
  --primary-light: #EBF5FF;
  --teal:          #0DA5C4;
  --gold:          #E9A020;
  --success:       #16A34A;
  --danger:        #DC2626;
  --text:          #152237;
  --text-mid:      #3D5874;
  --text-light:    #6B85A0;
  --white:         #FFFFFF;
  --surface:       #F4F8FD;
  --border:        #D5E6F5;
  --card:          #FFFFFF;

  --sh-xs: 0 1px 4px rgba(4,30,56,.07);
  --sh-sm: 0 2px 10px rgba(4,30,56,.09);
  --sh-md: 0 6px 24px rgba(4,30,56,.11);
  --sh-lg: 0 16px 48px rgba(4,30,56,.14);

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  22px;

  --font-display: 'Outfit', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; cursor: pointer; }

/* ── 2. TOPBAR ──────────────────────────────────────────── */
.topbar {
  background: var(--primary-xdark);
  color: rgba(255,255,255,.85);
  font-size: 12.5px;
  padding: 7px 0;
  font-family: var(--font-display);
}

.topbar .inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
}

.topbar .phone {
  display: flex; align-items: center; gap: 7px;
  font-weight: 600; letter-spacing: .01em;
}

.topbar .phone::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

.topbar .links a {
  color: rgba(255,255,255,.65); margin-left: 18px; font-size: 12px;
  transition: color .2s;
}
.topbar .links a:hover { color: #fff; }

/* ── 3. HEADER ──────────────────────────────────────────── */
header {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(4,30,56,.08);
  position: sticky; top: 0; z-index: 200;
}

.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 16px;
}

.logo-area {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 0; min-width: 250px; cursor: pointer;
  flex-shrink: 0;
}

.logo-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(17,99,168,.35);
}

.logo-icon svg { width: 26px; height: 26px; fill: white; }

.logo-text h1 {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 800;
  color: var(--primary-dark); line-height: 1.3;
  letter-spacing: -.01em;
}
.logo-text span { font-size: 11px; color: var(--text-light); font-weight: 500; }

/* ── 4. NAV ─────────────────────────────────────────────── */
nav { flex: 1; }

nav ul { list-style: none; display: flex; }

nav ul li { position: relative; }

nav ul li > a {
  display: block; padding: 19px 11px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700;
  color: var(--text-mid); letter-spacing: .02em;
  transition: color .2s; white-space: nowrap;
}

nav ul li > a:hover,
nav ul li > a.active { color: var(--primary); }

nav ul li > a.active { position: relative; }
nav ul li > a.active::after {
  content: ''; position: absolute; bottom: 0; left: 12px; right: 12px;
  height: 3px; background: var(--primary); border-radius: 3px 3px 0 0;
}

/* Dropdown */
nav ul li ul {
  position: absolute; top: 100%; left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  min-width: 230px;
  box-shadow: var(--sh-lg);
  display: none; z-index: 400;
  border-radius: 0 0 var(--r-md) var(--r-md);
  overflow: hidden;
}

nav ul li:hover ul { display: block; }

nav ul li ul li a {
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
  color: var(--text-mid);
  transition: background .15s, color .15s;
}
nav ul li ul li a::before { content: '›'; color: var(--teal); font-size: 16px; line-height: 1; }
nav ul li ul li a:hover { color: var(--primary); background: var(--primary-light); }
nav ul li ul li:last-child a { border-bottom: none; }

/* Hamburger */
.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto;
  flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 5. PAGE HERO ───────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary-xdark) 0%, var(--primary-dark) 60%, var(--primary) 100%);
  padding: 50px 0 42px; color: #fff; position: relative; overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.05) 0%, transparent 60%),
    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.025'%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");
}

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

.page-hero h2 {
  font-family: var(--font-display); font-size: 30px; font-weight: 800;
  margin-bottom: 10px; letter-spacing: -.02em;
}

.page-hero .breadcrumb {
  font-size: 13px; opacity: .75;
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-weight: 500;
}
.page-hero .breadcrumb a:hover { opacity: 1; }

.page-content { max-width: 1200px; margin: 0 auto; padding: 52px 24px; }

/* ── 6. HERO SLIDER ─────────────────────────────────────── */
.hero { position: relative; overflow: hidden; height: 480px; }

.hero-slide {
  display: flex; align-items: center; padding: 0 80px;
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .8s ease;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }

.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(4,30,56,.88) 0%, rgba(17,99,168,.65) 55%, rgba(13,165,196,.3) 100%);
}

.hero-content { position: relative; z-index: 2; color: #fff; }

.hero-content .tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px; padding: 5px 14px;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px;
}

.hero-content h2 {
  font-family: var(--font-display); font-size: 40px; font-weight: 800;
  line-height: 1.15; margin-bottom: 14px; max-width: 560px;
  letter-spacing: -.025em;
}

.hero-content p {
  font-size: 16px; opacity: .88; margin-bottom: 28px;
  max-width: 460px; font-weight: 400; line-height: 1.65;
}

.hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--primary-dark);
  padding: 12px 26px; border-radius: var(--r-md);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: transform .2s, box-shadow .2s;
}
.hero-btn::after { content: '→'; font-size: 14px; }
.hero-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.28); }

.hero-controls {
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.35); cursor: pointer; border: none;
  transition: background .2s, width .3s;
}
.hero-dot.active { background: #fff; width: 24px; border-radius: 4px; }

.hero-arrows {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 100%; display: flex; justify-content: space-between;
  padding: 0 20px; pointer-events: none;
}
.hero-arrow {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50%; cursor: pointer; pointer-events: all;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 20px; transition: background .2s, transform .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.3); transform: scale(1.08); }

/* ── 7. QUICK CARDS ─────────────────────────────────────── */
.quick-cards {
  max-width: 1200px; margin: -48px auto 0;
  padding: 0 24px; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 18px;
  position: relative; z-index: 10;
}

.quick-card {
  background: var(--card); border-radius: var(--r-lg);
  padding: 24px 22px; box-shadow: var(--sh-md);
  display: flex; align-items: flex-start; gap: 16px;
  transition: transform .25s, box-shadow .25s; cursor: pointer;
  border-bottom: 3px solid transparent;
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }

.qc1:hover { border-bottom-color: var(--primary); }
.qc2:hover { border-bottom-color: var(--teal); }
.qc3:hover { border-bottom-color: var(--gold); }

.quick-icon {
  width: 50px; height: 50px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.qc1 .quick-icon { background: linear-gradient(135deg, #dbeeff, #b3d6f7); }
.qc2 .quick-icon { background: linear-gradient(135deg, #d0f5fd, #a4e7f7); }
.qc3 .quick-icon { background: linear-gradient(135deg, #fef3d0, #fde099); }

.quick-icon svg { width: 24px; height: 24px; }
.quick-icon svg[stroke] { stroke-width: 2.2; }

.quick-card h4 {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--text); margin-bottom: 5px;
}
.quick-card p { font-size: 12.5px; color: var(--text-light); line-height: 1.55; }

/* ── 8. SECTIONS GENERAL ────────────────────────────────── */
section { padding: 64px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 {
  font-family: var(--font-display); font-size: 27px; font-weight: 800;
  color: var(--text); letter-spacing: -.02em; display: inline-block;
  position: relative; padding-bottom: 14px;
}
.section-title h2::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  border-radius: 3px;
}
.section-title p { color: var(--text-light); margin-top: 13px; font-size: 14px; }

/* Alternating backgrounds */
.bg-surface { background: var(--surface); }
.bg-white   { background: var(--white); }

/* ── 9. TEAM CARDS ──────────────────────────────────────── */
.team-section { background: var(--surface); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.team-card {
  background: var(--card); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-sm); text-align: center;
  transition: transform .28s, box-shadow .28s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }

.team-photo {
  height: 160px; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.tp1 { background: linear-gradient(145deg, #1560A8, #0A3D6B); }
.tp2 { background: linear-gradient(145deg, #0DA5C4, #0A7A96); }
.tp3 { background: linear-gradient(145deg, #E9A020, #C07810); }
.tp4 { background: linear-gradient(145deg, #7C3AED, #5B21B6); }

.avatar-icon {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid rgba(255,255,255,.5);
}
.avatar-icon svg { width: 44px; height: 44px; fill: white; }

.team-info { padding: 20px 16px 22px; }
.team-info h4 { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.team-info .role { font-size: 12px; color: var(--primary); font-weight: 600; margin-bottom: 14px; letter-spacing: .02em; }

.team-link {
  display: inline-block; padding: 7px 20px;
  background: var(--primary-light); color: var(--primary);
  border-radius: 20px; font-size: 11.5px; font-weight: 700;
  font-family: var(--font-display); letter-spacing: .02em;
  transition: background .2s, color .2s;
}
.team-link:hover { background: var(--primary); color: #fff; }

/* ── 10. GUIDE CARDS ────────────────────────────────────── */
.rehber-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.rehber-card {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); background: var(--card);
  transition: transform .22s, box-shadow .22s; cursor: pointer;
}
.rehber-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }

.rehber-img {
  height: 126px; display: flex; align-items: center;
  justify-content: center; font-size: 46px;
}
.c1 { background: linear-gradient(135deg, #EBF5FF, #C7E2F5); }
.c2 { background: linear-gradient(135deg, #E0FDF4, #A7F3D0); }
.c3 { background: linear-gradient(135deg, #FFFBEB, #FDE68A); }
.c4 { background: linear-gradient(135deg, #FEF2F2, #FECACA); }
.c5 { background: linear-gradient(135deg, #F5F3FF, #DDD6FE); }
.c6 { background: linear-gradient(135deg, #ECFDF5, #A7F3D0); }

.rehber-body { padding: 16px 18px 20px; }
.rehber-body h4 { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.rehber-body a { font-size: 12px; color: var(--primary); font-weight: 600; display: flex; align-items: center; gap: 4px; }

/* ── 11. SERVICE CARDS ──────────────────────────────────── */
.hizmetler-section { background: linear-gradient(180deg, var(--white) 0%, var(--surface) 100%); }
.hizmetler-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.hiz-card {
  background: var(--card); border-radius: var(--r-lg);
  padding: 30px 24px; box-shadow: var(--sh-sm);
  border-top: 3px solid transparent;
  transition: border-color .2s, transform .22s, box-shadow .22s;
  position: relative; overflow: hidden;
}
.hiz-card::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--primary-light); opacity: .5;
  transition: opacity .3s;
}
.hiz-card:hover { border-top-color: var(--primary); transform: translateY(-4px); box-shadow: var(--sh-md); }
.hiz-card:hover::before { opacity: 1; }

.hiz-icon { font-size: 38px; margin-bottom: 16px; display: block; }
.hiz-card h4 { font-family: var(--font-display); font-size: 15.5px; font-weight: 700; color: var(--text); margin-bottom: 9px; }
.hiz-card p  { font-size: 13.5px; color: var(--text-light); line-height: 1.65; }

/* ── 12. ANNOUNCEMENTS ──────────────────────────────────── */
.duyuru-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.duyuru-card {
  background: var(--card); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .22s, box-shadow .22s; cursor: pointer;
}
.duyuru-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.duyuru-img {
  height: 108px; display: flex; align-items: center;
  justify-content: center; font-size: 36px;
}
.d1 { background: linear-gradient(135deg, #EBF5FF, #BAD9F5); }
.d2 { background: linear-gradient(135deg, #FFFBEB, #FDE68A); }
.d3 { background: linear-gradient(135deg, #F0FDF4, #BBF7D0); }
.d4 { background: linear-gradient(135deg, #FDF4FF, #E9D5FF); }

.duyuru-body { padding: 13px 15px 16px; }
.duyuru-body h5 { font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: var(--text); line-height: 1.45; }

/* Full list */
.duyuru-full-list { display: flex; flex-direction: column; gap: 14px; }
.duyuru-full-item {
  background: var(--card); border-radius: var(--r-md);
  padding: 20px 24px; box-shadow: var(--sh-xs);
  border-left: 4px solid var(--primary);
  display: flex; gap: 18px; align-items: flex-start;
  transition: transform .2s, box-shadow .2s;
}
.duyuru-full-item:hover { transform: translateX(5px); box-shadow: var(--sh-sm); }
.dfi-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.dfi-content h4 { font-family: var(--font-display); font-size: 14.5px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.dfi-content p  { font-size: 13.5px; color: var(--text-light); line-height: 1.65; }
.dfi-content .dfi-date { font-size: 11.5px; color: var(--primary); font-weight: 700; margin-top: 8px; letter-spacing: .02em; }

/* ── 13. MINISTRY ITEMS ──────────────────────────────────── */
.bakanlik { background: var(--surface); }
.bakanlik-list { display: flex; flex-direction: column; gap: 10px; }
.bakanlik-item {
  background: var(--card); border-radius: var(--r-md);
  padding: 15px 20px; display: flex; align-items: center;
  gap: 14px; box-shadow: var(--sh-xs); border-left: 3px solid var(--teal);
  transition: transform .2s; cursor: default;
}
.bakanlik-item:hover { transform: translateX(4px); }
.bk-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, #EBF5FF, #C7E2F5);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.bakanlik-item h5 { font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.45; }
.bakanlik-item .date { font-size: 11.5px; color: var(--text-light); margin-top: 3px; font-weight: 500; }

/* ── 14. QUICK LINKS ─────────────────────────────────────── */
.logo-links { padding: 44px 0; background: var(--white); }
.logos-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.logos-grid a {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--r-md); padding: 14px 10px;
  text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  color: var(--text-mid);
  transition: border-color .2s, box-shadow .2s, transform .2s, color .2s;
}
.logos-grid a:hover {
  border-color: var(--primary); box-shadow: var(--sh-sm);
  transform: translateY(-3px); color: var(--primary);
}
.logos-grid a .l-icon { font-size: 26px; }

/* ── 15. PROSE ───────────────────────────────────────────── */
.prose { max-width: 800px; margin: 0 auto; }
.prose h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  color: var(--primary-dark); margin: 32px 0 13px; letter-spacing: -.01em;
}
.prose p  { font-size: 14.5px; line-height: 1.8; color: var(--text-mid); margin-bottom: 16px; }
.prose ul { padding-left: 22px; margin-bottom: 16px; }
.prose ul li { font-size: 14.5px; line-height: 1.8; color: var(--text-mid); margin-bottom: 7px; }

.highlight-box {
  background: linear-gradient(135deg, var(--primary-light), #dceeff);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 18px 22px; margin: 22px 0;
  box-shadow: var(--sh-xs);
}
.highlight-box p { margin: 0; color: var(--primary-dark) !important; font-weight: 500; }

/* ── 16. INFO CARDS ──────────────────────────────────────── */
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 12px; }

.info-card {
  background: var(--card); border-radius: var(--r-lg);
  padding: 26px 22px; box-shadow: var(--sh-sm);
  border-top: 3px solid var(--primary-light);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.info-card:hover { border-top-color: var(--primary); box-shadow: var(--sh-md); transform: translateY(-3px); }
.info-card .ic-icon { font-size: 34px; margin-bottom: 13px; display: block; }
.info-card h4 { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 9px; }
.info-card p  { font-size: 13px; color: var(--text-light); line-height: 1.65; }

/* ── 17. TABLES ──────────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin-top: 22px; border-radius: var(--r-lg); box-shadow: var(--sh-sm); }

table { width: 100%; border-collapse: collapse; font-size: 13.5px; }

th {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; padding: 13px 18px; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: .02em;
}
th:first-child { border-radius: var(--r-sm) 0 0 0; }
th:last-child  { border-radius: 0 var(--r-sm) 0 0; }

td { padding: 12px 18px; border-bottom: 1px solid var(--border); background: var(--white); }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--surface); }
tr:hover td { background: var(--primary-light); }

.badge { display: inline-block; padding: 4px 12px; border-radius: 12px; font-size: 11px; font-weight: 700; font-family: var(--font-display); }
.badge-green  { background: #DCFCE7; color: #15803D; }
.badge-blue   { background: #DBEAFE; color: #1D4ED8; }
.badge-orange { background: #FFEDD5; color: #C2410C; }

/* ── 18. DOCUMENT LIST ───────────────────────────────────── */
.doc-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.doc-item {
  background: var(--card); border-radius: var(--r-md);
  padding: 17px 22px; display: flex; align-items: center; gap: 16px;
  box-shadow: var(--sh-xs); border-left: 3px solid var(--success);
  transition: transform .2s;
}
.doc-item:hover { transform: translateX(5px); }
.doc-icon { font-size: 28px; flex-shrink: 0; }
.doc-item h4 { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.doc-item p  { font-size: 12.5px; color: var(--text-light); }

/* ── 19. CONTACT ─────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 10px; }
.contact-box {
  background: var(--card); border-radius: var(--r-xl);
  padding: 30px 26px; box-shadow: var(--sh-sm);
}
.contact-box h3 {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--primary); margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.contact-row { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 18px; font-size: 14px; }
.contact-row .cr-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.contact-row strong { display: block; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.contact-row span   { color: var(--text-light); font-size: 13.5px; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 12.5px; font-weight: 700;
  color: var(--text); margin-bottom: 6px; font-family: var(--font-display); letter-spacing: .01em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; border: 1.5px solid var(--border);
  border-radius: var(--r-sm); padding: 11px 14px;
  font-size: 14px; font-family: var(--font-body); color: var(--text);
  outline: none; transition: border-color .2s, box-shadow .2s; background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(17,99,168,.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border: none; padding: 13px 32px;
  border-radius: var(--r-md);
  font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .02em;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(17,99,168,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(17,99,168,.45); }

/* ── 20. GALLERY ─────────────────────────────────────────── */
.galeri-foto-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.galeri-foto-item {
  border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 4/3; position: relative; cursor: pointer;
  box-shadow: var(--sh-sm);
}
.galeri-foto-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.galeri-foto-item:hover img { transform: scale(1.08); }
.galeri-overlay {
  position: absolute; inset: 0;
  background: rgba(17,99,168,0);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.galeri-overlay span { font-size: 32px; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s; }
.galeri-foto-item:hover .galeri-overlay { background: rgba(17,99,168,.50); }
.galeri-foto-item:hover .galeri-overlay span { opacity: 1; transform: scale(1); }

/* ── 21. FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--primary-xdark);
  color: rgba(255,255,255,.8); padding: 56px 0 0;
}

.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px;
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}

.footer-col h4 {
  font-family: var(--font-display); font-size: 13px; font-weight: 800;
  color: #fff; margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.12); letter-spacing: .05em; text-transform: uppercase;
}

.footer-col .footer-brand {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.footer-col .footer-brand .fb-icon {
  width: 40px; height: 40px; background: rgba(255,255,255,.1);
  border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.footer-col .footer-brand .fb-icon svg { width: 22px; height: 22px; fill: rgba(255,255,255,.8); }
.footer-col .footer-brand p { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9); line-height: 1.4; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  font-size: 13px; color: rgba(255,255,255,.6);
  display: flex; align-items: center; gap: 7px; transition: color .2s;
}
.footer-col ul li a::before { content: '›'; color: var(--teal); font-size: 16px; line-height: 1; flex-shrink: 0; }
.footer-col ul li a:hover { color: #fff; }

.contact-item-f { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: 13px; line-height: 1.5; }

.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 48px 24px 0; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; max-width: 1200px; margin: 0 auto;
  font-size: 12.5px; color: rgba(255,255,255,.45); flex-wrap: wrap; gap: 8px;
}

/* ── 22. BACK TO TOP ─────────────────────────────────────── */
#back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; border: none; border-radius: 50%; cursor: pointer; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(17,99,168,.4);
  opacity: 0; transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  font-size: 20px;
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { transform: translateY(-3px); }

/* ── 23. ANIMATIONS ──────────────────────────────────────── */
.anim { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.anim.visible { opacity: 1; transform: translateY(0); }
.anim-delay-1 { transition-delay: .1s; }
.anim-delay-2 { transition-delay: .2s; }
.anim-delay-3 { transition-delay: .3s; }
.anim-delay-4 { transition-delay: .4s; }
.anim-delay-5 { transition-delay: .5s; }

/* ── 24. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  nav ul li > a { padding: 19px 9px; font-size: 11.5px; }
}

@media (max-width: 900px) {
  .quick-cards,
  .rehber-grid,
  .hizmetler-grid,
  .info-cards,
  .contact-grid { grid-template-columns: 1fr 1fr; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .duyuru-grid { grid-template-columns: repeat(2, 1fr); }
  .logos-grid  { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .galeri-foto-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
  .topbar .links { display: none; }

  .hero { height: 320px; }
  .hero-content h2 { font-size: 26px; }
  .hero-content p  { font-size: 14px; }
  .hero-slide { padding: 0 28px; }

  .quick-cards,
  .team-grid,
  .rehber-grid,
  .hizmetler-grid,
  .duyuru-grid,
  .galeri-foto-grid,
  .info-cards,
  .contact-grid { grid-template-columns: 1fr; }

  .logos-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero h2 { font-size: 24px; }

  nav { display: none; }
  nav.open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
    border-top: 2px solid var(--border); box-shadow: var(--sh-lg);
    z-index: 300; padding: 12px 0;
  }
  nav.open ul { flex-direction: column; }
  nav.open ul li ul { position: static; box-shadow: none; border-top: none; border: none; background: var(--surface); }
  nav.open ul li ul li a { padding-left: 32px; }

  .menu-toggle { display: flex; }
  header .header-inner { position: relative; }
}
