/* ===== Haşimoğlu Yapı - Shared Styles ===== */

:root {
  --blue: #0170b9;
  --blue2: #005b91;
  --ink: #0b1220;
  --text: #0f172a;
  --muted: #586276;
  --bg: #f6f7fb;
  --card: #ffffff;
  --line: rgba(15, 23, 42, 0.1);
  --shadow: 0 10px 24px rgba(2, 8, 23, 0.1);
  --shadow2: 0 6px 16px rgba(2, 8, 23, 0.1);
  --ring: 0 0 0 3px rgba(1, 112, 185, 0.18);
  --radius: 16px;
  --brandLogoH: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(1000px 520px at 18% -10%, rgba(1,112,185,.16), transparent 60%),
    radial-gradient(900px 460px at 88% 0%, rgba(1,112,185,.1), transparent 55%),
    linear-gradient(180deg, #fbfcff 0%, #f2f5fb 40%, #f6f7fb 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container { width: min(1180px, 100% - 40px); margin: 0 auto; }
@media (max-width: 560px) {
  .container { width: min(1180px, 100% - 28px); }
}

/* Accessibility */
.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: #fff; border: 1px solid var(--line);
  padding: 10px 12px; border-radius: 12px;
  box-shadow: var(--shadow2); z-index: 9999;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 16px; outline: none;
  box-shadow: var(--shadow2), var(--ring);
}
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ===== HEADER ===== */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
header.scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 28px rgba(2,8,23,.08);
}
header::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.3;
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 16px; padding: 10px 0;
}
.brand {
  display: flex; align-items: center;
  gap: 12px; text-decoration: none;
}
.brand img {
  height: clamp(56px, 7vw, 96px);
  width: auto; filter: none;
}

nav.desktop {
  display: flex; align-items: center;
  gap: 6px; flex-wrap: wrap;
}
nav.desktop a {
  text-decoration: none; color: #1f2a3a;
  font-weight: 700; padding: 10px 16px;
  border-radius: 14px; background: transparent;
  transition: background .18s ease, color .18s ease;
}
nav.desktop a:hover { background: rgba(15,23,42,.04); }
nav.desktop a.aktif {
  color: var(--blue2);
  background: rgba(1,112,185,.1);
}

.header-actions { display: flex; gap: 10px; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center;
  justify-content: center; gap: 10px;
  padding: 11px 16px; border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none; font-weight: 700;
  font-size: 14px; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
  user-select: none; white-space: nowrap; letter-spacing: 0;
}
.btn.primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 8px 18px rgba(1,112,185,.2);
}
.btn.primary:hover { background: var(--blue2); transform: translateY(-1px); }
.btn.ghost {
  background: rgba(255,255,255,.65);
  border-color: var(--line); color: var(--text);
}
.btn.ghost:hover { background: rgba(15,23,42,.04); transform: translateY(-1px); }

/* Mobile menu */
.menu-btn {
  display: none; width: 44px; height: 44px;
  border-radius: 14px; border: 1px solid var(--line);
  background: #fff; box-shadow: 0 1px 8px rgba(2,8,23,.06);
  cursor: pointer;
}
.burger {
  width: 20px; height: 2px; background: #111;
  display: block; margin: 0 auto; position: relative;
  transition: background .2s ease;
}
.burger:before, .burger:after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: #111;
  transition: transform .2s ease, top .2s ease;
}
.burger:before { top: -6px; }
.burger:after { top: 6px; }

/* Burger animation when open */
.menu-btn.open .burger { background: transparent; }
.menu-btn.open .burger:before { top: 0; transform: rotate(45deg); }
.menu-btn.open .burger:after { top: 0; transform: rotate(-45deg); }

.drawer {
  display: none; border-top: 1px solid var(--line);
  background: #fff;
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.drawer.open { display: block; max-height: 500px; }
.drawer .inner { padding: 12px 0 16px; display: grid; gap: 8px; }
.drawer a {
  text-decoration: none; color: #1f2a3a;
  font-weight: 700; padding: 12px 12px;
  border-radius: 14px; border: 1px solid var(--line);
  background: #fff; transition: background .15s ease;
}
.drawer a.aktif { background: rgba(1,112,185,.1); color: var(--blue2); }
.drawer a:hover { background: rgba(15,23,42,.04); }

@media (max-width: 760px) {
  nav.desktop { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .header-actions .btn.ghost { display: none; }
}

/* ===== Badge (shared) ===== */
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(1,112,185,.1);
  border: 1px solid rgba(1,112,185,.18);
  color: var(--blue2);
  letter-spacing: .2px;
}

/* ===== Inner Page Hero ===== */
.inner-hero {
  padding: clamp(26px, 3.6vw, 38px) 0;
  background:
    radial-gradient(980px 360px at 10% -10%, rgba(1,112,185,.2), transparent 60%),
    radial-gradient(600px 300px at 90% 100%, rgba(1,112,185,.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.inner-hero::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.2;
}
.breadcrumb {
  display: flex; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted); margin-bottom: 10px;
}
.breadcrumb a { color: var(--blue2); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.inner-hero h1 {
  margin: 0; font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -.4px; line-height: 1.12; font-weight: 900;
}
.inner-hero p {
  margin: 10px 0 0; color: var(--muted);
  line-height: 1.75; max-width: 78ch; font-size: 15px;
}

section.base { padding: clamp(32px, 5vw, 58px) 0; }

/* Card */
.card {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 1px 12px rgba(2,8,23,.05);
}
.card h2, .card h3 { margin: 0 0 10px; }
.card p { margin: 0; color: var(--muted); line-height: 1.75; font-size: 14.5px; }

.muted { color: #4b5563; }

/* ===== FOOTER ===== */
footer {
  padding: 36px 0; background: var(--ink);
  color: rgba(255,255,255,.9); margin-top: 20px;
  position: relative;
}
footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #72c0ff, var(--blue));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 24px; align-items: start;
}
.footer-grid img { height: 78px; width: auto; }
footer a { color: rgba(255,255,255,.92); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer strong { font-size: 15px; letter-spacing: .2px; }
footer p { font-size: 14px; line-height: 1.7; }
.footer-social {
  display: flex; gap: 12px; margin-top: 14px;
}
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff;
  transition: background .25s, transform .25s;
}
.footer-social a:hover {
  background: var(--blue); transform: translateY(-2px);
}
.footer-social a svg { width: 18px; height: 18px; fill: currentColor; }

.copyright {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 22px; padding-top: 16px;
  font-size: 13px; color: rgba(255,255,255,.6);
  text-align: center;
}
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ===== Floating WhatsApp + Top ===== */
.float {
  position: fixed; right: 16px; bottom: 16px;
  display: flex; flex-direction: column;
  gap: 10px; z-index: 80;
}
.fab, .to-top {
  width: 52px; height: 52px; border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
  display: grid; place-items: center;
  cursor: pointer; text-decoration: none;
  font-weight: 900; transition: transform .12s ease;
}
.fab:hover, .to-top:hover { transform: translateY(-1px); }
.to-top { display: none; }

/* WhatsApp green FAB */
.fab {
  background: #25d366;
  border-color: rgba(255,255,255,.3);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
  animation: fabPulse 2.5s infinite;
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,.35); }
  50% { box-shadow: 0 6px 28px rgba(37,211,102,.55); }
}
.fab:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  animation: none;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed; bottom: 20px; left: 20px;
  background: #fff; padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  z-index: 9999; display: none;
  border: 1px solid var(--line);
  max-width: 400px;
}
.cookie-banner p {
  margin: 0 0 12px; font-size: 13px;
  color: #4b5563; line-height: 1.6;
}
.cookie-banner .cookie-actions {
  display: flex; gap: 8px;
}
.cookie-banner .cookie-accept {
  background: var(--blue); color: #fff;
  border: none; padding: 10px 18px;
  border-radius: 10px; cursor: pointer;
  font-weight: 700; font-size: 13px;
  flex: 1; transition: background .2s ease;
  font-family: inherit;
}
.cookie-banner .cookie-accept:hover { background: var(--blue2); }
.cookie-banner .cookie-reject {
  background: transparent; color: var(--muted);
  border: 1px solid var(--line); padding: 10px 18px;
  border-radius: 10px; cursor: pointer;
  font-weight: 600; font-size: 13px;
  transition: background .2s ease;
  font-family: inherit;
}
.cookie-banner .cookie-reject:hover { background: rgba(15,23,42,.04); }

/* ===== Responsive Grid Helpers ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999; display: none;
  align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain; border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 24px;
  display: grid; place-items: center;
  cursor: pointer; transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 22px;
  display: grid; place-items: center;
  cursor: pointer; transition: background .2s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-counter {
  position: absolute; bottom: 20px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.8);
  font-size: 14px; font-weight: 600;
}

/* ===== Form Styles ===== */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}
.field input,
.field textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: var(--ring);
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #9ca3af;
}
.field textarea {
  min-height: 80px;
  resize: vertical;
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.15);
}
.form-success {
  display: none; padding: 14px;
  border-radius: 12px;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3);
  color: #166534; font-weight: 600;
  font-size: 14px; text-align: center;
}
.form-success.show { display: block; }
.help {
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.5;
  margin-top: 4px;
}

/* ===== Service Detail Page Styles ===== */
.kicker {
  display: inline-flex; align-items: center;
  gap: 8px; font-weight: 800; font-size: 12.8px;
  color: var(--blue2);
  background: rgba(1,112,185,.1);
  border: 1px solid rgba(1,112,185,.18);
  padding: 8px 10px; border-radius: 999px;
  width: fit-content; margin-bottom: 10px;
}
.hero-actions {
  display: flex; gap: 10px;
  flex-wrap: wrap; margin-top: 14px;
}
.section-title {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  gap: 18px; flex-wrap: wrap; margin-bottom: 16px;
}
.section-title h2 {
  margin: 0; font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.2; letter-spacing: -.2px; font-weight: 900;
}
.section-title p {
  margin: 6px 0 0; color: var(--muted);
  max-width: 78ch; line-height: 1.65;
}
.divider { height: 1px; background: var(--line); margin: 14px 0; }
.bullets {
  margin: 10px 0 0; padding-left: 18px;
  color: var(--muted); line-height: 1.75; font-size: 13.5px;
}
.bullets li { margin: 4px 0; }

.info {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px; background: #fff;
  box-shadow: 0 1px 12px rgba(2,8,23,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.info:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2,8,23,.08);
  border-color: rgba(1,112,185,.18);
}
.info h3 {
  margin: 0 0 6px; font-size: 14px;
  font-weight: 900; color: #111827;
}
.info p {
  margin: 0; color: var(--muted);
  font-size: 13px; line-height: 1.6;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px; margin-top: 12px;
}
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff; padding: 14px;
  box-shadow: 0 1px 12px rgba(2,8,23,.05);
  display: flex; gap: 10px; align-items: flex-start;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2,8,23,.08);
  border-color: rgba(1,112,185,.18);
}
.step-number {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 900; flex: 0 0 auto;
}
.step-title { font-weight: 900; font-size: 14px; margin: 0 0 4px; }
.step-desc { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 12px; }
details.faq-item,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 12px rgba(2,8,23,.05);
  padding: 14px 16px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
details.faq-item:hover,
.faq details:hover {
  border-color: rgba(1,112,185,.18);
  box-shadow: 0 4px 16px rgba(2,8,23,.08);
}
details.faq-item summary,
.faq details summary {
  cursor: pointer; font-weight: 800; color: #111827;
  list-style: none; display: flex;
  justify-content: space-between;
  gap: 10px; align-items: center;
  font-size: 14.5px; line-height: 1.4;
}
details.faq-item summary::-webkit-details-marker,
.faq details summary::-webkit-details-marker { display: none; }
details[open] summary { color: var(--blue2); }
details[open] summary span { transform: rotate(45deg); }
details summary span {
  transition: transform .2s ease;
  font-weight: 300;
  font-size: 18px;
  color: var(--muted);
}
details[open] {
  border-color: rgba(1,112,185,.2);
  background: linear-gradient(180deg, #f8faff, #fff);
}
.faq-ans,
.faq details p {
  margin-top: 10px; color: var(--muted);
  line-height: 1.7; font-size: 13.5px;
}

/* ===== Contact / Teklif Section ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: start;
}
.contact-wrap .card {
  padding: 22px;
}
.contact-wrap .form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-cards .card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 4px 16px rgba(2,8,23,.06);
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.contact-cards .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(2,8,23,.1);
  border-color: rgba(1,112,185,.22);
}
.contact-cards h3 {
  margin: 0;
  font-size: 15px;
  color: #111827;
}
.contact-cards p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

/* Instagram card accent */
.contact-cards .ig-card {
  background: linear-gradient(135deg, rgba(131,58,180,.04), rgba(253,29,29,.04), rgba(252,176,69,.04));
  border-color: rgba(193,53,132,.15);
}
.contact-cards .ig-card:hover {
  border-color: rgba(193,53,132,.3);
}
.contact-cards .ig-card .badge {
  background: rgba(193,53,132,.1);
  border-color: rgba(193,53,132,.2);
  color: #c13584;
}

@media (max-width: 980px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

/* ===== Premium Section Divider ===== */
.section-title h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), #72c0ff);
  margin-top: 10px;
}

/* ===== Smooth card hover glow ===== */
.card {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  border-color: rgba(1,112,185,.15);
}

/* ===== Premium stat shimmer ===== */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
