/* Renk paleti: mavi (#1e6bd6), beyaz (#ffffff), koyu gri (#111827) */
:root {
  --blue: #1e6bd6;
  --blue-600: #1e6bd6;
  --blue-700: #1557b2;
  --blue-100: #e6f0ff;
  --blue-50: #f0f7ff;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-200: #e5e7eb;
  --white: #ffffff;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--gray-900);
  background: var(--white);
}
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* Header / Nav */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: linear-gradient(90deg, rgba(17,24,39,0.86), rgba(30,41,59,0.86)); backdrop-filter: blur(6px); border-bottom: none; margin-bottom: 0; }
.site-header .container { padding: 0 8px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; color: #fff; text-decoration: none; font-size: 1.06rem; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; box-shadow: none; }
.site-nav { position: relative; }
.nav-toggle { display: none; background: none; border: 1px solid var(--gray-200); border-radius: 6px; padding: 6px 10px; }
.nav-list { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; align-items: center; }
/* Dikey ayraçlar: her öğe arasında ince çizgi */
.nav-list li + li { border-left: 0; padding-left: 12px; margin-left: 4px; }
/* Menü öğelerini blok/pil görünümünde yap */
.nav-list a { color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 10px; background: transparent; border: 0; box-shadow: none; }
.nav-list a:hover { background: rgba(255,255,255,0.12); }
.nav-list a.active { background: rgba(255,255,255,0.18); color: #fff; }
.nav-phone a { color: #fff; font-weight: 700; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: stretch; overflow: hidden; }
.hero::after { content: none; }
.hero-media { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: relative; z-index: 1; width: 100%; display: grid; place-items: center; padding: 40px 16px; }
.hero-content { text-align: center; color: var(--white); max-width: 800px; }
.hero h1 { font-size: 2.2rem; margin: 0 0 12px; }
.hero p { font-size: 1.1rem; margin: 0 0 20px; opacity: 0.95; }
.hero .cta-group { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; align-items: stretch; justify-items: stretch; }
.hero .cta-group .btn { width: 100%; }
.hero .cta-group .btn:nth-child(1) { grid-column: 1; grid-row: 1; }
.hero .cta-group .btn:nth-child(4) { grid-column: 2; grid-row: 1; }
.hero .cta-group .btn:nth-child(2) { grid-column: 1; grid-row: 2; }
.hero .cta-group .btn:nth-child(3) { grid-column: 2; grid-row: 2; }
.hero-phone { font-weight: 700; }

/* Buttons */
.btn { display: inline-block; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; border: 1px solid transparent; }
.btn-primary { background: var(--blue-600); color: var(--white); }
.btn-primary:hover { background: var(--blue-700); }
.btn-outline { background: var(--white); color: var(--blue-700); border-color: var(--blue-700); }
.btn-outline:hover { background: #f8fafc; }

/* Hero CTA: make "Şimdi Ara" and "KONUM GÖNDER" both blue */
.hero .cta-group .btn-primary {
  background: var(--blue-600);
  color: var(--white);
  border-color: transparent;
  text-transform: none;
}
.hero .cta-group .btn-primary:hover { background: var(--blue-700); }
.hero .cta-group a[href*="wa.me"] {
  background: var(--blue-600);
  color: var(--white);
  border-color: transparent;
}
.hero .cta-group a[href*="wa.me"]:hover { background: var(--blue-700); }

/* Sections */
.features { padding: 40px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { border: 1px solid var(--gray-200); border-radius: 10px; padding: 18px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card { border: 1px solid var(--gray-200); border-radius: 10px; padding: 18px; background: #b1caef; }

.usp { margin-top: 24px; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 26px; margin: 10px 0; }
.checklist li::before { content: '✔'; position: absolute; left: 0; color: var(--blue-700); }

.quick-contact { padding: 24px 0 48px; }
.cta-inline { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Contact Form */
.contact-form { margin-top: 24px; }
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
input[type="text"], input[type="tel"], textarea { padding: 10px 12px; border: 1px solid var(--gray-200); border-radius: 8px; font: inherit; }
.form-note { font-size: 0.9rem; color: var(--gray-700); }

/* Map */
.map { padding: 24px 0; }
.map-embed { border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; max-width: 1100px; margin: 0 auto; }
.map-embed iframe { width: 100%; height: 420px; border: 0; }

/* About grid cards */
.about-grid article { background: #b1caef; border: 1px solid var(--gray-200); border-radius: 10px; padding: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--gray-200); padding: 18px 0; margin-top: 24px; }
.site-footer nav a { margin-right: 10px; }

/* Responsive */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: inline-block; background: white; }
  .nav-list { display: none; position: absolute; right: 0; top: 48px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 10px; padding: 10px; flex-direction: column; min-width: 220px; }
  .nav-list.open { display: flex; }
  .nav-list li { border: 0; padding: 0; margin: 0; }
  .nav-list a { color: var(--gray-900); background: transparent; }
  .nav-list a.active { color: var(--gray-900); background: transparent; }
  .nav-list a:visited { color: var(--gray-900); }
  .feature-grid { grid-template-columns: 1fr; }
  .hero { min-height: 100vh; }
  .hero h1 { font-size: 1.8rem; }
  .map-embed iframe { height: 360px; }
  /* Mobile: CTA 2x2 grid — first row: Şimdi Ara + Konum Gönder; second row: other numbers */
  .hero .cta-group { grid-template-columns: 1fr 1fr; gap: 2px; }
  .hero .cta-group .btn { width: 100%; max-width: none; }
}

/* Gallery cards */
.gallery-photo { width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; background: #f3f4f6 center/cover no-repeat; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

/* Header Gallery */
.header-gallery { border-top: 1px solid var(--gray-200); background: var(--white); }
.header-gallery-track { display: flex; gap: 12px; padding: 12px 0; overflow-x: hidden; }
/* Hide horizontal scrollbar across browsers */
.header-gallery-track::-webkit-scrollbar { display: none; }
.header-gallery-track { -ms-overflow-style: none; scrollbar-width: none; }
.header-photo { height: 140px; width: 280px; border-radius: 10px; background: #f3f4f6 center/cover no-repeat; flex: 0 0 auto; scroll-snap-align: start; }

/* Gallery Section */
.gallery h2 { margin-bottom: 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

@media (max-width: 768px) {
  .header-photo { height: 110px; width: 220px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { height: 200px; }
}

/* Tall/narrow mobile screens (e.g., Galaxy Fold outer, S8+) full-bleed hero */
@media (max-width: 768px), (max-aspect-ratio: 9/16) {
  .hero-media img { object-fit: cover; object-position: center; }
}

/* Feature icons */
.feature-card { display: grid; grid-template-columns: 48px 1fr; align-items: start; gap: 12px; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--gray-200); border-radius: 10px; background: #f8fafc; color: var(--blue-700); filter: drop-shadow(0 1px 0 rgba(0,0,0,0.04)); transition: background .2s ease, border-color .2s ease; }
.feature-icon:hover { background: #eef2ff; border-color: var(--gray-300); }
.feature-icon svg { width: 28px; height: 28px; transition: transform .2s ease; }
.feature-icon:hover svg { transform: scale(1.06); }