/* ==========================================================================
   A.T.C. Africa Trade Center - Kurumsal Saf CSS (Zero CDN / Zero Build)
   rules.md Madde 1-8, 30, 34-38, 49, 50 kurallarına %100 uyumlu.
   Tek Satır Üst Menü, Kusursuz Responsive Düzen ve Hızlı Yükleme Garantisi.
   ========================================================================== */

:root {
  --primary: #0f172a;       /* Gece Mavisi / Koyu Kurumsal */
  --primary-light: #1e293b;
  --accent: #d97706;        /* Afrika Ticaret Altını */
  --accent-hover: #b45309;
  --accent-light: #fef3c7;
  --success: #059669;       /* Zümrüt Yeşili / Başarı */
  --whatsapp: #25d366;      /* WhatsApp Yeşili */
  --bg-main: #f8fafc;       /* Sayfa zemin rengi */
  --card-bg: #ffffff;
  --surface: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   SVG & İKON BOYUTLANDIRMA VE RENK YARDIMCILARI (rules.md Madde 1, 2, 3)
   ========================================================================== */
svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.w-3\.5 { width: 0.875rem; }
.h-3\.5 { height: 0.875rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.w-7 { width: 1.75rem; }
.h-7 { height: 1.75rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }

.text-accent { color: var(--accent) !important; }
.text-primary { color: var(--primary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-success { color: var(--success) !important; }
.text-whatsapp { color: var(--whatsapp) !important; }
.text-white { color: #ffffff !important; }

/* Responsive Görünürlük */
.hide-tablet {
  display: inline-flex;
}
@media (max-width: 1024px) {
  .hide-tablet {
    display: none !important;
  }
}

.hide-mobile {
  display: inline-flex;
}
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

.hide-desktop {
  display: none;
}
@media (max-width: 768px) {
  .hide-desktop {
    display: block !important;
  }
}

/* ==========================================================================
   1. ÜST İLETİŞİM ÇUBUĞU (TEK SATIR & GSM ÖNCELİĞİ - rules.md Madde 49)
   ========================================================================== */
.top-bar {
  background-color: var(--primary);
  color: #94a3b8;
  font-size: 0.82rem;
  height: 38px;
  line-height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 1rem;
}
.top-bar-notice {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
  color: #cbd5e1;
}
.top-bar-notice strong {
  color: #fbbf24;
}
.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.82rem;
}
.top-bar-link:hover {
  color: #fbbf24;
}
.top-bar-phone {
  color: #fbbf24;
  font-weight: 700;
}
.gsm-badge {
  background-color: rgba(217, 119, 6, 0.25);
  color: #fbbf24;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .top-bar-notice {
    display: none;
  }
  .top-bar-inner {
    justify-content: center;
  }
}

/* ==========================================================================
   2. ANA NAVİGASYON BARI (KESİNLİKLE TEK SATIR - rules.md Madde 34)
   ========================================================================== */
.navbar {
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: clamp(0.5rem, 1.5vw, 1.5rem);
}

/* Marka & Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand-logo img {
  height: 46px;
  width: 46px;
  border-radius: 6px;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-subtitle {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Masaüstü Menü (Kesinlikle Tek Satır) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.1vw, 1.25rem);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav-link {
  font-size: clamp(0.82rem, 0.88vw, 0.92rem);
  font-weight: 600;
  color: var(--primary-light);
  padding: 0.45rem 0.25rem;
  position: relative;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
}

/* Öne Çıkan Sektörler Dropdown (Masaüstü) */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.dropdown-chevron {
  transition: transform 0.2s ease;
}
.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown:focus-within .dropdown-chevron {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.2), 0 8px 16px -4px rgba(15, 23, 42, 0.08);
  width: 640px;
  max-width: calc(100vw - 2rem);
  padding: 1.15rem;
  display: none;
  flex-direction: column;
  white-space: normal;
  z-index: 9999;
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: flex !important;
}
.nav-dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 0.75rem;
}
.nav-dropdown-badge {
  background: rgba(217, 119, 6, 0.12);
  color: var(--accent);
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.nav-dropdown-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
}
.nav-dropdown-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid transparent;
  transition: all 0.16s ease;
  min-width: 0;
  overflow: hidden;
}
.nav-dropdown-card:hover {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  transform: translateY(-1px);
}
.nav-dropdown-card.active {
  background-color: #eff6ff;
  border-color: #bfdbfe;
}
.nav-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: rgba(217, 119, 6, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.16s ease;
}
.nav-dropdown-card:hover .nav-card-icon {
  background-color: var(--accent);
  color: #ffffff;
}
.nav-card-body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  flex: 1;
}
.nav-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.nav-dropdown-card:hover .nav-card-title {
  color: var(--accent);
}
.nav-card-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.1rem;
  min-width: 0;
}
.nav-dropdown-footer {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: flex-end;
}
.nav-dropdown-all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background-color: #f1f5f9;
  transition: all 0.16s ease;
}
.nav-dropdown-all:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* Sağ Aksiyon / Teklif Butonu ve Hamburger */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--accent);
  color: #ffffff;
  padding: 0.52rem 0.95rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.84rem;
  box-shadow: 0 3px 8px rgba(217, 119, 6, 0.28);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--primary);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
}
.hamburger-btn:hover {
  background-color: #f1f5f9;
}

/* Ekran 1260px altına indiğinde alt başlığı gizleyerek tek satır menüye geniş ferahlık sağla */
@media (max-width: 1260px) {
  .brand-subtitle {
    display: none;
  }
}

/* Tablet ve Ekranda Hamburger Moduna Kusursuz Geçiş (1160px ve altı) */
@media (max-width: 1160px) {
  .nav-menu {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
}

@media (max-width: 640px) {
  .brand-title {
    font-size: 1rem;
  }
  .brand-logo img {
    height: 40px;
    width: 40px;
  }
  .nav-cta {
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   3. MOBİL OFF-CANVAS MENÜ (rules.md Madde 36)
   ========================================================================== */
.offcanvas-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.offcanvas-overlay.active {
  display: block;
  opacity: 1;
}

.offcanvas-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 320px;
  height: 100%;
  background-color: #ffffff;
  z-index: 101;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}
.offcanvas-menu.active {
  transform: translateX(0);
}
.offcanvas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.offcanvas-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  padding: 0.25rem;
}
.offcanvas-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}
.offcanvas-nav a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.offcanvas-nav a:hover {
  color: var(--accent);
}

/* Mobil Off-Canvas Öne Çıkanlar Bloğu */
.offcanvas-featured-box {
  margin: 0.85rem 0 0.5rem;
  padding: 0.85rem 0.75rem;
  background-color: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}
.offcanvas-featured-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.03em;
}
.offcanvas-featured-grid {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.offcanvas-featured-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 600;
  transition: all 0.15s ease;
}
.offcanvas-featured-link:hover,
.offcanvas-featured-link.active {
  background-color: #ffffff;
  color: var(--accent);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.offcanvas-featured-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent);
  flex-shrink: 0;
}
.offcanvas-featured-link:hover .offcanvas-featured-icon,
.offcanvas-featured-link.active .offcanvas-featured-icon {
  background: var(--accent);
  color: #ffffff;
}
.offcanvas-featured-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.offcanvas-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   4. SABİT BUTONLAR (rules.md Madde 37 & 38)
   ========================================================================== */
/* Sol-Alt Yukarı Çık Butonu */
.scroll-top-btn,
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 99;
  width: 46px;
  height: 46px;
  background-color: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
}
.scroll-top-btn.visible,
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover,
.back-to-top:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
}

/* Sağ-Alt WhatsApp Pulse Butonu */
.whatsapp-fixed-btn,
.wa-fixed {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 99;
  width: 58px;
  height: 58px;
  background-color: var(--whatsapp);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  animation: pulse-green 2s infinite;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fixed-btn:hover,
.wa-fixed:hover {
  transform: scale(1.08);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.6);
}
.whatsapp-tooltip,
.wa-tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--primary);
  color: #ffffff;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
}
.whatsapp-fixed-btn:hover .whatsapp-tooltip,
.whatsapp-fixed-btn:hover .wa-tooltip,
.wa-fixed:hover .whatsapp-tooltip,
.wa-fixed:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   5. BREADCRUMB (rules.md Madde 15)
   ========================================================================== */
.breadcrumb-wrapper {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  font-size: 0.85rem;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
}
.breadcrumb-item a {
  color: var(--primary-light);
  font-weight: 500;
}
.breadcrumb-item a:hover {
  color: var(--accent);
}
.breadcrumb-item.active {
  color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   6. HERO BÖLÜMÜ
   ========================================================================== */
.hero {
  background-color: #0b1120;
  background-image: url('../images/hero-logistics.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 4.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 17, 32, 0.90) 0%, rgba(15, 23, 42, 0.80) 50%, rgba(15, 23, 42, 0.88) 100%);
  z-index: 1;
}
/* Eğik çizgi kaldırıldı: temiz, modern, kurumsal düz alt kenar */
.hero::after {
  content: none;
  display: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}
/* Sayfalara özel optimize AI arka planları */
.hero-home {
  background-image: url('../images/hero-home.webp');
}
.hero-about {
  background-image: url('../images/hero-about.webp');
}
.hero-logistics {
  background-image: url('../images/hero-logistics.webp');
}
.hero-africa {
  background-image: url('../images/hero-africa.webp');
}
.hero.hero-custom-bg::before {
  background: linear-gradient(135deg, rgba(11, 17, 32, 0.82) 0%, rgba(15, 23, 42, 0.72) 50%, rgba(15, 23, 42, 0.85) 100%);
}
.hero-videos {
  background-image: url('../images/hero-videos.webp');
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(217, 119, 6, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(217, 119, 6, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-title span {
  color: #fbbf24;
}
.hero-description {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.65rem;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--accent);
  color: #ffffff;
  padding: 0.8rem 1.65rem;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.98rem;
  font-weight: 700;
  border: 2px solid var(--accent);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.45);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--accent);
  color: #ffffff;
  padding: 0.8rem 1.65rem;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.98rem;
  font-weight: 700;
  border: 2px solid var(--accent);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: #ffffff;
  padding: 0.8rem 1.65rem;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.98rem;
  font-weight: 700;
  border: 2px solid var(--primary);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.8rem 1.65rem;
  border-radius: var(--radius-sm, 8px);
  font-size: 0.98rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-outline:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

/* Koyu zeminli alanlarda (Hero vb.) beyaz outline buton */
.hero .btn-outline,
.hero-section .btn-outline,
.btn-outline-white {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background-color: transparent;
}
.hero .btn-outline:hover,
.hero-section .btn-outline:hover,
.btn-outline-white:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

@media (max-width: 640px) {
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
  }
  .hero {
    padding: 3rem 0 3.5rem;
  }
}

/* Ülke Sayfaları Hero Düzeni ve Pasaport Kartı */
.hero-country-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge-flag {
  font-size: 1.25rem;
  line-height: 1;
  display: inline-block;
}

.hero-badge-code {
  background-color: rgba(251, 191, 36, 0.28);
  color: #fbbf24;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hero-badge-sep {
  opacity: 0.45;
  color: #cbd5e1;
}

.hero-country-card {
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(217, 119, 6, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-country-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #fbbf24 100%);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pulse {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: statusPulseAnim 2s infinite;
}

@keyframes statusPulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-card-portcode {
  background-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card-route {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: rgba(11, 17, 32, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.95rem;
  margin-bottom: 1.15rem;
}

.route-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.route-flag {
  font-size: 1.35rem;
  line-height: 1;
}

.route-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.route-label {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.route-name {
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.route-connector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.15rem 0;
  margin-left: 0.65rem;
}

.route-line {
  width: 2px;
  height: 22px;
  background: repeating-linear-gradient(to bottom, #d97706, #d97706 4px, transparent 4px, transparent 8px);
}

.route-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(217, 119, 6, 0.2);
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: #fbbf24;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
}

.hero-card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.spec-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.spec-k {
  font-size: 0.68rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.spec-v {
  font-size: 0.82rem;
  color: #f1f5f9;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-card-footer {
  margin-top: 0.25rem;
}

.hero-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.hero-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.45);
  color: #ffffff;
}

@media (max-width: 992px) {
  .hero-country-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .hero-country-card {
    max-width: 480px;
  }
}

/* ==========================================================================
   7. HIZLI BİLGİ KARTI (rules.md Madde 25)
   ========================================================================== */
.quick-info-card {
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 1.5rem 1.75rem;
  margin-top: 1.75rem;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.5rem;
}

/* Yalnızca hero'nun hemen ardından geldiğinde (Ana sayfa gibi breadcrumb olmayan durumlarda) yukarı taşır */
.hero + .container .quick-info-card,
.hero + .quick-info-card {
  margin-top: -28px;
  margin-bottom: 0;
}

/* Breadcrumb sonrasında geldiğinde kesinlikle breadcrumb'ı örtmez, temiz boşluk bırakır */
.breadcrumb-wrapper + .container .quick-info-card,
.breadcrumb-wrapper + * .quick-info-card,
.breadcrumb-wrapper ~ .container .quick-info-card {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.quick-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.quick-info-icon {
  width: 42px;
  height: 42px;
  background-color: var(--accent-light);
  color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.quick-info-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}
.quick-info-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .quick-info-card {
    padding: 1.25rem;
    gap: 1rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
  }
  .hero + .container .quick-info-card,
  .hero + .quick-info-card {
    margin-top: -15px;
    margin-bottom: 0;
  }
  .breadcrumb-wrapper + .container .quick-info-card,
  .breadcrumb-wrapper + * .quick-info-card,
  .breadcrumb-wrapper ~ .container .quick-info-card {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
  }
}

/* ==========================================================================
   8. KARTLAR, GRİDLER VE DÜZEN
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}
@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-badge {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.section-title {
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: #cbd5e1;
}
.card-icon {
  width: 48px;
  height: 48px;
  background-color: #f1f5f9;
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.6;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: auto;
}
.card-link:hover {
  gap: 0.6rem;
}

.card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.card-title a:hover {
  color: var(--accent);
}

/* ==========================================================================
   Ülke Kartları (Country Cards) - Şık, Kurumsal ve Düzenli Tasarım
   ========================================================================== */
.country-card {
  position: relative;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.country-card svg {
  max-width: 18px;
  max-height: 18px;
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 6px 12px -4px rgba(15, 23, 42, 0.05);
  border-color: #cbd5e1;
}

.country-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  height: 28px;
  min-height: 28px;
  margin-bottom: 0.75rem;
}

.country-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background-color: #f1f5f9;
  color: #334155;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
  flex-shrink: 0;
}

.country-badge svg {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  max-width: 13px !important;
  color: var(--accent);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.country-transit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #b45309;
  background-color: #fef3c7;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  border: 1px solid #fde68a;
  white-space: nowrap;
  flex-shrink: 0;
}

.country-transit svg {
  width: 13px !important;
  height: 13px !important;
  min-width: 13px !important;
  max-width: 13px !important;
  color: #b45309;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.country-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 0.15rem;
  margin-bottom: 0.35rem;
  line-height: 1.35;
  height: 3.1rem;
  min-height: 3.1rem;
  max-height: 3.1rem;
  display: flex;
  align-items: flex-start;
}

.country-title a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

.country-title a:hover,
.country-card:hover .country-title a {
  color: var(--accent);
}

.country-capital {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 500;
  height: 1.4rem;
  min-height: 1.4rem;
  max-height: 1.4rem;
  margin-bottom: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.country-capital svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  color: var(--accent);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.country-capital strong {
  color: #334155;
  font-weight: 600;
}

.country-card .card-text {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.55;
  height: 3.95rem;
  min-height: 3.95rem;
  max-height: 3.95rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.country-specs {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  margin-top: auto;
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.country-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  height: 1.5rem;
}

.country-spec-row .spec-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #64748b;
  font-weight: 600;
  font-size: 0.775rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.country-spec-row .spec-label svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  color: var(--accent);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.country-spec-row .spec-value {
  color: var(--primary);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.8rem;
  min-width: 0;
  flex: 1 1 auto;
}

.country-spec-row .spec-waiver {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
  flex-shrink: 0;
  margin-left: auto;
}

.country-card .card-link {
  height: 42px;
  padding: 0.65rem 0.95rem;
  background-color: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.country-card .card-link svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  color: var(--accent);
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.2s ease, color 0.2s ease;
}

.country-card .card-link:hover {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.country-card .card-link:hover svg {
  transform: translateX(4px);
  color: #ffffff;
}

/* ==========================================================================
   9. RESPONSIVE SÜTUN DÜZENLERİ (Sidebar & 2-Col Grid)
   ========================================================================== */
.layout-sidebar-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}
@media (max-width: 992px) {
  .layout-sidebar-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.layout-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 900px) {
  .layout-2col-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.country-sidebar-col {
  align-self: stretch;
  height: 100%;
}

.sticky-sidebar {
  position: sticky;
  top: 85px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (max-width: 992px) {
  .sticky-sidebar {
    position: static;
    margin-top: 1.5rem;
  }
}

.sidebar-box {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.sidebar-box:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.sidebar-box-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.sidebar-box-title svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  flex-shrink: 0;
}

.sidebar-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-nav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  background-color: #f8fafc;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.sidebar-nav-item a:hover {
  background-color: #eff6ff;
  color: var(--accent);
  border-color: #bfdbfe;
  padding-left: 0.85rem;
}

.sidebar-nav-item a svg {
  width: 12px !important;
  height: 12px !important;
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.sidebar-nav-item a:hover svg {
  color: var(--accent);
  transform: translateX(3px);
}

.sidebar-trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.8rem;
  color: #334155;
  font-weight: 600;
  line-height: 1.4;
}

.sidebar-trust-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-trust-item svg {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   10. İNTERAKTİF NAVLUN HESAPLAMA MOTORU (rules.md Madde 24, 33)
   ========================================================================== */
.calc-box {
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 2.25rem;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .calc-box {
    padding: 1.5rem;
  }
}

.calc-form-group {
  margin-bottom: 1.25rem;
}
.calc-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.calc-select, .calc-input, .calc-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem; /* 16px iOS auto-zoom koruması */
  background-color: #ffffff;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.calc-select:focus, .calc-input:focus, .calc-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.calc-result-panel {
  background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.calc-result-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 0.75rem;
  color: #fbbf24;
}
.calc-stat-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.calc-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  gap: 1rem;
  transition: all 0.2s ease;
}
.calc-stat:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}
.calc-stat-label {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.calc-stat-label svg {
  width: 18px;
  height: 18px;
  color: #fbbf24;
  flex-shrink: 0;
}
.calc-stat-val-wrap {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  min-width: 0;
}
.calc-stat-val {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}
.calc-stat-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.calc-stat-desc {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.35;
  text-align: right;
  max-width: 260px;
}
.calc-highlight {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.2) 0%, rgba(217, 119, 6, 0.08) 100%);
  border: 1px solid rgba(217, 119, 6, 0.4);
  padding: 1.1rem;
  border-radius: 10px;
  margin: 1rem 0;
  text-align: center;
}
.calc-highlight-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: -0.02em;
}
@media (max-width: 520px) {
  .calc-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0.85rem;
  }
  .calc-stat-label {
    white-space: normal;
  }
  .calc-stat-val-wrap {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }
  .calc-stat-desc {
    text-align: left;
    max-width: 100%;
  }
}

/* ==========================================================================
   11. SSS (FAQ) AKORDEON (rules.md Madde 12)
   ========================================================================== */
.faq-section {
  background-color: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq-list {
  max-width: 850px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background-color: #ffffff;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  gap: 1rem;
  font-family: inherit;
}
.faq-question:hover {
  color: var(--accent);
}
.faq-icon-wrap,
.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.faq-item.active .faq-icon-wrap,
details.faq-item[open] .faq-icon-wrap {
  transform: rotate(180deg);
  background: var(--accent) !important;
  color: #ffffff !important;
}
.faq-item.active .faq-icon,
details.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.active .faq-answer,
details.faq-item[open] .faq-answer {
  display: block !important;
}

/* ==========================================================================
   12. TABLO VE DUYARLI TABLO DÜZENİ
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
}
.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}
.table th, .table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}
.table th {
  background-color: #f8fafc;
  color: var(--primary);
  font-weight: 700;
}
.table tr:hover td {
  background-color: #f1f5f9;
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */
.footer {
  background-color: var(--primary);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.2fr 1fr 1.3fr;
  gap: 2.2rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Kolon 1: Marka & Güven */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}
.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #ffffff;
  padding: 4px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-desc {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  font-size: 0.78rem;
  color: #cbd5e1;
}

/* Kolon Başlıkları */
.footer-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

/* Link Listeleri (Kolon 2 & 3) */
.footer-links,
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links a,
.footer-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 0.15s ease;
  display: inline-block;
}
.footer-links a:hover,
.footer-list a:hover {
  color: var(--accent);
}
.footer-links strong {
  color: #fbbf24;
}

/* Kolon 4: İletişim Öğeleri */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}
.footer-contact-item > svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

/* Alt Telif ve Dil Çubuğu */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-bottom-copy {
  color: #94a3b8;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #94a3b8;
}
.footer-credit::before {
  content: '·';
  margin-right: 0.35rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: bold;
}
.footer-credit-link {
  color: #fbbf24;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.footer-credit-link:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-languages {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   VİDEO GALERİSİ VE OYNATICI STİLLERİ (rules.md uyumlu saf CSS)
   ========================================================================== */
.video-filter-bar {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.video-filter-btn {
  background-color: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border);
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.video-filter-btn:hover,
.video-filter-btn.active {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25);
}
#video-arsivi {
  scroll-margin-top: 90px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  align-items: stretch;
}
@media (max-width: 1040px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 680px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.video-card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.video-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0b1120;
  overflow: hidden;
}
.video-media-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-thumbnail-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  display: block;
}
.video-thumbnail-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.video-card:hover .video-thumbnail-trigger img {
  transform: scale(1.03);
}
.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.video-thumbnail-trigger:hover .video-play-overlay {
  background: rgba(15, 23, 42, 0.15);
}
.play-btn-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: rgba(217, 119, 6, 0.95);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.play-btn-circle svg {
  margin-left: 3px;
}
.video-thumbnail-trigger:hover .play-btn-circle {
  transform: scale(1.1);
  background-color: #b45309;
}
.video-duration-tag {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.video-badge-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  text-transform: uppercase;
}
.video-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.video-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
  line-height: 1.35;
}
.video-card-title-en {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.85rem;
}
.video-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.video-highlights-list {
  list-style: none;
  margin-bottom: 1.25rem;
  font-size: 0.83rem;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.video-highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}
.video-highlights-list li::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  margin-top: 3px;
}
.video-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.video-tag-pill {
  background-color: #f1f5f9;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}
.video-card-actions {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   DİL SEÇİCİ & ÇOK DİLLİ TASARIM (Language Switcher - TR, EN, FR, PT)
   ========================================================================== */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #f8fafc;
  border: 1px solid var(--border);
  padding: 0.42rem 0.65rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.lang-toggle:hover,
.lang-switcher.is-open .lang-toggle {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  color: var(--accent);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  margin-top: 0;
  padding: 0.45rem;
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.18), 0 8px 16px -4px rgba(15, 23, 42, 0.08);
  min-width: 175px;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 9999;
}

/* Görünmez Hover Köprüsü: Menüye geçerken hover kopmasını önler */
.lang-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher:focus-within .lang-dropdown,
.lang-switcher.is-open .lang-dropdown {
  display: flex !important;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.15s ease;
}

.lang-item:hover {
  background-color: #f8fafc;
  color: var(--accent);
}

.lang-item.active {
  background-color: #fef3c7;
  color: #92400e;
  font-weight: 700;
}

.lang-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  background-color: #f1f5f9;
  color: var(--text-muted);
  min-width: 24px;
  line-height: 1.2;
}

.lang-item.active .lang-badge {
  background-color: var(--accent);
  color: #ffffff;
}

.lang-item .lang-name {
  flex: 1;
}

.lang-item .lang-check {
  color: var(--accent);
  display: inline-flex;
  align-items: center;
}

/* Mobil Dil Seçici Kutusu (Offcanvas) */
.mobile-lang-box {
  padding: 0 0 1rem 0;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.mobile-lang-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.mobile-lang-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.mobile-lang-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  padding: 0.5rem 0.65rem;
  background-color: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-lang-btn:hover {
  border-color: var(--accent);
  background-color: #ffffff;
}

.mobile-lang-btn.active {
  background-color: #fef3c7;
  border-color: var(--accent);
  color: #92400e;
  font-weight: 700;
}

/* Footer Dil Seçici Hapları (Pills) */
.footer-lang-pills {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.footer-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  text-decoration: none;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.footer-lang-pill:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.footer-lang-pill.active {
  background: rgba(217, 119, 6, 0.3);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.6);
  font-weight: 700;
}

.footer-pill-code {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.footer-lang-pill.active .footer-pill-code {
  background: var(--accent);
  color: #ffffff;
}


/* ==========================================================================
   COIDET B2B EXPORT CATALOG & RFQ EXTENSIONS
   rules.md & Design System standards
   ========================================================================== */

/* 1. Kategori ve Ürün Gridleri */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.catalog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.catalog-card-img-wrap {
  position: relative;
  display: block;
  width: 100%;
  height: 220px;
  background: #f1f5f9;
  overflow: hidden;
  cursor: pointer;
}

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

.catalog-card:hover .catalog-card-img {
  transform: scale(1.05);
}

.catalog-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: #fbbf24;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.catalog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.catalog-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.catalog-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.catalog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.catalog-stat-pill {
  font-size: 0.8rem;
  color: var(--primary-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.catalog-moq-box {
  margin-bottom: 1.15rem;
  background: #f8fafc;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.catalog-moq-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.catalog-moq-val {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-card-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem 1rem;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.btn-card-action:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25);
}

/* 2. Ürün Kartları Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.product-card-img-wrap {
  width: 100%;
  height: 200px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  overflow: hidden;
}

.product-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card-img {
  transform: scale(1.08);
}

.product-card-body {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.9rem;
  line-height: 1.4;
}

.product-card-source {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.btn-rfq-card {
  margin-top: auto;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-rfq-card:hover {
  background: var(--primary-light);
  color: #ffffff;
}

/* 3. Download Center Kartları */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.download-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.download-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.download-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
}

.download-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.download-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.download-size-badge {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-download-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #f1f5f9;
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--border);
}

.btn-download-action:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* 4. Video Showroom Kartları */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.video-card-thumb-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  background: #0f172a;
  overflow: hidden;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumb-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  pointer-events: none;
}

.video-card:hover .video-thumb-preview {
  transform: scale(1.06);
}

.video-play-btn {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
  pointer-events: none;
}

.video-card:hover .video-play-btn {
  transform: scale(1.15);
  background: #f59e0b;
}

.video-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.video-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* 5. Modern HTML5 Video Modal */
.video-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.video-modal-backdrop.active {
  display: flex;
}

.video-modal-container {
  width: 100%;
  max-width: 900px;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}

.video-modal-close:hover {
  background: rgba(245, 158, 11, 0.9);
}

.video-modal-player {
  width: 100%;
  max-height: 70vh;
  display: block;
  outline: none;
}

/* 6. RFQ Akıllı Konteyner Teklif Modalı */
.rfq-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  z-index: 9998;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.rfq-modal-backdrop.active {
  display: flex;
}

.rfq-modal-box {
  width: 100%;
  max-width: 600px;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.rfq-modal-header {
  background: var(--primary);
  color: #ffffff;
  padding: 1.5rem;
  position: relative;
}

.rfq-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.rfq-modal-header p {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

.rfq-modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: #94a3b8;
  background: transparent;
  border: none;
  cursor: pointer;
}

.rfq-modal-close-btn:hover {
  color: #ffffff;
}

.rfq-modal-body {
  padding: 1.5rem;
}

.rfq-form-group {
  margin-bottom: 1.15rem;
}

.rfq-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.rfq-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: #f8fafc;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.rfq-input:focus {
  outline: none;
  border-color: var(--primary-light);
  background: #ffffff;
}

.rfq-btn-submit {
  width: 100%;
  padding: 0.85rem;
  background: #25d366;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.rfq-btn-submit:hover {
  background: #1eb954;
}

/* 7. Teknik Şartname Tablosu */
.spec-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.spec-table th {
  background: #f1f5f9;
  color: var(--primary);
  font-weight: 800;
  padding: 0.85rem 1.15rem;
  border-bottom: 2px solid var(--border);
}

.spec-table td {
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}

.spec-table tr:nth-child(even) td {
  background: #f8fafc;
}

.spec-table tr:hover td {
  background: #eff6ff;
}

/* 8. COIDET WhatsApp Feedback Toast & Mobile Form Usability */
.coidet-toast {
  position: fixed;
  bottom: 85px;
  right: 25px;
  background: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 99999;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  border: 1px solid rgba(37, 211, 102, 0.5);
}

.coidet-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.coidet-toast svg {
  color: #25d366;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .rfq-input, select.rfq-input, textarea.rfq-input {
    font-size: 16px !important; /* iOS Safari auto-zoom engelleme */
  }
  .coidet-toast {
    bottom: 80px;
    right: 15px;
    left: 15px;
    justify-content: center;
    text-align: center;
  }
}

