/*
Theme Name: Silivri Besler Oto Çekici Yeni Tema
Author: Aysegul Aleyna Unsal
Version: 4.3 — GTranslate Temizlendi & Mobil Menü Sabitlendi
*/
 
/* ── DEĞİŞKENLER ── */
:root {
  --red:    #e74c3c;
  --red-dk: #c0392b;
  --gold:   #f39c12;
  --green:  #25d366;
  --black:  #111;
  --dark:   #1a1a1a;
  --border: #333;
  --muted:  #aaa;
  --white:  #fff;
  --lb:     36px;   /* lang-bar yüksekliği */
  --hh:     90px;   /* header yüksekliği (sabit kalacak) */
  --r:      8px;
  --rl:     12px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; }

/* Sayfa içi yönlendirmelerde (anchor) header'ın section üzerine çıkmasını engeller */
html { 
  scroll-behavior: smooth; 
  scroll-padding-top: calc(var(--lb) + var(--hh) + 20px); 
}

body {
  margin: 0;
  padding-top: calc(var(--lb) + var(--hh)); /* lang-bar + header */
  font-family: 'Segoe UI', sans-serif;
  background: var(--black); color: var(--white); line-height: 1.6;
}
a   { text-decoration: none; transition: color .25s; }
img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; margin: 0; padding: 0; }

/* ── DİL ŞERİDİ ── */
#lang-bar {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important;
  width: 100%;
  height: var(--lb);
  background: #0a0a0a;
  border-bottom: 1px solid #2a2a2a;
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px;
  z-index: 99999 !important;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  transform: translateZ(0);
}

/* ── WP ADMIN BAR ── */
.admin-bar #lang-bar        { top: 32px !important; }
.admin-bar #site-header     { top: calc(32px + var(--lb)) !important; }
.admin-bar body             { padding-top: calc(32px + var(--lb) + var(--hh)) !important; }

@media screen and (max-width: 782px) {
  .admin-bar #lang-bar        { top: 46px !important; }
  .admin-bar #site-header     { top: calc(46px + var(--lb)) !important; }
  .admin-bar body             { padding-top: calc(46px + var(--lb) + var(--hh)) !important; }
}

/* ── HEADER ── */
#site-header {
  position: fixed;
  top: var(--lb); left: 0; right: 0;
  height: var(--hh);
  background: rgba(17,17,17,.98);
  border-bottom: 3px solid var(--red);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex; align-items: center;
}

.header-container {
  width: 100%; max-width: 1200px; height: 100%;
  margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}

.site-branding     { flex-shrink: 0; }
.site-branding img { max-height: 70px; width: auto; object-fit: contain; }

.main-navigation { display: flex; align-items: center; gap: 24px; }
.nav-list        { display: flex; gap: 18px; }
.nav-list a      { color: var(--white); font-size: 15px; font-weight: 600;
                   text-transform: uppercase; letter-spacing: .4px; }
.nav-list a:hover { color: var(--red); }

.mobile-menu-toggle { display: none; background: none; border: none;
                      color: var(--red); font-size: 30px; cursor: pointer; }

/* ── BUTONLAR ── */
.btn-call-now {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; background: var(--red); color: var(--white);
  border-radius: 5px; font-weight: 700; font-size: 15px;
  white-space: nowrap; animation: pulse 2s infinite;
}
.btn-call-now:hover { background: var(--red-dk); color: var(--white); }

.btn-hero {
  padding: 14px 30px; border-radius: 5px; font-size: 16px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px; transition: all .3s;
}
.btn-hero-primary  { background: var(--red);   color: var(--white); box-shadow: 0 6px 20px rgba(231,76,60,.3); }
.btn-hero-whatsapp { background: var(--green);  color: var(--white); box-shadow: 0 6px 20px rgba(37,211,102,.3); }
.btn-hero-primary:hover  { background: var(--red-dk); color: var(--white); transform: translateY(-2px); }
.btn-hero-whatsapp:hover { background: #1ebe57;        color: var(--white); transform: translateY(-2px); }

.floating-mobile-call {
  display: none; position: fixed; bottom: 22px; right: 18px;
  width: 60px; height: 60px; background: var(--green); color: var(--white);
  border-radius: 50%; text-align: center; line-height: 60px;
  font-size: 27px; box-shadow: 0 4px 14px rgba(0,0,0,.3);
  z-index: 9998; animation: pulse-green 2s infinite;
}

/* ── HERO ── */
.modern-hero {
  position: relative; margin-top: 0;
  background: url('assets/images/sliders/silivri-oto-cekici.jpg') center/cover no-repeat fixed;
  min-height: calc(100vh - var(--lb) - var(--hh));
  display: flex; align-items: center; padding: 80px 0;
}
.hero-overlay { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,rgba(17,17,17,.85),rgba(30,30,30,.6)); }
.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-block; background: rgba(231,76,60,.12); color: var(--red);
  border: 1px solid var(--red); padding: 6px 16px; border-radius: 30px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 20px;
}
.hero-title  { color: var(--white); font-size: 50px; font-weight: 800;
               line-height: 1.2; margin-bottom: 20px; }
.hero-desc   { color: #e0e0e0; font-size: 18px; margin-bottom: 32px; }
.hero-actions { display: flex; justify-content: center; gap: 14px; margin-bottom: 40px; }
.text-theme  { color: var(--red); }

.hero-trust-badges { display: flex; justify-content: center; gap: 24px;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }
.hero-trust-badges span { color: #ccc; font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 6px; }

/* ── TİPOGRAFİ ── */
.section-title    { font-size: 30px; font-weight: 700; color: var(--white);
                    margin-bottom: 10px; text-transform: uppercase; }
.section-subtitle { font-size: 15px; color: var(--muted); line-height: 1.6; }
.gallery-section .section-title,
.gallery-section p { color: #111 !important; }

/* ── HİZMET KARTLARI ── */
.premium-dark-card {
  background: var(--dark); border: 1px solid var(--border); border-radius: var(--rl);
  padding: 32px 24px; text-align: center; height: 100%; min-height: 250px;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.premium-dark-card:hover { transform: translateY(-7px);
  box-shadow: 0 12px 28px rgba(231,76,60,.15); border-color: var(--red); }
.premium-dark-card .card-icon { display: flex; justify-content: center; margin-bottom: 16px; }
.premium-dark-card .card-icon img { max-width: 46px; }
.premium-dark-card h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.premium-dark-card p  { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; }

.vip-card       { background: linear-gradient(135deg,#1f1f1f,var(--black)); border-color: var(--gold); }
.vip-card:hover { border-color: var(--gold); box-shadow: 0 12px 28px rgba(243,156,18,.15); }
.vip-card h3    { color: var(--gold); }

.action-card        { background: var(--red); border-color: var(--red-dk); }
.action-card:hover  { background: var(--red-dk); box-shadow: 0 12px 28px rgba(231,76,60,.4); }
.action-card h3,
.action-card p      { color: var(--white); }
.action-card .btn-call-now       { background: var(--black); animation: none; }
.action-card .btn-call-now:hover { background: #333; }

/* ── BÖLGELER & HARİTA ── */
.area-list-box { background: var(--white); padding: 26px; border-radius: var(--r);
  box-shadow: 0 5px 18px rgba(0,0,0,.1); }
.custom-area-list li { font-size: 15px; font-weight: 600; padding: 10px 0;
  border-bottom: 1px solid #eee; display: flex; align-items: center; color: #333; }
.custom-area-list li i { color: var(--red); margin-right: 12px; font-size: 17px; }
.custom-area-list li.highway-highlight { color: var(--red); font-weight: 700; border-bottom: none; }

.map-responsive { position: relative; padding-bottom: calc(56.25% + 40px);
  height: 0; overflow: hidden; border-radius: var(--r); box-shadow: 0 5px 18px rgba(0,0,0,.1); }
.map-responsive iframe { position: absolute; top: -40px; left: 0;
  width: 100%; height: calc(100% + 40px); border: 0; }

/* ── ACCORDION ── */
.seo-accordion .accordion-item { background: var(--white); margin-bottom: 10px;
  border-radius: 5px; box-shadow: 0 2px 8px rgba(0,0,0,.06); overflow: hidden; }
.seo-accordion .accordion-title { padding: 16px 20px; font-size: 16px; font-weight: 600;
  color: var(--black); cursor: pointer; list-style: none; position: relative;
  background: #fcfcfc; transition: background .2s; }
.seo-accordion .accordion-title:hover { background: #f5f5f5; }
.seo-accordion .accordion-title::-webkit-details-marker { display: none; }
.seo-accordion .accordion-title::after { content: '+'; position: absolute; right: 16px;
  font-size: 20px; color: var(--red); font-weight: 300; }
.seo-accordion .accordion-item[open] .accordion-title::after { content: '−'; }
.seo-accordion .accordion-content { padding: 0 20px 16px; font-size: 14px; color: #555; line-height: 1.65; }

/* ── YORUMLAR ── */
.google-review-card { background: var(--white); padding: 22px; border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08); margin-bottom: 24px; }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.reviewer-avatar { width: 38px; height: 38px; background: #3498db; color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; flex-shrink: 0; }
.reviewer-avatar-img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
  border: 2px solid #eee; flex-shrink: 0; }
.reviewer-info        { flex: 1; }
.reviewer-info strong { font-size: 13px; color: #222; display: block; }
.review-date  { font-size: 11px; color: #888; }
.google-icon  { width: 22px; height: 22px; }
.review-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; margin-bottom: 6px; }
.review-text  { font-size: 13px; color: #444; line-height: 1.6; font-style: italic; }

/* ── GALERİ ── */
.gallery-section { background: var(--white); overflow: hidden; }
.gallery-scroll-wrapper { width: 100%; padding: 0 14px; }
.seo-gallery-scroll { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px;
  padding-bottom: 14px; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; }
.seo-gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-item { flex: 0 0 230px; height: 230px; scroll-snap-align: center;
  overflow: hidden; border-radius: var(--rl); box-shadow: 0 4px 10px rgba(0,0,0,.1); background: #f0f0f0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.08); }

/* ── FOOTER ── */
#footer h5 { font-size: 16px; font-weight: 700; margin-bottom: 20px;
  display: inline-block; padding-bottom: 4px; border-bottom: 2px solid var(--red); }
.widget-services a, .widget-navigation a { color: #ccc; font-size: 13px;
  display: inline-block; transition: color .2s, padding-left .2s; }
.widget-services li, .widget-navigation li { margin-bottom: 8px; }
.widget-services a:hover, .widget-navigation a:hover { color: var(--red); padding-left: 4px; }
.widget-contact-info a       { color: var(--white); transition: color .2s; }
.widget-contact-info a:hover { color: var(--red); }
.widget-social-icon a { width: 36px; height: 36px; line-height: 36px; background: #222;
  border-radius: 50%; display: inline-block; text-align: center; color: var(--white);
  margin-left: 7px; transition: background .3s, transform .3s; }
.widget-social-icon a:hover { background: var(--red); transform: rotate(360deg); }
.copyrights { border-top: 1px solid rgba(255,255,255,.06); padding-top: 16px; margin-top: 32px; }
.copyrights p { font-size: 12px; color: #888; }

/* ── ANİMASYONLAR ── */
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(231,76,60,.7); }
  70%      { box-shadow: 0 0 0 13px rgba(231,76,60,0); }
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.7); }
  70%      { box-shadow: 0 0 0 13px rgba(37,211,102,0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .mobile-menu-toggle   { display: block; }
  .header-cta           { display: none; }
  .floating-mobile-call { display: block; }

  /* Menünün kaymasını önlemek için absolute yerine fixed ve %100 genişlik kullanıldı */
  .main-navigation {
    position: fixed;
    top: calc(var(--lb) + var(--hh)); left: 0; width: 100%;
    background: rgba(17,17,17,.98);
    flex-direction: column; padding: 14px 0;
    border-top: 2px solid var(--red);
    display: none;
  }
  .main-navigation.active { display: flex; }
  .nav-list { flex-direction: column; width: 100%; text-align: center; gap: 0; }
  .nav-list li { padding: 11px 0; border-bottom: 1px solid var(--border); width: 100%; }

  #lang-bar { justify-content: center; }
}

@media (max-width: 768px) {
  .hero-title  { font-size: 28px; }
  .hero-desc   { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: center;
    max-width: 280px; margin-inline: auto; margin-bottom: 32px; }
  .btn-hero    { width: 100%; justify-content: center; }
  .hero-trust-badges { flex-direction: column; gap: 10px; align-items: center; }
  .gallery-item { flex: 0 0 160px; height: 160px; }
  .clean-service-box, .service-cta-banner { flex-direction: column;
    text-align: center; align-items: center; padding: 22px 16px; }
  .service-icon-left { margin: 0 0 16px; }
  .service-cta-banner .cta-button-area { margin-top: 16px; }
}

@media (max-width: 480px) {
  .hero-title    { font-size: 24px; }
  .section-title { font-size: 22px; }
  .premium-dark-card { padding: 20px 14px; min-height: 210px; }
  #lang-bar { font-size: 11px; padding: 0 10px; }
}

/* ── MOBİL WP ADMIN BAR BOŞLUK DÜZELTMESİ ── */
@media screen and (max-width: 782px) {
  html #wpadminbar {
    position: fixed !important;
    top: 0 !important;
  }
}