/* ==========================================================================
   EFE OTO KURTARMA - ANA STİL DOSYASI (style.css)
   Sıfır Framework (Pure Vanilla CSS), Keskin Hatlar (0px Border-Radius)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS DEĞİŞKENLERİ & SIFIRLAMA (RESET)
   -------------------------------------------------------------------------- */
:root {
  --primary-color: #ffc107;      /* Güçlü Sarı / Uyarı Tonu */
  --primary-dark: #e0a800;       /* Koyu Sarı Hover */
  --secondary-color: #1a252f;    /* Koyu Lacivert / Kurumsal Vurgu */
  --secondary-light: #2c3e50;   /* İkincil Lacivert */
  --bg-light: #ffffff;           /* Aydınlık Arka Plan */
  --bg-alt: #f8f9fa;             /* Açık Gri Alternatif Arka Plan */
  --text-dark: #1a252f;          /* Ana Metin Renk */
  --text-muted: #6c757d;         /* İkincil Metin Renk */
  --border-color: #e9ecef;       /* Çerçeve Rengi */
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --transition-fast: all 0.3s ease;
  --header-height: 80px;
}

/* Tüm Elemanlar İçin Sıfırlama */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0px !important; /* KESİNLİKLE KESKİN HATLAR */
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Görsel En-Boy Oranı Koruma */
}

/* --------------------------------------------------------------------------
   2. GENEL KULLANIM SIFIR BİLEŞENLERİ (UTILITIES)
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.bg-alt {
  background-color: var(--bg-alt);
}

/* Başlık Standartları */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--primary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 5px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--secondary-color);
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  margin: 10px auto 0 auto;
}

/* Buton Tasarımları */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #ffffff;
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  border-color: var(--secondary-light);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background-color: #1eb956;
  border-color: #1eb956;
}

/* --------------------------------------------------------------------------
   3. HEADER & NAVİGASYON
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--secondary-color);
  color: #ffffff;
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  gap: 20px;
}

.top-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-social {
  display: flex;
  gap: 12px;
}

.top-social a {
  color: #ffffff;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-social a:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

/* Ana Navigasyon */
.main-header {
  background: #ffffff;
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--secondary-color);
  text-transform: uppercase;
}

.logo span {
  color: var(--primary-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-link {
  font-weight: 600;
  color: var(--secondary-color);
  font-size: 0.95rem;
  text-transform: uppercase;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--secondary-color);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   4. HERO SLIDER SEKSİYONU
   -------------------------------------------------------------------------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-height));
  min-height: 500px;
  overflow: hidden;
  background: var(--secondary-color);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(26, 37, 47, 0.7) 0%, rgba(26, 37, 47, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 0 20px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Slider Navigasyonu */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 37, 47, 0.6);
  color: #ffffff;
  border: 2px solid #ffffff;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.slider-btn:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-fast);
}

.indicator.active {
  background: var(--primary-color);
  width: 35px;
}

/* --------------------------------------------------------------------------
   5. ÖNE ÇIKAN ÖZELLİKLER & ÖZET HİZMETLER
   -------------------------------------------------------------------------- */
.features-bar {
  background: var(--secondary-color);
  color: #ffffff;
  padding: 30px 0;
  border-bottom: 4px solid var(--primary-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
}

.feature-item i {
  font-size: 2.2rem;
  color: var(--primary-color);
}

.feature-item h4 {
  font-size: 1.1rem;
  text-transform: uppercase;
}

.feature-item p {
  font-size: 0.85rem;
  color: #cccccc;
}

/* Services Grid (Hizmet Kartları) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.service-img-wrapper {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.05);
}

.service-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 700;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   6. HİZMET BÖLGELERİ (SEO) ALANI
   -------------------------------------------------------------------------- */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.region-card {
  background: #ffffff;
  padding: 20px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition-fast);
}

.region-card i {
  font-size: 1.8rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.region-card h3 {
  font-size: 1.1rem;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.region-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.region-card:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.region-card:hover h3,
.region-card:hover p,
.region-card:hover i {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   7. GALERİ & LIGHTBOX SEKSİYONU
   -------------------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--secondary-color);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 240px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 37, 47, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #ffffff;
}

.gallery-overlay i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   8. SABİT DİNAMİK BİLEŞENLER (WHATSAPP PULSE & BACK TO TOP)
   -------------------------------------------------------------------------- */
.fixed-whatsapp {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

/* --------------------------------------------------------------------------
   9. İLETİŞİM SAYFASI & FORM
   -------------------------------------------------------------------------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--secondary-color);
}

.form-control {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-alt);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-dark);
  background: #ffffff;
}

.map-container {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 1px solid var(--border-color);
}

/* --------------------------------------------------------------------------
   10. FOOTER ALANI
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--secondary-color);
  color: #a0aec0;
  padding-top: 70px;
  border-top: 5px solid var(--primary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--primary-color);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #a0aec0;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact-info li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-info i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE TASARIM (MEDYA SORGULARI)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: var(--secondary-color);
    flex-direction: column;
    padding: 40px 20px;
    align-items: flex-start;
    transition: right 0.4s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    color: #ffffff;
    width: 100%;
  }

  .mobile-toggle {
    display: block;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .top-bar { display: none; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .slider-btn { display: none; }
}