/* ==========================================================================
   ASİD MAKİNA - Kurumsal Marka Tasarım Stilleri (Sandbox Theme Customization)
   Marka Renkleri:
   - Amber / Altın Sarı: #FEAE01 (rgb: 254, 174, 1)
   - Antrasit / Koyu Arka Plan: #2B303A (rgb: 43, 48, 58)
   - Vurgu Kırmızı: #E31E24 (rgb: 227, 30, 36)
   ========================================================================== */

:root {
  --asid-primary: #FEAE01;
  --asid-primary-rgb: 254, 174, 1;
  --asid-dark: #2B303A;
  --asid-dark-rgb: 43, 48, 58;
  --asid-red: #E31E24;
  --asid-red-rgb: 227, 30, 36;
  --asid-light: #F8F9FA;

  /* Bootstrap & Sandbox Değişkenleri Geçersiz Kılma */
  --bs-primary: #FEAE01;
  --bs-primary-rgb: 254, 174, 1;
  --bs-link-color: #FEAE01;
  --bs-link-color-rgb: 254, 174, 1;
  --bs-link-hover-color: #d89300;
  --bs-link-hover-color-rgb: 216, 147, 0;

  --bs-soft-primary: rgba(254, 174, 1, 0.12);
  --bs-pale-primary: rgba(254, 174, 1, 0.05);
  --bs-bullet-soft-primary: rgba(254, 174, 1, 0.2);
  --bs-icon-fill-primary: #FEAE01;
  --bs-icon-solid-fill-primary: #FEAE01;
  --bs-border-soft-primary: rgba(254, 174, 1, 0.3);
}

/* Marka Butonları */
.btn-primary, .btn-primary:focus {
  background-color: #FEAE01 !important;
  border-color: #FEAE01 !important;
  color: #2B303A !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:active {
  background-color: #e09900 !important;
  border-color: #e09900 !important;
  color: #1a1e24 !important;
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.125rem rgba(254, 174, 1, 0.35);
}

.btn-outline-primary {
  color: #FEAE01 !important;
  border-color: #FEAE01 !important;
}

.btn-outline-primary:hover {
  background-color: #FEAE01 !important;
  color: #2B303A !important;
}

.btn-accent {
  background-color: #E31E24 !important;
  border-color: #E31E24 !important;
  color: #ffffff !important;
  font-weight: 600;
}

.btn-accent:hover {
  background-color: #c41318 !important;
  border-color: #c41318 !important;
  color: #ffffff !important;
  box-shadow: 0 0.5rem 1.125rem rgba(227, 30, 36, 0.35);
}

/* ==========================================================================
   Üst Marka Çubuğu & 2 Katmanlı Header (Two-Tier Executive Header)
   ========================================================================== */
.asid-brand-header {
  background-color: #1a1e24;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.asid-brand-header .icon-circle {
  background: rgba(254, 174, 1, 0.12);
  border: 1px solid rgba(254, 174, 1, 0.25);
  transition: all 0.3s ease;
}

.asid-brand-header .icon-circle:hover {
  background: rgba(254, 174, 1, 0.25);
  transform: scale(1.05);
}

.navbar-asid {
  background-color: #242831 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 2px solid #FEAE01;
  min-height: 52px;
}

.navbar-asid .nav-link {
  color: #f0f2f5 !important;
  font-weight: 600;
  font-size: 0.975rem;
  padding: 0.85rem 1.15rem !important;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar-asid .nav-link:hover,
.navbar-asid .nav-link:focus,
.navbar-asid .nav-link.active {
  color: #FEAE01 !important;
  background-color: rgba(254, 174, 1, 0.08);
}

/* Sticky Navbar Kuralları (Headhesive Scroll) */
.navbar-clone.fixed.navbar-stick .sticky-brand {
  display: flex !important;
}

.navbar-clone.fixed.navbar-stick .sticky-cta {
  display: block !important;
}

.navbar-clone.fixed.navbar-stick .navbar-nav {
  margin-left: auto;
  margin-right: auto;
}

.brand-badge {
  background: rgba(254, 174, 1, 0.15);
  color: #FEAE01;
  border: 1px solid rgba(254, 174, 1, 0.3);
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 50rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}

.brand-badge-red {
  background: rgba(227, 30, 36, 0.12);
  color: #E31E24;
  border: 1px solid rgba(227, 30, 36, 0.3);
}

/* Makine Kartları & Vitrin */
.asid-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  background: #ffffff;
}

.asid-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(43, 48, 58, 0.12);
  border-color: rgba(254, 174, 1, 0.5);
}

.asid-card .card-img-top-wrapper {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: #2B303A;
}

.asid-card .card-img-top-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.asid-card:hover .card-img-top-wrapper img {
  transform: scale(1.05);
}

/* Video ve Medya Vitrini */
.video-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1rem 2.5rem rgba(43, 48, 58, 0.2);
  background: #2B303A;
}

.btn-play-asid {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #FEAE01;
  color: #2B303A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 0 0 0 rgba(254, 174, 1, 0.7);
  animation: pulse-amber 2s infinite;
  transition: transform 0.2s ease;
}

.btn-play-asid:hover {
  transform: scale(1.1);
  color: #000000;
}

@keyframes pulse-amber {
  0% {
    box-shadow: 0 0 0 0 rgba(254, 174, 1, 0.7);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(254, 174, 1, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(254, 174, 1, 0);
  }
}

/* Alt Bilgi (Footer) */
.footer-asid {
  background-color: #1F232B !important;
  color: #A0A5B1;
  border-top: 3px solid #FEAE01;
}

.footer-asid h4, .footer-asid h5 {
  color: #ffffff;
}

.footer-asid a {
  color: #C3C7D1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-asid a:hover {
  color: #FEAE01;
}

/* Hero Carousel */
.hero-slider-asid .swiper-slide {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero-slider-asid .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(43, 48, 58, 0.92) 0%, rgba(43, 48, 58, 0.75) 50%, rgba(43, 48, 58, 0.4) 100%);
}

.hero-slider-asid .hero-content {
  position: relative;
  z-index: 2;
}

/* İletişim Formu */
.asid-form-control:focus {
  border-color: #FEAE01 !important;
  box-shadow: 0 0 0 0.25rem rgba(254, 174, 1, 0.25) !important;
}

/* ==========================================================================
   Responsive & Taşma Güvenliği (Viewport Fixes for 375px, 768px, 1440px, 1920px)
   ========================================================================== */
html, body, .content-wrapper {
  overflow-x: hidden !important;
  max-width: 100vw;
}

.swiper-container, .swiper {
  overflow: hidden !important;
  max-width: 100%;
}

@media (max-width: 576px) {
  .hero-slider-asid .swiper-slide {
    min-height: 480px;
  }
  .hero-slider-asid h1.display-3,
  .hero-slider-asid h2.display-3 {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }
  .hero-slider-asid p.lead {
    font-size: 1rem !important;
  }
}

/* ==========================================================================
   Mobil Offcanvas Menü İyileştirmeleri (Responsive Mobile Menu)
   ========================================================================== */
@media (max-width: 991.98px) {
  .navbar-asid {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .navbar-collapse.offcanvas-nav {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
    width: 320px !important;
    max-width: 85vw !important;
    background-color: #1e2228 !important;
    z-index: 1055 !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0.5rem 0 2rem rgba(0, 0, 0, 0.45) !important;
  }

  .navbar-collapse.offcanvas-nav .offcanvas-header {
    background-color: #15181c !important;
    padding: 1.25rem 1.5rem !important;
    border-bottom: 1px solid rgba(254, 174, 1, 0.25) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .navbar-collapse.offcanvas-nav .offcanvas-header h3 {
    color: #ffffff !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em;
    margin: 0 !important;
  }

  .navbar-collapse.offcanvas-nav .offcanvas-body {
    flex-grow: 1 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 1.25rem 1.25rem 3rem 1.25rem !important;
  }

  .navbar-collapse.offcanvas-nav .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
  }

  .navbar-collapse.offcanvas-nav .nav-item {
    width: 100%;
  }

  .navbar-collapse.offcanvas-nav .nav-link {
    color: #f0f2f5 !important;
    font-size: 1.025rem !important;
    font-weight: 600 !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .navbar-collapse.offcanvas-nav .nav-link:hover,
  .navbar-collapse.offcanvas-nav .nav-link:focus,
  .navbar-collapse.offcanvas-nav .nav-link.active {
    color: #FEAE01 !important;
    background-color: rgba(254, 174, 1, 0.08) !important;
  }

  /* Mobil Dropdown (Açılır Menü) Stilleri */
  .navbar-collapse.offcanvas-nav .dropdown-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin: 0.35rem 0 0.75rem 0 !important;
    background-color: #262b33 !important;
    border: 1px solid rgba(254, 174, 1, 0.25) !important;
    border-radius: 8px !important;
    padding: 0.5rem 0.5rem !important;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
  }

  .navbar-collapse.offcanvas-nav .dropdown-item {
    color: #dbe0ea !important;
    font-size: 0.925rem !important;
    font-weight: 500 !important;
    padding: 0.65rem 0.85rem !important;
    border-radius: 6px;
    display: block;
    white-space: normal !important;
    line-height: 1.4;
    transition: all 0.2s ease;
  }

  .navbar-collapse.offcanvas-nav .dropdown-item:hover,
  .navbar-collapse.offcanvas-nav .dropdown-item:focus,
  .navbar-collapse.offcanvas-nav .dropdown-item:active {
    color: #FEAE01 !important;
    background-color: rgba(254, 174, 1, 0.15) !important;
    padding-left: 1.1rem !important;
  }

  .navbar-collapse.offcanvas-nav .offcanvas-footer {
    margin-top: 1rem !important;
    padding-top: 1.25rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
}


