/* ==========================================================================
   AK VİNÇ - MODERN CUSTOM STYLES & MOBILE ENHANCEMENTS (SEO & GEO UYUMLU)
   ========================================================================== */

:root {
  --ak-primary: #ff5e14;
  --ak-primary-dark: #e54d0a;
  --ak-primary-light: #fff3ee;
  --ak-dark: #1e242b;
  --ak-dark-card: #272f38;
  --ak-gray-bg: #f5f7fa;
  --ak-text-muted: #6c7a89;
  --ak-border: #e2e8f0;
  --ak-success: #10b981;
  --ak-radius: 12px;
  --ak-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --ak-shadow-hover: 0 18px 40px rgba(255, 94, 20, 0.16);
}

/* Floating Action Buttons */
.callButton {
  position: fixed;
  bottom: 25px;
  left: 20px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.callButton:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.5);
  color: #fff !important;
}

.whatsappButton {
  position: fixed;
  bottom: 25px;
  right: 20px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsappButton:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
  color: #fff !important;
}

@media (max-width: 576px) {
  .callButton, .whatsappButton {
    padding: 10px 14px;
    font-size: 12px;
    bottom: 15px;
  }
  .callButton { left: 10px; }
  .whatsappButton { right: 10px; }
}

/* Service Detail Cards & Fleet Showcase */
.fleet-hero {
  background: linear-gradient(135deg, #181d24 0%, #252d37 100%);
  color: #ffffff;
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.fleet-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 80% 30%, rgba(255, 94, 20, 0.15), transparent 60%);
  pointer-events: none;
}

.fleet-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 94, 20, 0.15);
  color: #ff5e14;
  border: 1px solid rgba(255, 94, 20, 0.3);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 15px;
}

.fleet-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 15px;
}

.fleet-lead {
  font-size: 17px;
  line-height: 1.65;
  color: #d1d5db;
  max-width: 720px;
}

/* Features Grid */
.feature-card {
  background: #ffffff;
  border-radius: var(--ak-radius);
  padding: 28px 24px;
  border: 1px solid #edf2f7;
  box-shadow: var(--ak-shadow);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--ak-shadow-hover);
  border-color: rgba(255, 94, 20, 0.3);
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--ak-primary-light);
  color: var(--ak-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  background: var(--ak-primary);
  color: #ffffff;
}

.feature-card h3, .feature-card h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ak-dark);
  margin-bottom: 12px;
  line-height: 1.35;
}

.feature-card p {
  color: var(--ak-text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Geo-Targeting Badges */
.geo-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.geo-tag {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.geo-tag:hover {
  background: var(--ak-primary);
  color: #ffffff;
  border-color: var(--ak-primary);
}

/* FAQ Accordion */
.faq-box {
  background: #ffffff;
  border-radius: var(--ak-radius);
  border: 1px solid #e2e8f0;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-box.active {
  border-color: var(--ak-primary);
  box-shadow: 0 4px 18px rgba(255, 94, 20, 0.1);
}

.faq-header {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--ak-dark);
  user-select: none;
}

.faq-header:hover {
  color: var(--ak-primary);
}

.faq-header i {
  transition: transform 0.3s ease;
  color: var(--ak-primary);
}

.faq-box.active .faq-header i {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 24px 20px 24px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.65;
  display: none;
}

.faq-box.active .faq-content {
  display: block;
}

/* CTA Card */
.cta-banner {
  background: linear-gradient(135deg, #ff5e14 0%, #e54d0a 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 45px 40px;
  box-shadow: 0 15px 35px rgba(229, 77, 10, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 25px;
  max-width: 600px;
}

.cta-btn-white {
  background: #ffffff;
  color: #e54d0a !important;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.cta-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  background: #f8fafc;
}

.cta-btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  transition: all 0.3s ease;
}

.cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

@media (max-width: 768px) {
  .fleet-title { font-size: 28px; }
  .cta-banner { padding: 30px 20px; text-align: center; }
  .cta-banner p { margin: 0 auto 20px auto; }
  .cta-btn-outline { margin-left: 0; margin-top: 10px; display: flex; justify-content: center; }
  .cta-btn-white { display: flex; justify-content: center; width: 100%; }
}

/* ==========================================================================
   SUBPAGE HEADER FIX (Never overlaps, solid dark bar with white logo & links)
   ========================================================================== */
.header-subpage {
  position: relative !important;
  background: #181d24 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  z-index: 1010;
  width: 100%;
}

.header-subpage .navbar {
  background: transparent !important;
  border-bottom: none !important;
  height: 120px;
}

.header-subpage .logo-light {
  display: inline-block !important;
}

.header-subpage .logo-dark {
  display: none !important;
}

.header-subpage .nav__item .nav__item-link {
  color: #ffffff !important;
}

.header-subpage .nav__item .nav__item-link:hover,
.header-subpage .nav__item .nav__item-link.active {
  color: #ff5e14 !important;
}

.header-subpage .header__top-right {
  top: 25px;
}

.header-subpage + .fleet-hero {
  padding: 50px 0 55px !important;
  margin-top: 0 !important;
}

.header-subpage + .page-title {
  margin-top: 0 !important;
  padding: 80px 0 50px !important;
}

/* Fixed navbar state on scroll */
.fixed-navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 80px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  z-index: 1040 !important;
}

.fixed-navbar .logo-light {
  display: none !important;
}

.fixed-navbar .logo-dark {
  display: inline-block !important;
}

.fixed-navbar .nav__item .nav__item-link {
  color: #1e242b !important;
  line-height: 80px !important;
}

/* Header Top Right Phone Boxes */
.header-phone-box {
  background: #ff5e14 !important;
  border-radius: 6px;
  padding: 6px 14px !important;
  margin-left: 10px !important;
  font-size: 15px !important;
  font-weight: 700;
  color: #fff;
  transition: all 0.3s ease;
}

.header-phone-box a {
  color: #ffffff !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
}

.header-phone-box:hover {
  background: #e04b08 !important;
  transform: translateY(-2px);
}

.btn-header-quote {
  background: #ffffff !important;
  color: #1e242b !important;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  margin-left: 10px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.btn-header-quote:hover {
  background: #ff5e14 !important;
  color: #ffffff !important;
}

/* Mobile Header Quick Actions */
.btn-mobile-call {
  background: #ff5e14;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-mobile-wa {
  background: #25d366;
  color: #ffffff !important;
  font-size: 18px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none !important;
}

/* ==========================================================================
   BUTTON TEXT OVERFLOW & SPACING FIX
   ========================================================================== */
.btn {
  width: auto !important;
  min-width: 140px;
  padding: 0 24px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  line-height: normal !important;
  box-sizing: border-box !important;
  letter-spacing: 0.3px !important;
}

.btn i {
  margin-right: 6px;
}

.btn-sm {
  height: 38px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  min-width: 110px;
}

@media (max-width: 991px) {
  .header-subpage {
    position: relative !important;
    background: #181d24 !important;
  }
  .header-subpage .navbar {
    height: 80px !important;
    background: #181d24 !important;
  }
  .header-subpage .navbar .navbar-toggler .menu-lines:before,
  .header-subpage .navbar .navbar-toggler .menu-lines:after,
  .header-subpage .navbar .navbar-toggler .menu-lines span {
    background-color: #ffffff !important;
  }
  .header-subpage .navbar-brand {
    line-height: 80px !important;
  }
}

@media (max-width: 767px) {
  .btn {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    height: auto !important;
    min-height: 46px !important;
    padding: 10px 16px !important;
  }
  .d-flex.gap-2 > .btn,
  .d-flex.gap-3 > .btn,
  .cta-btn-white,
  .cta-btn-outline {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 10px !important;
    justify-content: center !important;
    text-align: center !important;
  }
}
