/* ============================================================
   NUR BETON — Endüstriyel tek sayfa site
   Tip: Barlow Condensed (başlık) + Barlow (metin)
   Renk: beton grileri + turuncu vurgu
   ============================================================ */

:root {
  --accent: #e8821a;
  --accent-ink: #ffffff;
  --bg: #f1efec;
  --surface: #ffffff;
  --ink: #211f1c;
  --ink-2: #55514a;
  --muted: #8a857c;
  --line: #d8d4cd;
  --dark: #232120;
  --dark-2: #2d2b29;
  --dark-ink: #f4f2ef;
  --dark-muted: #a39e95;
  --radius: 2px;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- şerit (hazard stripe) ---------- */
.stripe {
  height: 10px;
  background: repeating-linear-gradient(
    -45deg,
    var(--accent) 0 14px,
    var(--dark) 14px 28px
  );
}

/* ---------- üst bilgi çubuğu ---------- */
.topbar {
  background: var(--dark);
  color: var(--dark-muted);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
  flex-wrap: wrap;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar strong { color: var(--dark-ink); font-weight: 600; }
.topbar a { text-decoration: none; }
.topbar a:hover strong { color: var(--accent); }
.topbar-right { display: flex; gap: 24px; flex-wrap: wrap; }

/* ---------- navigasyon ---------- */
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-right: auto;
}
.brand img { height: 52px; width: auto; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 4px;
}
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--accent); }

/* mobil menüdeki CTA öğesi masaüstünde gizli (çift "Teklif Al" olmasın) */
.nav-cta-mobile { display: none; }

/* hamburger (mobilde görünür) */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  position: relative;
  flex: none;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { transform: translateX(-50%) rotate(45deg); top: 0; }
body.menu-open .nav-toggle span::after { transform: translateX(-50%) rotate(-45deg); top: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { filter: brightness(1.07); }
.btn-outline {
  background: transparent;
  color: var(--dark-ink);
  box-shadow: inset 0 0 0 2px var(--dark-ink);
}
.btn-outline:hover { box-shadow: inset 0 0 0 2px var(--accent); color: var(--accent); }
.btn-wa { background: #1faa55; color: #fff; }
.btn-wa:hover { filter: brightness(1.07); }

/* ---------- hero ---------- */
.hero {
  background:
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--dark-ink);
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* beton dokusu hissi: çok hafif çapraz tarama */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.012) 0 2px,
    transparent 2px 6px
  );
  pointer-events: none;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
  position: relative;
  z-index: 1;
}
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(52px, 6.5vw, 84px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  color: var(--dark-muted);
  max-width: 46ch;
  text-wrap: pretty;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}
.hero-meta div {
  font-size: 14px;
  color: var(--dark-muted);
}
.hero-meta strong {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dark-ink);
  text-transform: uppercase;
}

/* ---------- görsel yer tutucu ---------- */
.ph {
  position: relative;
  background: repeating-linear-gradient(
    135deg,
    #e7e4de 0 12px,
    #dedad2 12px 24px
  );
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ph span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: #797469;
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 12px;
  border-radius: 2px;
}
.ph-dark {
  background: repeating-linear-gradient(
    135deg,
    #3a3835 0 12px,
    #33312e 12px 24px
  );
  border-color: rgba(255, 255, 255, 0.1);
}
.ph-dark span {
  background: rgba(0, 0, 0, 0.45);
  color: #b5afa5;
}
.hero-ph { aspect-ratio: 4 / 3.4; }

/* ---------- bölüm başlıkları ---------- */
section { padding: 88px 0; }
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 46px;
}
.sec-num {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--accent);
  white-space: nowrap;
}
.sec-head h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.sec-head .rule {
  flex: 1;
  height: 2px;
  background: var(--line);
  align-self: center;
}

/* ---------- hizmetler ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.svc:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
}
.svc-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.svc h3 {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}
.svc p { color: var(--ink-2); font-size: 16px; text-wrap: pretty; }
.svc ul {
  list-style: none;
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc li {
  font-size: 15px;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
}
.svc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

/* ---------- hakkımızda ---------- */
.about { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-ph { aspect-ratio: 4 / 3; }
.about-text p { color: var(--ink-2); margin-bottom: 16px; text-wrap: pretty; }
.about-text p:last-of-type { margin-bottom: 0; }
.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin-top: 30px;
}
.about-points div {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}
.about-points strong {
  display: block;
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.about-points span { font-size: 14.5px; color: var(--muted); }

/* ---------- projeler ---------- */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.proj {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.proj .ph { aspect-ratio: 16 / 10; border: none; border-radius: 0; }
.proj-body { padding: 20px 22px 24px; }
.proj-body h3 {
  font-family: var(--font-head);
  font-size: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.proj-body p { font-size: 15px; color: var(--muted); margin-top: 6px; }
.proj-note {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- galeri ---------- */
.gallery { background: var(--dark); color: var(--dark-ink); }
.gallery .sec-head h2 { color: var(--dark-ink); }
.gallery .sec-head .rule { background: rgba(255, 255, 255, 0.14); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid .ph { aspect-ratio: 4 / 3; }

/* ---------- iletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.c-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.c-item a { text-decoration: none; }
.c-item a:hover { color: var(--accent); }
.c-item .big {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.c-item p { color: var(--ink-2); }
.contact-card .btn { margin-top: auto; }
.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* ---------- footer ---------- */
.footer {
  background: var(--dark);
  color: var(--dark-muted);
  padding: 40px 0;
  font-size: 14px;
}
.footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dark-ink);
}
.footer-links { display: flex; gap: 20px; list-style: none; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

/* ---------- WhatsApp sabit buton ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1faa55;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.12s ease;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { flex: none; }

/* ---------- scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 60px; }
  .hero-ph { aspect-ratio: 16 / 9; }
  .services-grid, .proj-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  /* mobil menü */
  .nav-toggle { display: block; }
  .nav .nav-cta { display: none; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
    max-height: 0;
    overflow: hidden;
    /* kapalıyken klavye odağından da çıkar (gizli linkler tab'lanmasın) */
    visibility: hidden;
    transition: max-height 0.28s ease, visibility 0s linear 0.28s;
  }
  body.menu-open .nav-links {
    max-height: 70vh;
    visibility: visible;
    transition: max-height 0.28s ease, visibility 0s linear 0s;
  }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a {
    display: block;
    padding: 16px 28px;
    font-family: var(--font-head);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  /* mobil menüde CTA öğesini geri göster + vurgula */
  .nav-links .nav-cta-mobile { display: block; }
  .nav-links .nav-cta-mobile a {
    color: var(--accent);
  }
}
@media (max-width: 620px) {
  .services-grid, .proj-grid, .gallery-grid { grid-template-columns: 1fr; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .about-points { grid-template-columns: 1fr; }
}
