/* =====================================================
   Dekan Teknik — Ön Yüz Stilleri
   Tema: Petrol yeşili zemin + ateş kırmızısı (ısıtma)
         ve buz mavisi (soğutma) vurguları
   ===================================================== */

:root {
  --petrol: #072e36;
  --petrol-2: #0b3d46;
  --petrol-3: #11525e;
  --accent: #e63b2e;
  --accent-dark: #c52f24;
  --accent-soft: #ff8a3d;
  --ice: #35c8e0;
  --wa: #25d366;
  --wa-dark: #1ebe5b;
  --ink: #18272c;
  --muted: #5b7480;
  --line: #dde8ea;
  --bg: #ffffff;
  --bg-alt: #f1f7f8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 4px 16px rgba(7, 46, 54, .07);
  --shadow-lg: 0 12px 32px rgba(7, 46, 54, .12);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }

h1, h2, h3 { line-height: 1.22; color: var(--petrol); font-weight: 800; letter-spacing: -.3px; }

.text-accent { color: var(--accent); }

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 3px 12px rgba(230, 59, 46, .22); }
.btn-accent:hover { background: var(--accent-dark); box-shadow: 0 5px 16px rgba(230, 59, 46, .28); transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 3px 12px rgba(37, 211, 102, .2); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn-outline:hover { background: var(--petrol); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Topbar ---------- */

.topbar { background: var(--petrol); color: #bfdde2; font-size: 13px; }
.topbar-inner { display: flex; gap: 24px; align-items: center; padding: 8px 20px; }
.topbar-item .ui-icon { color: var(--ice); }
.topbar-phone { margin-left: auto; color: #fff; font-weight: 700; }
.topbar-phone:hover { color: var(--ice); }

/* ---------- Header ---------- */

.header {
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 14px; padding: 12px 20px; }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 46px; width: auto; display: block; }

.nav { display: flex; gap: 0; margin-left: auto; align-items: center; flex-wrap: nowrap; }
.nav > a, .nav-drop > a {
  padding: 8px 11px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  color: var(--ink); white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.nav > a:hover, .nav-drop > a:hover { background: var(--bg-alt); color: var(--accent); }

.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; z-index: 50;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-drop-menu a {
  display: block; padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 600;
}
.nav-drop-menu a:hover { background: var(--bg-alt); color: var(--accent); }

/* İkinci seviye menü (kategori → alt hizmetler) */
.nav-sub { position: relative; }
.nav-sub-toggle { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; }
.nav-sub-arrow { color: var(--muted); font-size: 16px; line-height: 1; transition: transform .15s; }
.nav-sub:hover > .nav-sub-toggle { background: var(--bg-alt); color: var(--accent); }
.nav-sub:hover > .nav-sub-toggle .nav-sub-arrow { color: var(--accent); }
.nav-sub-menu {
  position: absolute; left: calc(100% + 2px); top: -8px; min-width: 230px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateX(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; z-index: 60;
}
.nav-sub:hover > .nav-sub-menu, .nav-sub:focus-within > .nav-sub-menu {
  opacity: 1; visibility: visible; transform: translateX(0);
}
.nav-all-link {
  margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px !important;
  color: var(--accent) !important; font-weight: 700 !important;
}

.header-cta { white-space: nowrap; padding: 10px 20px; font-size: 14px; flex-shrink: 0; }
.nav-toggle {
  display: none; background: none; border: none; font-size: 26px;
  color: var(--petrol); cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--petrol) 0%, var(--petrol-2) 60%, var(--petrol-3) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px;
  padding: 76px 20px 84px; position: relative; z-index: 1; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(53, 200, 224, .14); border: 1px solid rgba(53, 200, 224, .4);
  color: #c8eff7;
  padding: 7px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 22px;
}
.hero-badge .ui-icon { color: var(--ice); }
.hero h1 { color: #fff; font-size: 48px; margin-bottom: 18px; }
.hero-sub { font-size: 17px; color: #b9d6dc; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats div {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px; padding: 10px 18px;
}
.hero-stats strong { font-size: 24px; color: var(--ice); }
.hero-stats span { font-size: 12.5px; color: #9fc2ca; }

.hero-card {
  background: #fff;
  border-radius: 24px; padding: 30px 28px 22px;
  box-shadow: 0 16px 44px rgba(4, 22, 27, .28);
  color: var(--ink); position: relative; overflow: hidden;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent);
}
.hero-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.hero-card-icon {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  background: var(--accent);
  color: #fff; display: flex; align-items: center; justify-content: center;
}
.hero-card h2 { font-size: 20px; margin-bottom: 2px; }
.hero-card-head p { font-size: 13.5px; color: var(--muted); margin: 0; }
.hero-card form { display: flex; flex-direction: column; gap: 12px; }

.hero-field { position: relative; display: block; }
.hero-field-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--muted); display: flex; pointer-events: none; transition: color .25s var(--ease);
}
.hero-card .hero-field input, .hero-card .hero-field select { padding-left: 42px; }
.hero-field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.hero-field:has(select)::after {
  content: ''; position: absolute; right: 16px; top: 50%;
  width: 9px; height: 9px; pointer-events: none;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
}
.hero-field:focus-within .hero-field-icon { color: var(--accent); }

.hero-card-trust {
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line);
}
.hero-card-trust span {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--muted);
}
.hero-card-trust .ui-icon { color: var(--ice); }

/* ---------- Form elemanları ---------- */

input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg-alt);
  transition: border-color .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--ice); background: #fff;
  box-shadow: 0 0 0 3px rgba(53, 200, 224, .15);
}
.hp-field { position: absolute !important; left: -9999px !important; height: 0; opacity: 0; }

/* ---------- Bölümler ---------- */

.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 46px; }
.section-kicker {
  display: inline-block; color: var(--accent); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}
.section-head h2 { font-size: 33px; margin-bottom: 12px; }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Kartlar ---------- */

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #c6dade; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); flex: 1; }

.card-link { color: var(--accent); font-weight: 700; font-size: 14px; margin-top: 14px; }

.service-icon {
  width: 58px; height: 58px; border-radius: 18px; margin-bottom: 16px;
  background: var(--petrol-2);
  color: var(--ice); display: flex; align-items: center; justify-content: center;
}

/* ---------- Özellikler ---------- */

.features .feature { text-align: center; padding: 20px; }
.feature-icon {
  width: 66px; height: 66px; border-radius: 22px; margin: 0 auto 16px;
  background: var(--bg-alt); border: 1px solid var(--line);
  color: var(--accent); display: flex; align-items: center; justify-content: center;
}
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- Nasıl Çalışıyoruz ---------- */

.howto-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.howto-step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.howto-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #c6dade; }
.howto-icon {
  width: 64px; height: 64px; border-radius: 20px; margin: 0 auto 16px; position: relative;
  background: var(--petrol-2);
  color: var(--ice); display: flex; align-items: center; justify-content: center;
}
.howto-num {
  position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #fff; border: 2px solid #fff;
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.howto-step h3 { font-size: 17px; margin-bottom: 8px; }
.howto-step p { font-size: 14px; color: var(--muted); }

/* ---------- CTA bandı ---------- */

.cta-band { background: var(--accent); color: #fff; padding: 48px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 27px; margin-bottom: 6px; }
.cta-band p { opacity: .94; font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-accent { background: var(--petrol); box-shadow: none; }
.cta-band .btn-accent:hover { background: var(--petrol-2); }

/* ---------- İlçe etiketleri ---------- */

.district-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.district-chip {
  background: #fff; border: 1.5px solid var(--line); padding: 9px 20px;
  border-radius: 999px; font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              color .3s var(--ease), box-shadow .3s var(--ease);
}
.district-chip .ui-icon { color: var(--ice); }
.district-chip:hover {
  border-color: var(--petrol); background: var(--petrol); color: #fff;
  box-shadow: var(--shadow);
}
.district-chip:hover .ui-icon { color: var(--ice); }
.section-alt .district-chip { background: #fff; }

/* ---------- Yorumlar ---------- */

.testimonial .stars { color: #f5a623; font-size: 17px; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial p { font-style: italic; }
.testimonial-meta { margin-top: 14px; display: flex; gap: 10px; align-items: baseline; }
.testimonial-meta strong { color: var(--petrol); }
.testimonial-meta span { color: var(--muted); font-size: 13px; }

/* ---------- SSS ---------- */

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0; overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item[open] { border-color: rgba(53, 200, 224, .55); box-shadow: var(--shadow); }
.faq-item summary {
  padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; color: var(--petrol);
}
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--accent); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 22px 18px; color: var(--muted); font-size: 15px; }

/* ---------- Blog kartları ---------- */

.post-date { font-size: 13px; color: var(--ice); font-weight: 700; margin-bottom: 8px; display: inline-block; }
.post-card:hover .post-date { color: var(--accent); }

/* ---------- İç sayfa hero ---------- */

.page-hero {
  background: linear-gradient(160deg, var(--petrol), var(--petrol-3));
  color: #fff; padding: 54px 0;
}
.page-hero h1 { color: #fff; font-size: 37px; margin-bottom: 10px; }
.page-hero p { color: #b9d6dc; max-width: 640px; font-size: 16px; }
.breadcrumb { font-size: 13px; color: #8fb4bc; margin-bottom: 14px; }
.breadcrumb a { color: #b9d6dc; }
.breadcrumb a:hover { color: var(--ice); }
.breadcrumb span { color: #fff; }

/* ---------- İçerik düzeni ---------- */

.content-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.content-body h2 { font-size: 26px; margin: 32px 0 14px; }
.content-body h2:first-child { margin-top: 0; }
.content-body h3 { font-size: 20px; margin: 24px 0 10px; }
.content-body p { margin-bottom: 14px; color: #2f444c; }
.content-body ul { margin: 0 0 16px 22px; color: #2f444c; }
.content-body li { margin-bottom: 8px; }
.content-body li::marker { color: var(--accent); }
.content-body .district-cloud { justify-content: flex-start; margin-top: 14px; }

.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 92px; }
.sidebar-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.sidebar-card h3 { font-size: 17px; margin-bottom: 12px; }
.sidebar-cta {
  background: linear-gradient(160deg, var(--petrol), var(--petrol-2));
  border: none; color: #fff;
}
.sidebar-cta h3 { color: #fff; }
.sidebar-cta p { color: #b9d6dc; font-size: 14px; margin-bottom: 14px; }
.sidebar-cta .btn { margin-bottom: 10px; }
/* Koyu zemin üzerinde outline butonlar her zaman açık renk olmalı */
.sidebar-cta .btn-outline,
.sidebar-cta .btn-outline-light {
  border-color: rgba(255,255,255,.55); color: #fff; background: transparent;
}
.sidebar-cta .btn-outline:hover,
.sidebar-cta .btn-outline-light:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }
.sidebar-links { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.sidebar-links a {
  display: block; padding: 8px 10px; border-radius: 10px; font-size: 14px; font-weight: 600;
  color: var(--ink);
}
.sidebar-links a:hover { background: var(--bg-alt); color: var(--accent); }
.sidebar-links li { font-size: 14px; padding: 4px 0; }
.sidebar-links .ui-icon { color: var(--ice); }
.sidebar-stats { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sidebar-stats strong { color: var(--accent); font-size: 18px; margin-right: 6px; }

.neighborhood-box {
  margin-top: 40px; background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.neighborhood-box h2 { font-size: 22px; margin-bottom: 10px; }
.neighborhood-box p { color: var(--muted); }

/* ---------- İletişim ---------- */

.contact-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }

.map-embed {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); line-height: 0;
}
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

.review-card {
  display: flex; flex-direction: column; gap: 4px; text-align: center;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.review-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.review-stars { color: #f5a623; font-size: 20px; letter-spacing: 3px; }
.review-card strong { color: var(--petrol); font-size: 15px; }
.review-sub { color: var(--muted); font-size: 13px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: var(--petrol); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-note { color: var(--muted); font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }

.steps-list { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 14px; }
.steps-list li { counter-increment: step; display: flex; gap: 12px; font-size: 14px; color: var(--muted); align-items: flex-start; }
.steps-list li > span { flex: 1; min-width: 0; line-height: 1.5; }
.steps-list strong { display: block; margin-bottom: 2px; }
.steps-list li::before {
  content: counter(step); flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}
.steps-list strong { color: var(--petrol); }

.nav-quote {
  background: rgba(230, 59, 46, .09);
  color: var(--accent) !important; font-weight: 700 !important;
}
.nav-quote:hover { background: var(--accent) !important; color: #fff !important; }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 15px; }
.alert-success { background: #e7f8ee; color: #14693a; border: 1px solid #b5e8cb; }
.alert-success a { font-weight: 700; text-decoration: underline; }
.alert-error { background: #fdeaea; color: #9b1c1c; border: 1px solid #f5c2c2; }

/* ---------- Footer ---------- */

.footer { background: #051f25; color: #b9d6dc; margin-top: 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding: 60px 20px 42px;
}
.footer h3 {
  color: #fff; font-size: 15px; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 1.4px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer a { font-size: 14px; transition: color .25s var(--ease); }
.footer a:hover { color: var(--ice); }
.footer-about { font-size: 14px; margin-top: 14px; color: #8fb4bc; }
.footer-logo-box {
  display: inline-block; background: #fff; border-radius: 14px; padding: 10px 14px;
}
.footer-logo-box img { height: 54px; width: auto; display: block; }
.footer-contact li { font-size: 14px; }
.footer-contact .ui-icon { color: var(--ice); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 13px; color: #7da3ac; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-credit { color: #b9d6dc; font-weight: 700; }
.footer-credit:hover { color: var(--ice); }
.footer-legal a { color: #9fc2ca; }
.footer-legal a:hover { color: var(--ice); }

.form-note a { color: var(--accent); font-weight: 700; text-decoration: underline; }

/* ---------- Galeri ---------- */

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--petrol); aspect-ratio: 4 / 3; display: block; cursor: pointer;
}
.gallery-item img, .gallery-item video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px;
  background: linear-gradient(transparent, rgba(7, 46, 54, .88));
  color: #fff; font-size: 13.5px; font-weight: 600;
}
.gallery-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; background: rgba(7, 46, 54, .35);
}
.gallery-video { aspect-ratio: auto; }
.gallery-video video { aspect-ratio: 16 / 9; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state p { margin-bottom: 18px; font-size: 17px; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(4, 22, 27, .95);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px;
  padding: 30px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 12px; }
.lightbox-title { color: #b9d6dc; font-size: 14px; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; background: rgba(255,255,255,.12);
  border: none; color: #fff; width: 42px; height: 42px; border-radius: 50%;
  font-size: 18px; cursor: pointer;
}
.lightbox-close:hover { background: var(--accent); }

/* ---------- WhatsApp float ---------- */

.wa-float {
  position: fixed; right: 22px; bottom: 92px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .35);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-float:hover { transform: scale(1.05); box-shadow: 0 8px 22px rgba(37, 211, 102, .4); }

/* ---------- Sayfa başına dön ---------- */

.scroll-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--petrol-2); color: var(--ice);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(7, 46, 54, .25);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease),
              visibility .3s, background-color .3s var(--ease);
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--petrol-3); }

/* ---------- Mobil sabit arama barı (dönüşüm) ---------- */

.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  box-shadow: 0 -4px 18px rgba(7, 46, 54, .2);
}
.mobile-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 10px; font-weight: 800; font-size: 15px; color: #fff;
}
.mobile-bar-call { background: var(--accent); }
.mobile-bar-wa { background: var(--wa); }

/* ---------- Genel ikon hizalama ---------- */

.ui-icon { vertical-align: -3px; flex-shrink: 0; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.footer-contact li, .sidebar-links li { display: flex; align-items: center; gap: 7px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .nav > a, .nav-drop > a { padding: 8px 8px; font-size: 13.5px; }
  .logo-img { height: 42px; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; padding: 52px 20px; }
  .hero h1 { font-size: 37px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .howto-grid { grid-template-columns: repeat(2, 1fr); }
  .content-layout, .contact-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  .header-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px; box-shadow: var(--shadow-lg); gap: 2px;
  }
  .nav.open { display: flex; }
  .nav > a, .nav-drop > a { font-size: 15px; border-radius: 12px; }
  .nav-drop-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding-left: 16px; display: none;
  }
  .nav-drop:hover .nav-drop-menu, .nav-drop.open .nav-drop-menu { display: block; }

  /* Mobilde ikinci seviye: akordiyon */
  .nav-sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding-left: 16px; min-width: 0; display: none;
  }
  .nav-sub.open > .nav-sub-menu { display: block; }
  .nav-sub.open > .nav-sub-toggle .nav-sub-arrow { transform: rotate(90deg); }
}

@media (max-width: 768px) {
  .topbar-inner { gap: 12px; font-size: 12px; flex-wrap: wrap; }
  .topbar-item:nth-child(2) { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .howto-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 31px; }
  .section { padding: 52px 0; }
  .section-head h2 { font-size: 26px; }
  .page-hero h1 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .hero-stats { gap: 10px; }
  .hero-stats div { padding: 8px 14px; }
  .hero-actions .btn { flex: 1; min-width: 200px; }
  .logo-img { height: 40px; }
  .gallery-grid { grid-template-columns: 1fr; }

  /* Mobil dönüşüm barı: görünür yap, içerik altta kalmasın */
  body { padding-bottom: 56px; }
  .mobile-bar { display: flex; }
  .wa-float { display: none; }
  .scroll-top { right: 16px; bottom: 72px; width: 42px; height: 42px; }
  .footer-bottom { padding-bottom: 24px; }
}
