/* ==========================================================
   UCAKLAR.NET - Global Aircraft Marketplace Design System
   Aviation Luxury & Intelligence - Deep Navy / Sapphire / Gold
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-main: #060d17;
  --bg-surface: #0b1726;
  --bg-card: #0f1f33;
  --bg-card-hover: #142740;
  --border-subtle: #192e47;
  --border-highlight: #28476e;
  
  --accent-blue: #0284c7;
  --accent-blue-hover: #0369a1;
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-emerald: #10b981;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.25);
  --shadow-gold-glow: 0 0 20px rgba(245, 158, 11, 0.25);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Base Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================
   HEADER & NAVIGATION
   Requirement:
   - Mobile: Hamburger menu
   - Desktop: Menu strictly BELOW logo (as the menu is long)
   ========================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 13, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

/* Top Header Bar: Logo, Search, Contact, Currencies, Login */
.header-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(25, 46, 71, 0.6);
  gap: 20px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-symbol {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.1;
}

.brand-name span {
  color: var(--accent-gold);
}

.brand-tagline {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

/* Global Quick Search in Header */
.header-quick-search {
  flex: 1;
  max-width: 440px;
  position: relative;
}

.header-quick-search input {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 10px 16px 10px 42px;
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: all 0.2s ease;
}

.header-quick-search input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.header-quick-search i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
}

/* Header Action Tools */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.phone-contact-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  color: #34d399;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.phone-contact-pill:hover {
  background: rgba(16, 185, 129, 0.2);
  transform: translateY(-1px);
}

.phone-contact-pill i {
  font-size: 14px;
}

.lang-currency-toggles {
  display: flex;
  align-items: center;
  gap: 6px;
}

.select-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.select-pill:hover {
  border-color: var(--accent-blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.5);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #0b1726;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-highlight);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--bg-surface);
  border-color: var(--accent-blue);
  color: #ffffff;
}

/* ==========================================================
   DESKTOP MENU ROW (STRICTLY BELOW LOGO)
   ========================================================== */
.header-nav-row {
  display: block;
  background: rgba(11, 23, 38, 0.85);
  border-top: 1px solid rgba(25, 46, 71, 0.4);
}

.desktop-nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.desktop-nav-menu::-webkit-scrollbar {
  display: none;
}

.desktop-nav-item {
  position: relative;
  flex-shrink: 0;
}

.desktop-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.desktop-nav-link i {
  font-size: 12px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.desktop-nav-link:hover {
  color: #ffffff;
  background: rgba(2, 132, 199, 0.15);
}

.desktop-nav-link:hover i {
  color: var(--accent-gold);
}

.desktop-nav-item.highlight-link .desktop-nav-link {
  color: var(--accent-gold);
  font-weight: 600;
}

.desktop-nav-item.highlight-link .desktop-nav-link i {
  color: var(--accent-gold);
}

/* Mobile Hamburger Toggle */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================
   MOBILE OFF-CANVAS DRAWER
   ========================================================== */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 2001;
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.mobile-close-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-contact-box {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-contact-title {
  font-size: 11px;
  text-transform: uppercase;
  color: #34d399;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.mobile-contact-number {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
}

.mobile-nav-list a i {
  width: 20px;
  color: var(--accent-blue);
  font-size: 16px;
}

.mobile-nav-list a:hover {
  background: var(--bg-card);
  color: #fff;
}

/* ==========================================================
   HERO SECTION
   ========================================================== */
.hero-section {
  position: relative;
  min-height: 560px;
  padding: 70px 0 90px;
  background: radial-gradient(circle at 50% 20%, rgba(2, 132, 199, 0.18) 0%, rgba(6, 13, 23, 0) 70%),
              linear-gradient(180deg, #07101c 0%, #060d17 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(2, 132, 199, 0.35);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  color: #38bdf8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================
   HERO SEARCH BOX & 4 MAIN TABS
   ========================================================== */
.hero-search-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.search-tabs-nav {
  display: flex;
  background: rgba(15, 31, 51, 0.7);
  border-bottom: 1px solid var(--border-subtle);
}

.search-tab-btn {
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  position: relative;
}

.search-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.search-tab-btn.active {
  color: #fff;
  background: var(--bg-surface);
}

.search-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-gold) 100%);
}

.tab-pane {
  display: none;
  padding: 24px;
}

.tab-pane.active {
  display: block;
}

.search-grid-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) auto;
  gap: 14px;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.form-control {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}

.form-control:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

/* AI Natural Language Search Box */
.ai-search-box {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ai-search-box input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 15px;
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.ai-search-box input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.25);
}

/* ==========================================================
   STATS BAR
   ========================================================== */
.stats-bar {
  padding: 32px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
}

.stat-number span {
  color: var(--accent-gold);
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ==========================================================
   SECTIONS & SECTION HEADERS
   ========================================================== */
.section {
  padding: 70px 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-title-wrap h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==========================================================
   AIRCRAFT CARD
   ========================================================== */
.aircraft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.aircraft-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.aircraft-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-md);
}

.card-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #02070d;
}

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

.aircraft-card:hover .card-image-wrap img {
  transform: scale(1.05);
}

.card-badge-verified {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(16, 185, 129, 0.9);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-badge-deal {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(2, 132, 199, 0.9);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
  color: #fff;
}

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

.card-specs-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
}

.spec-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-cell-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-cell-value {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
}

.card-footer-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
}

.card-price-wrap {
  display: flex;
  flex-direction: column;
}

.card-price-label {
  font-size: 11px;
  color: var(--text-muted);
}

.card-price-value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-gold);
}

/* ==========================================================
   EMPTY LEGS CARDS
   ========================================================== */
.empty-leg-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all 0.2s;
  margin-bottom: 14px;
}

.empty-leg-card:hover {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
}

.route-badge-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.route-airport {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.route-arrow {
  color: var(--accent-gold);
  font-size: 18px;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: #03070d;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 20px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 18px;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 12px;
}

.footer-contact-item i {
  color: var(--accent-blue);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(25, 46, 71, 0.5);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================== */
@media (max-width: 1024px) {
  .header-nav-row {
    display: none; /* Mobile/tablet uses hamburger drawer */
  }

  .hamburger-btn {
    display: flex;
  }

  .header-quick-search {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 32px;
  }

  .search-grid-form {
    grid-template-columns: 1fr;
  }

  .ai-search-box {
    flex-direction: column;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .empty-leg-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .phone-contact-pill span {
    display: none;
  }
}
