:root {
  --bg: #0b1320;
  --card: #111b2c;
  --text: #e9eef7;
  --muted: #b7c2d6;
  --gold: #c9a154;
  --gold2: #a9823e;
  --line: rgba(255, 255, 255, .12);
  --shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #0a0f18
}

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

.container {
  width: min(1180px, 92%);
  margin: 0 auto
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(3, 7, 14, .75), rgba(3, 7, 14, .2));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line)
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0
}

.brand__name {
  letter-spacing: .8px;
  font-weight: 800;
  font-size: 22px;
  color: #d8c28a;
  text-transform: uppercase
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto
}

.nav__link {
  font-weight: 650;
  font-size: 13px;
  opacity: .85;
  padding: 8px 2px;
  border-bottom: 2px solid transparent
}

.nav__link:hover {
  opacity: 1
}

.nav__link.is-active {
  border-bottom-color: var(--gold);
  opacity: 1
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 12px
}

.contact {
  font-size: 13px;
  opacity: .9
}

.divider {
  opacity: .35
}

.icon {
  opacity: .9
}

.burger {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  border-radius: 12px;
  cursor: pointer
}

.burger span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 5px auto;
  background: rgba(255, 255, 255, .85)
}

/* Mobile menu */
.mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(3, 7, 14, .85)
}

.mobile a {
  display: block;
  padding: 14px 6%;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
  font-size: 15px
}

.mobile__contacts {
  padding: 12px 6%;
  display: grid;
  gap: 10px;
  opacity: .95
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(.9) contrast(1.05)
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 20% 40%, rgba(0, 0, 0, .15), rgba(0, 0, 0, .55)),
    linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, .8))
}

.hero__content {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 70px 0 40px
}

.hero__left {
  max-width: 560px
}

.hero__title {
  margin: 0;
  font-weight: 900;
  letter-spacing: .4px;
  text-transform: uppercase;
  line-height: 1.0;
  font-size: 62px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .45)
}

.hero__title small {
  display: block;
  font-size: 34px;
  font-weight: 900;
  margin-top: 8px
}

.hero__subtitle {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 16px
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 750;
  letter-spacing: .2px;
  border: 1px solid transparent;
  transition: .18s ease
}

.btn--gold {
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  color: #101418;
  box-shadow: 0 12px 28px rgba(201, 161, 84, .25)
}

.btn--gold:hover {
  transform: translateY(-1px);
  filter: brightness(1.02)
}

.btn--ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18)
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .1)
}

/* Info bar */
.infobar {
  position: relative;
  margin-top: -8px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(6, 10, 18, .7);
  backdrop-filter: blur(10px)
}

.infobar__inner {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  flex-wrap: wrap
}

.info {
  display: flex;
  gap: 10px;
  align-items: center;
  opacity: .95;
  font-size: 13px
}

.info a:hover {
  text-decoration: underline
}

/* Sections */
.section {
  padding: 64px 0;
  background: #0a0f18
}

.section__head h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: .2px
}

.section__head p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 720px
}

.section--dark {
  background: linear-gradient(180deg, #0a0f18, #08101f)
}

.section--map {
  background: linear-gradient(180deg, #08101f, #070c14)
}

.grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow)
}

.card h3 {
  margin: 0 0 8px
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5
}

/* Stats */
.stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.stat {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  text-align: center
}

.stat__num {
  font-size: 34px;
  font-weight: 900;
  color: #f1e2b7
}

.stat__txt {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px
}

/* Projects */
.grid--projects {
  grid-template-columns: repeat(3, 1fr)
}

.project {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03)
}

.project__img {
  height: 180px;
  background-size: cover;
  background-position: center
}

.project figcaption {
  padding: 14px 14px 16px
}

.project h3 {
  margin: 0 0 6px
}

.project p {
  margin: 0;
  color: var(--muted);
  font-size: 13px
}

.project small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  line-height: 1.4
}

.badge {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(201, 161, 84, .15);
  border: 1px solid rgba(201, 161, 84, .45);
  color: #f1e2b7
}

/* Contact */
.contact-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 16px;
  align-items: stretch
}

.form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .85);
  font-size: 13px
}

input,
textarea {
  width: 100%;
  background: rgba(10, 15, 24, .65);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 12px;
  color: var(--text);
  outline: none
}

input:focus,
textarea:focus {
  border-color: rgba(201, 161, 84, .55);
  box-shadow: 0 0 0 4px rgba(201, 161, 84, .12)
}

.map {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow)
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: #070b12
}

.footer__inner {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 255, 255, .8);
  font-size: 13px
}

.footer__links {
  display: flex;
  gap: 14px;
  opacity: .9
}

.footer__links a:hover {
  text-decoration: underline
}


/* Pills (CTA buttons) */
.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight:650;
  font-size:13px;
  text-decoration:none;
  white-space:nowrap;
}
.pill:hover{ background: rgba(255,255,255,.10); }
.pill--mini{ padding:8px 12px; font-size:12.5px; }
.pill--goldfilled{
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  color: #101418;
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(201, 161, 84, .25);
}

/* Footer maps buttons */
.footer__maps{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
@media (max-width: 980px){
  .footer__inner{ flex-wrap:wrap; }
  .footer__maps{ justify-content:flex-start; width:100%; }
}

/* WhatsApp (floating button) */
.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .25);
  z-index: 99999;
  cursor: pointer;
  pointer-events: auto;
}

.wa svg {
  width: 28px;
  height: 28px;
  display: block;
  pointer-events: none;
}

/* Prevent horizontal scroll on mobile */
html,
body {
  overflow-x: hidden;
}

img,
svg,
iframe {
  max-width: 100%;
}

/* Mobile â€“ web gÃ¶rÃ¼nÃ¼mÃ¼ne yakÄ±n */
@media (max-width: 980px) {

  /* Desktop nav kapat â€“ burger aÃ§ */
  .nav {
    display: none !important;
  }

  .burger {
    display: inline-flex !important;
    width: 46px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }

  .topbar__contact .contact,
  .topbar__contact .divider {
    display: none !important;
  }

  /* Mobil menÃ¼ paneli */
  .mobile {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    display: none;
    /* JS aÃ§Ä±p kapatÄ±yor */
    background: rgba(6, 10, 18, .98);
    border-top: 1px solid rgba(255, 255, 255, .10);
    z-index: 9998;
  }

  .mobile a {
    display: block;
    padding: 18px 7%;
    font-size: 15px;
  }

  /* Hero â€“ mobilde ferah */
  .hero {
    min-height: 78vh;
  }

  .hero__content {
    min-height: 78vh;
    padding: 24px 0 26px;
  }

  .hero__title {
    font-size: 44px;
    line-height: 1.02;
  }

  .hero__title small {
    font-size: 26px;
  }

  .hero__subtitle {
    font-size: 15px;
    max-width: 38ch;
    opacity: .9;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
  }

  /* BÃ¶lÃ¼m boÅŸluklarÄ± */
  .section {
    padding: 40px 0;
  }

  /* WhatsApp alt barâ€™a Ã§arpmasÄ±n */
  .wa {
    right: 16px;
    bottom: 78px;
  }
}


/* ===== MOBILE MENU FIX (FINAL) ===== */
@media (max-width: 980px) {
  .topbar { z-index: 10000 !important; }

  .burger{
    position: relative;
    z-index: 10002 !important;
    margin-left: auto;
    -webkit-tap-highlight-color: transparent;
  }

  /* Mobile menu overlay should sit ABOVE hero (iOS stacking context fix) */
  .mobile{
    position: fixed !important;
    top: 0 !important;
    left: 0; right: 0; bottom: 0;
    height: 100vh;
    overflow: auto;
    z-index: 10001 !important;
    display: none; /* JS toggles display */
    background: rgba(0,0,0,.98);
    border-top: 1px solid rgba(255,255,255,.10);
    padding-top: calc(64px + env(safe-area-inset-top));
  }

  .mobile a{
    display:block;
    padding: 18px 7%;
    font-size: 16px;
  }

  body.menu-open{ overflow: hidden; }
}


.hero__mark{
  position:absolute;
  /* biraz daha merkeze almak için sağdan daha fazla boşluk bırakıyoruz */
  right: clamp(48px, 11vw, 180px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(300px, 32vw, 640px);
  height: auto;
  opacity: .94;
  pointer-events: none; /* purely decorative */
  /* logo zaten beyaz + transparan; sadece yumuşak gölge */
  filter: drop-shadow(0 18px 42px rgba(0,0,0,.55));
}

@media (max-width: 768px){
  .hero__mark{
    top: 18px;
    right: 16px;
    transform: none;
    width: clamp(180px, 46vw, 280px);
    opacity: .88;
    filter: drop-shadow(0 14px 32px rgba(0,0,0,.55));
  }
}


/* === ChatGPT Fix: Mobile layout & WhatsApp spacing (2026-02-15) === */
/* 1) Mobilde WhatsApp butonu içerik üzerine binmesin */
@media (max-width: 768px) {
  body {
    padding-bottom: 90px;
  }
}

/* 2) Mobilde kartlar ekrana sığsın (grid'i tek/iki kolona düşür) */
@media (max-width: 768px) {
  .container {
    width: min(1180px, 92%);
    overflow-x: hidden;
  }

  .cards,
  .grid,
  .features,
  .feature-grid,
  .about-grid,
  .kutu-grid,
  .services-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .card,
  .feature-card,
  .box,
  .pill-card,
  .service-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  img, video, iframe, svg {
    max-width: 100%;
    height: auto;
  }
}

/* Büyük telefonlarda 2 sütun (opsiyonel) */
@media (min-width: 520px) and (max-width: 768px) {
  .cards,
  .grid,
  .features,
  .feature-grid,
  .about-grid,
  .kutu-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
/* === End ChatGPT Fix === */
