/* ==========================================================================
   Hakan Endüstriyel — Design Tokens
   ========================================================================== */
:root {
  /* Palette: anthracite + steel gray + amber CTA */
  --he-ink: #14171a;
  --he-anthracite: #1c2126;
  --he-anthracite-2: #262c33;
  --he-steel-900: #3a4149;
  --he-steel-700: #5a6470;
  --he-steel-500: #838d97;
  --he-steel-300: #b7bec5;
  --he-steel-100: #e7e9ec;
  --he-bg: #f3f4f5;
  --he-white: #ffffff;
  --he-amber: #f59e0b;
  --he-amber-dark: #c2760a;
  --he-amber-light: #ffb84d;
  --he-success: #2f9e58;
  --he-text: #1c2126;
  --he-text-muted: #5a6470;
  --he-text-on-dark: #f3f4f5;
  --he-text-on-dark-muted: #a9b0b8;
  --he-border: #e0e2e5;

  --he-radius-sm: 6px;
  --he-radius-md: 12px;
  --he-radius-lg: 20px;
  --he-shadow-sm: 0 2px 8px rgba(20, 23, 26, 0.08);
  --he-shadow-md: 0 8px 24px rgba(20, 23, 26, 0.12);
  --he-shadow-lg: 0 16px 48px rgba(20, 23, 26, 0.18);

  --he-container: 1180px;
  --he-header-h: 84px;
  --he-topbar-h: 40px;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--he-text);
  background: var(--he-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--he-ink);
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--he-container);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background: var(--he-ink);
  color: var(--he-text-on-dark-muted);
  font-size: 13px;
  min-height: var(--he-topbar-h);
}
.topbar .container {
  min-height: var(--he-topbar-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar__contacts { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
@media (max-width: 480px) { .topbar__contacts { gap: 12px; } }
.topbar__contacts a { color: var(--he-text-on-dark-muted); display: inline-flex; align-items: center; gap: 6px; }
.topbar__contacts a:hover { color: var(--he-amber-light); }
.topbar__badge {
  color: var(--he-amber-light);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 11px;
}
.topbar__badge--hide-mobile { display: inline; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: var(--he-white);
  border-bottom: 1px solid var(--he-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--he-header-h);
  gap: 10px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--he-ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo__mark {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--he-anthracite), var(--he-steel-900));
  display: flex; align-items: center; justify-content: center;
  color: var(--he-amber);
  flex-shrink: 0;
}
.logo__text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  color: var(--he-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav { display: flex; flex-shrink: 1; min-width: 0; }
.main-nav ul { display: flex; gap: 0; align-items: center; flex-wrap: nowrap; }
.main-nav a {
  display: inline-block;
  padding: 10px 10px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--he-steel-900);
  border-radius: var(--he-radius-sm);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--he-steel-100); color: var(--he-ink); }
.main-nav .has-dropdown { position: relative; }
.main-nav .dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--he-white);
  box-shadow: var(--he-shadow-md);
  border-radius: var(--he-radius-md);
  padding: 8px;
  min-width: 260px;
  display: none;
  border: 1px solid var(--he-border);
  z-index: 50;
}
.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown { display: block; }
.main-nav .dropdown a { display: block; padding: 9px 12px; font-size: 14px; }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-call-header {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--he-amber);
  color: var(--he-ink);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  box-shadow: var(--he-shadow-sm);
  transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn-call-header:hover { background: var(--he-amber-dark); transform: translateY(-1px); box-shadow: var(--he-shadow-md); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--he-border); border-radius: 8px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  border: 2px solid transparent;
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  white-space: nowrap;
}
.btn-amber { background: var(--he-amber); color: var(--he-ink); box-shadow: var(--he-shadow-sm); }
.btn-amber:hover { background: var(--he-amber-dark); transform: translateY(-2px); box-shadow: var(--he-shadow-md); }
.btn-dark { background: var(--he-ink); color: var(--he-white); }
.btn-dark:hover { background: var(--he-anthracite-2); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.35); color: var(--he-white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark { background: transparent; border-color: var(--he-steel-300); color: var(--he-ink); }
.btn-outline-dark:hover { background: var(--he-steel-100); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1fb457; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 17px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  color: var(--he-white);
  overflow: hidden;
  background: var(--he-anthracite);
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,23,26,0.94) 0%, rgba(20,23,26,0.82) 40%, rgba(20,23,26,0.55) 100%);
}
.hero__content {
  position: relative;
  padding: 84px 0 96px;
  max-width: 680px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,0.16);
  border: 1px solid rgba(245,158,11,0.4);
  color: var(--he-amber-light);
  font-weight: 700; font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { color: var(--he-white); font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 18px; }
.hero p.lead { font-size: 18px; color: var(--he-text-on-dark-muted); max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--he-text-on-dark-muted); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { color: var(--he-amber); flex-shrink: 0; }

.page-hero {
  position: relative;
  color: var(--he-white);
  background: var(--he-anthracite);
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,23,26,0.93), rgba(20,23,26,0.72)); }
.page-hero__content { position: relative; padding: 52px 0 60px; max-width: 720px; }
.page-hero .breadcrumbs { margin-bottom: 16px; }
.page-hero h1 { color: var(--he-white); font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 12px; }
.page-hero p.lead { color: var(--he-text-on-dark-muted); font-size: 16.5px; max-width: 620px; }

.breadcrumbs { font-size: 13px; color: var(--he-text-on-dark-muted); }
.breadcrumbs a { color: var(--he-text-on-dark-muted); }
.breadcrumbs a:hover { color: var(--he-amber-light); }
.breadcrumbs .sep { margin: 0 8px; opacity: .6; }
.breadcrumbs--light { color: var(--he-text-muted); }
.breadcrumbs--light a { color: var(--he-text-muted); }
.breadcrumbs--light a:hover { color: var(--he-amber-dark); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 64px 0; }
.section-tight { padding: 44px 0; }
.section-dark { background: var(--he-anthracite); color: var(--he-text-on-dark); }
.section-dark h2, .section-dark h3 { color: var(--he-white); }
.section-alt { background: var(--he-white); }
.section-header { max-width: 640px; margin: 0 0 40px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--he-amber-dark); margin-bottom: 10px;
}
.section-dark .eyebrow { color: var(--he-amber-light); }
.section-header h2 { font-size: clamp(24px, 3vw, 34px); }
.section-header p { color: var(--he-text-muted); font-size: 16px; }
.section-dark .section-header p { color: var(--he-text-on-dark-muted); }

/* ==========================================================================
   Grids & Cards
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--he-white);
  border: 1px solid var(--he-border);
  border-radius: var(--he-radius-lg);
  overflow: hidden;
  transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--he-shadow-md); }
.card__img { aspect-ratio: 4/3; overflow: hidden; background: var(--he-steel-100); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { font-size: 18.5px; margin-bottom: 2px; }
.card__body p { color: var(--he-text-muted); font-size: 14.5px; margin-bottom: 0; flex: 1; }
.card__link { font-weight: 700; color: var(--he-amber-dark); font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.card__link svg { transition: transform .15s; }
.card:hover .card__link svg { transform: translateX(3px); }

.icon-card {
  background: var(--he-white);
  border: 1px solid var(--he-border);
  border-radius: var(--he-radius-lg);
  padding: 26px 22px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--he-shadow-md); border-color: transparent; }
.icon-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(145deg, var(--he-anthracite), var(--he-steel-900));
  color: var(--he-amber);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.icon-card h3 { font-size: 17px; margin-bottom: 6px; }
.icon-card p { color: var(--he-text-muted); font-size: 14px; margin: 0; }

.district-card {
  display: block;
  background: var(--he-white);
  border: 1px solid var(--he-border);
  border-radius: var(--he-radius-md);
  padding: 16px 18px;
  font-weight: 600;
  font-size: 14.5px;
  transition: all .15s;
  display: flex; align-items: center; justify-content: space-between;
}
.district-card:hover { background: var(--he-ink); color: var(--he-white); transform: translateY(-2px); }
.district-card svg { opacity: .5; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--he-anthracite) 0%, var(--he-steel-900) 100%);
  color: var(--he-white);
  border-radius: var(--he-radius-lg);
  padding: 40px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.28), transparent 70%);
}
.cta-band__text { position: relative; max-width: 560px; }
.cta-band__text .eyebrow { color: var(--he-amber-light); }
.cta-band__text h2, .cta-band__text h3 { color: var(--he-white); margin-bottom: 8px; }
.cta-band__text p { color: var(--he-text-on-dark-muted); margin: 0; }
.cta-band__actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band--compact { padding: 28px 32px; }

.cta-strip {
  background: var(--he-white);
  border: 1px dashed var(--he-steel-300);
  border-radius: var(--he-radius-md);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.cta-strip p { margin: 0; font-weight: 600; }

/* ==========================================================================
   Value props (home)
   ========================================================================== */
.value-props { background: var(--he-steel-100); }

/* ==========================================================================
   Testimonial / stats
   ========================================================================== */
.stats-row { display: flex; gap: 40px; flex-wrap: wrap; }
.stat { min-width: 120px; }
.stat strong { display: block; font-family: var(--font-heading); font-size: 34px; color: var(--he-amber); }
.stat span { font-size: 13.5px; color: var(--he-text-on-dark-muted); }

/* ==========================================================================
   Content pages (service/district/blog)
   ========================================================================== */
.content-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .content-layout { grid-template-columns: 1fr; } }
.prose h2 { font-size: 23px; margin-top: 1.6em; }
.prose h3 { font-size: 19px; margin-top: 1.4em; }
.prose p { color: var(--he-text); font-size: 16px; }
.prose ul { margin: 0 0 1.2em; }
.prose li { padding-left: 26px; position: relative; margin-bottom: 8px; font-size: 15.5px; }
.prose li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--he-amber);
}

.product-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; margin: 0 0 1.2em; }
@media (max-width: 560px) { .product-list-grid { grid-template-columns: 1fr; } }
.product-list-grid li {
  padding: 10px 14px 10px 34px;
  position: relative;
  font-size: 15px;
  background: var(--he-white);
  border: 1px solid var(--he-border);
  border-radius: var(--he-radius-sm);
}
.product-list-grid li::before {
  content: "✓";
  position: absolute; left: 12px; top: 9px;
  color: var(--he-amber-dark); font-weight: 800;
}

.sidebar-card {
  background: var(--he-white);
  border: 1px solid var(--he-border);
  border-radius: var(--he-radius-lg);
  padding: 26px;
  margin-bottom: 22px;
}
.sidebar-card h3 { font-size: 17px; margin-bottom: 12px; }
.sidebar-card--dark {
  background: var(--he-anthracite);
  color: var(--he-white);
  border: none;
}
.sidebar-card--dark h3 { color: var(--he-white); }
.sidebar-card--dark p { color: var(--he-text-on-dark-muted); }
.sidebar-list a {
  display: block; padding: 9px 0; font-size: 14.5px; font-weight: 600;
  border-bottom: 1px solid var(--he-border);
  color: var(--he-steel-900);
}
.sidebar-list a:hover { color: var(--he-amber-dark); }
.sidebar-list a:last-child { border-bottom: none; }

.blog-card__meta { font-size: 12.5px; color: var(--he-text-muted); text-transform: uppercase; letter-spacing: .03em; }
.blog-post-header { max-width: 780px; }
.blog-post-header .blog-card__meta { color: var(--he-text-on-dark-muted); margin-bottom: 14px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-card {
  background: var(--he-white);
  border-radius: var(--he-radius-lg);
  border: 1px solid var(--he-border);
  padding: 32px;
  box-shadow: var(--he-shadow-sm);
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--he-steel-300);
  border-radius: var(--he-radius-sm);
  font-family: inherit;
  font-size: 15px;
  background: var(--he-bg);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: 2px solid var(--he-amber);
  outline-offset: 1px;
  background: var(--he-white);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--he-ink);
  color: var(--he-text-on-dark-muted);
  padding: 56px 0 0;
  font-size: 14.5px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--he-white); font-size: 14.5px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .04em; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--he-amber-light); }
.footer-logo { display: flex; align-items: center; gap: 10px; color: var(--he-white); font-family: var(--font-heading); font-weight: 800; font-size: 19px; margin-bottom: 14px; }
.footer-desc { max-width: 320px; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--he-amber); color: var(--he-ink); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0 100px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px;
}
@media (min-width: 769px) { .footer-bottom { padding-bottom: 20px; } }
.footer-bottom a:hover { color: var(--he-amber-light); }

/* ==========================================================================
   WhatsApp float + mobile CTA bar
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 20px; bottom: 92px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--he-shadow-lg);
  z-index: 200;
  transition: transform .15s;
}
.whatsapp-float:hover { transform: scale(1.08); }
@media (min-width: 769px) { .whatsapp-float { bottom: 28px; } }

.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--he-white);
  border-top: 1px solid var(--he-border);
  display: grid; grid-template-columns: 1fr 1fr;
  z-index: 190;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
}
.mobile-cta-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 10px;
  font-weight: 700;
  font-size: 15px;
}
.mobile-cta-bar a.call { background: var(--he-amber); color: var(--he-ink); }
.mobile-cta-bar a.whatsapp { background: #25D366; color: #fff; }
@media (min-width: 769px) { .mobile-cta-bar { display: none; } }

/* ==========================================================================
   Mobile nav
   ========================================================================== */
@media (max-width: 980px) {
  .main-nav { position: fixed; inset: 0; top: var(--he-header-h);
    background: var(--he-white); padding: 20px; overflow-y: auto;
    transform: translateX(100%); transition: transform .2s; z-index: 99; }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 16px; }
  .main-nav .dropdown { position: static; display: block; box-shadow: none; border: none; padding-left: 12px; }
  .header-cta .btn-call-header span { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Utility
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--he-steel-100); color: var(--he-steel-900);
  font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}
.badge svg { color: var(--he-success); }

body { padding-bottom: 66px; }
@media (min-width: 769px) { body { padding-bottom: 0; } }
