/* ==========================================================================
   DEFNE MARİN - ULTRA SADE, WHATSAPP & TELEFON ÖNCELİKLİ TASARIM
   Oto Kurtarıcı • Tekne Transferi • Yediemin
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-page: #080c12;
  --bg-card: #101620;
  --bg-card-hover: #151d2b;
  --border: rgba(255, 255, 255, 0.08);

  /* Renkler */
  --wa-green: #25d366;
  --wa-green-hover: #1eb956;
  --call-red: #e11d48;
  --call-red-hover: #be123c;
  --accent: #38bdf8;

  /* Tipografi */
  --text-white: #ffffff;
  --text-body: #94a3b8;
  --text-muted: #64748b;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.5;
  padding-bottom: 70px; /* Mobil alt bar payı */
  overflow-x: hidden;
  width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 12px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(8, 12, 18, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  gap: 10px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  flex-shrink: 0;
}

.brand-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.header-call-btn {
  background: rgba(225, 29, 72, 0.15);
  border: 1px solid rgba(225, 29, 72, 0.35);
  color: #fb7185;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-call-btn:hover {
  background: var(--call-red);
  color: #fff;
}

@media (max-width: 440px) {
  .header-call-btn {
    display: none;
  }
}

/* ==========================================================================
   HERO: EN BAŞTA DİREKT WHATSAPP VE ARAMA
   ========================================================================== */
.hero {
  padding: 20px 0 24px;
  text-align: center;
}

.hero-top-info {
  margin-bottom: 16px;
}

.hero-h1 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 4px;
}

@media (min-width: 500px) {
  .hero-h1 {
    font-size: 2rem;
  }
}

.hero-tagline {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.hero-regions-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* İLK BAŞTA ÇIKAN DİREKT WHATSAPP VE TELEFON BUTONLARI */
.hero-actions-primary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 14px;
  width: 100%;
}

@media (min-width: 480px) {
  .hero-actions-primary {
    flex-direction: row;
  }
}

.btn-main-wa {
  flex: 1;
  background: var(--wa-green);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.btn-main-wa:hover {
  background: var(--wa-green-hover);
}

.btn-main-call {
  flex: 1;
  background: var(--call-red);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
}

.btn-main-call:hover {
  background: var(--call-red-hover);
}

/* Canlı GPS Butonu */
.location-btn-wrap {
  margin-bottom: 20px;
}

.btn-gps {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  color: var(--text-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-gps:hover {
  color: var(--text-white);
  border-color: var(--accent);
}

#heroLocationStatus {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* YAZISIZ, TEMİZ FOTOĞRAF KUTUSU */
.hero-image-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  max-width: 580px;
  margin: 0 auto;
}

.hero-img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   BÖLÜMLER
   ========================================================================== */
.section {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.sec-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 4px;
}

.sec-sub {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ==========================================================================
   HİZMET BÖLGELERİMİZ (DİREKT WHATSAPP KONUM BUTONLARI)
   ========================================================================== */
.region-buttons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 540px) {
  .region-buttons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.btn-region-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  text-align: left;
  transition: all 0.2s ease;
}

.btn-region-pill:hover {
  background: var(--bg-card-hover);
  border-color: rgba(37, 211, 102, 0.4);
}

.pill-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
}

.pill-action {
  background: rgba(37, 211, 102, 0.15);
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-region-pill:hover .pill-action {
  background: var(--wa-green);
  color: #fff;
}

/* ==========================================================================
   HİZMETLER (3 SADE KART)
   ========================================================================== */
.cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 680px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.card-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.card p {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.45;
  margin-bottom: 12px;
  flex-grow: 1;
}

.card-btn-wa {
  display: block;
  text-align: center;
  padding: 8px 10px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: #4ade80;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
}

.card-btn-wa:hover {
  background: var(--wa-green);
  color: #fff;
}

/* ==========================================================================
   FİLO VE ÇALIŞMALAR (YAZISIZ TEMİZ FOTOĞRAFLAR)
   ========================================================================== */
.gallery-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 600px) {
  .gallery-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  height: 180px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   SSS
   ========================================================================== */
.faq-box {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  text-align: left;
  padding: 12px 14px;
  color: var(--text-white);
  font-size: 0.86rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-a {
  display: none;
  padding: 0 14px 12px;
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.45;
}

.faq-card.active .faq-a {
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 20px 0 16px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-phone {
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

/* ==========================================================================
   MOBİL SABİT ALT BAR
   ========================================================================== */
.mobile-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #080c12;
  border-top: 1px solid var(--border);
  z-index: 1500;
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
  gap: 8px;
}

@media (min-width: 992px) {
  .mobile-bar {
    display: none;
  }
}

.m-wa {
  flex: 2;
  background: var(--wa-green);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
}

.m-call {
  flex: 1;
  background: var(--call-red);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}
