:root {
  /* ── KAYRA Kurumsal Kimlik palette ── */
  /* Beyaz (60%) */
  --white:    #ffffff;
  --white-2:  #fafafa;
  --white-3:  #f3f4f6;
  --bg:       #ffffff;
  --bg-alt:   #f7f8fa;
  --surface:  #ffffff;
  --cream:    #fafafa;
  --warm-bg:  #fafafa;

  /* Lacivert (30%) — primary dark */
  --navy:     #1a2540;
  --navy-2:   #14203b;
  --navy-3:   #0f1729;
  --dark:     #1a2540;
  --dark2:    #14203b;
  --mid:      #2d3a5f;
  --text:     #1a2540;
  --text-sub: #3a4258;

  /* Koyu Gri / Siyah (10%a) — depth & power */
  --black:    #0d1118;
  --black-2:  #1a1f2a;

  /* Açık Gri (10%b) — technological accent */
  --gray:        #8a93a8;
  --gray-2:      #6a7387;
  --gray-light:  #b8bcc9;
  --gray-pale:   #e7eaf0;
  --gray-pale-2: #f1f3f7;
  --muted:       #7a839a;

  /* legacy aliases remapped — keep older selectors working */
  --amber:    #1a2540;
  --amber2:   #14203b;
  --amber3:   #b8bcc9;
  --orange:   #1a2540;
  --orange2:  #14203b;
  --red:      #0d1118;
  --rose:     #14203b;
  --sand:     #e7eaf0;
  --warm:        #1a2540;
  --warm-light:  #6a7387;
  --warm-pale:   #f1f3f7;
  --green:        #1a2540;
  --green-2:      #14203b;
  --green-3:      #0f1729;
  --green-light:  #b8bcc9;
  --green-mid:    #1a2540;
  --green-pale:   #e7eaf0;

  --border:        rgba(26,37,64,0.10);
  --border-strong: rgba(26,37,64,0.28);

  --shadow-sm: 0 1px 3px rgba(13,17,24,0.06);
  --shadow-md: 0 4px 16px rgba(13,17,24,0.10);
  --shadow-lg: 0 8px 32px rgba(13,17,24,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  height: 76px;
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
}
.nav-inner {
  max-width: 1380px;
  width: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.logo {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.18em;
  color: var(--navy);
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
}
.logo-img {
  height: 58px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.05);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex: 1;
}
.nav-item { position: relative; }
.nav-btn {
  background: none;
  border: none;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.4rem 0;
  cursor: pointer;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  text-transform: none;
}
.nav-btn:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}
.nav-btn.active {
  color: var(--navy);
  border-bottom-color: var(--navy);
  font-weight: 600;
}
/* DROPDOWN */
.nav-item { padding-bottom: 8px; margin-bottom: -8px; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 100;
}
/* invisible hover-bridge so cursor never leaves the hover zone between button and dropdown */
.dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.dropdown:hover {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown-group { padding: 0.3rem 0; }
.dropdown-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0.3rem 0.75rem 0.15rem;
}
.dropdown-link {
  display: block;
  padding: 0.42rem 0.75rem;
  font-size: 0.84rem;
  color: var(--text-sub);
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.18s ease;
  position: relative;
}
.dropdown-link::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.18rem;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.22s ease;
}
.dropdown-link:hover { color: var(--navy); }
.dropdown-link:hover::after { transform: scaleX(1); }
.dropdown-divider { border: none; border-top: 1px solid var(--border); margin: 0.3rem 0; }
.dropdown-toggle { display: none; }

/* ── PAGES ── */
.page { display: none; min-height: 100vh; padding-top: 76px; animation: fadeUp 0.4s ease; }
.page.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── HERO ── */
.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem 3rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg,
    #0d1118 0%,
    #14203b 25%,
    #1a2540 55%,
    #2d3a5f 80%,
    #6a7387 100%
  );
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
@media(max-width: 768px) {
  .hero-video { display: none; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg,
    rgba(13,17,24,0.78) 0%,
    rgba(20,32,59,0.70) 25%,
    rgba(26,37,64,0.65) 55%,
    rgba(45,58,95,0.58) 80%,
    rgba(106,115,135,0.50) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 2;
}
.hero > *:not(.hero-video):not(.hero-overlay):not(.hero-grid) {
  position: relative;
  z-index: 3;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  position: relative;
}
.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(4rem, 14vw, 9rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  line-height: 1;
  position: relative;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
}
.hero h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.2rem, 4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.78);
  position: relative;
  margin-bottom: 1.75rem;
}
.hero p {
  max-width: 520px;
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.75;
  position: relative;
  margin-bottom: 2.5rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; margin-bottom: 3.5rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  color: #fff;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(13,17,24,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(13,17,24,0.5); }
.btn-secondary {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.20); }
.stats-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
}
.stat { text-align: center; }
.stat-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
}
.stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.6); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.15rem; }
.stat-div { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* ── SECTION BANNER ── */
.section-banner {
  background: linear-gradient(135deg, #0f1729 0%, #1a2540 50%, #243154 100%);
  padding: 3.5rem 2rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.section-banner h1 {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.section-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
}
.section-banner .breadcrumb {
  font-size: 0.72rem; color: rgba(255,255,255,0.6); letter-spacing: 0.08em;
  margin-bottom: 0.6rem; position: relative;
}
.section-banner h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700; letter-spacing: 0.04em; color: #fff; position: relative;
}
.banner-sub { color: rgba(255,255,255,0.78); font-size: 0.95rem; margin-top: 0.5rem; position: relative; }

/* ── CONTENT ── */
.content { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem 5rem; }

/* ── TABS ── */
.tab-bar {
  display: flex; gap: 0.5rem; border-bottom: 2px solid var(--border);
  margin-bottom: 2.5rem; flex-wrap: wrap;
}
.tab-btn {
  background: none; border: none; border-bottom: 2px solid transparent;
  color: var(--muted); font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  font-weight: 500; padding: 0.75rem 1.2rem; cursor: pointer; transition: all 0.2s; margin-bottom: -2px;
}
.tab-btn:hover { color: var(--navy); border-bottom-color: var(--navy); }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--navy); font-weight: 600; }
.tab-panel { display: none; animation: fadeUp 0.3s ease; }
.tab-panel.active { display: block; }

/* ── INFO CARDS ── */
.info-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 2rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
}
.info-card h3 {
  font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700;
  margin-bottom: 0.75rem; color: var(--navy);
}
.info-card p { color: var(--text-sub); line-height: 1.8; font-size: 0.93rem; }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem; margin-top: 2rem;
}
.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; cursor: pointer;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--navy); box-shadow: var(--shadow-lg); }
.product-img-wrap {
  height: 460px; position: relative; overflow: hidden;
  background: #ffffff;
  cursor: pointer;
}
.product-img-wrap img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  padding: 0;
  background: #ffffff;
}
.product-img-wrap img[src*="tgd-1"] {
  object-fit: contain;
  object-position: center;
  padding: 1rem;
}
.product-hover-overlay { display: none; }
.product-img-label {
  position: absolute; top: 12px; left: 12px;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em;
  color: var(--navy); background: rgba(255,255,255,0.92); padding: 0.25rem 0.6rem;
  border-radius: 6px; backdrop-filter: blur(4px);
}
.product-body { padding: 1.4rem 1.5rem 1.5rem; }
.product-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); background: var(--gray-pale); padding: 0.2rem 0.6rem; border-radius: 5px;
  display: inline-block; margin-bottom: 0.6rem;
}
.product-body h3 {
  font-family: 'Rajdhani', sans-serif; font-size: 1.35rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.5rem;
}
.product-body p { color: var(--text-sub); font-size: 0.88rem; line-height: 1.7; }

/* ── MODULE GRID ── */
.module-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem; margin-top: 1rem;
}
.module-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.module-card:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.module-photo-wrap {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 10px;
  margin-bottom: 1rem;
  background: #ffffff;
  overflow: hidden;
  cursor: zoom-in;
}
.module-card .module-photo {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  background: #ffffff;
  padding: 0.5rem;
  transition: transform 0.35s ease;
  transform-origin: center center;
  will-change: transform, transform-origin;
  display: block;
}
.module-photo-wrap.zooming .module-photo {
  transform: scale(2.4);
  transition: transform 0.25s ease;
}
/* KAYGÜK ve TPDM-1 görselleri minimum kenar boşluğuna sahip — contain ile yerleşsin, kırpılmasın */
.module-card .module-photo[src*="kayguk"] {
  object-fit: contain;
  padding: 0.5rem;
  background: #ffffff;
}
.module-card .module-photo[src*="tpdm-1"] {
  object-fit: contain;
  object-position: center top;
  padding: 0;
  background: #ffffff;
}
/* If a module-grid contains photos, give the cards more breathing room */
.module-grid:has(.module-photo) {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.module-card h4 {
  font-family: 'Rajdhani', sans-serif; font-size: 1.1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.5rem;
}
.module-card p { color: var(--text-sub); font-size: 0.85rem; line-height: 1.65; }

.badge {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); background: var(--gray-pale); border: 1px solid rgba(26,37,64,0.20);
  padding: 0.18rem 0.55rem; border-radius: 5px; display: inline-block; margin-bottom: 0.6rem;
}

/* ── SUBSECTION TITLE ── */
.subsection-title {
  font-family: 'Rajdhani', sans-serif; font-size: 1.15rem; font-weight: 700;
  color: var(--navy); letter-spacing: 0.06em; text-transform: uppercase;
  margin: 2.5rem 0 1rem; padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--navy);
  display: inline-block;
}

/* ── MODULE TABLE ── */
.module-table {
  width: 100%; border-collapse: collapse; margin-top: 1rem;
  background: var(--surface); border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.module-table th {
  background: linear-gradient(90deg,var(--black),var(--navy));
  color: #fff; font-family: 'Rajdhani', sans-serif; font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.08em; padding: 0.9rem 1rem; text-align: left;
}
.module-table td {
  padding: 0.75rem 1rem; font-size: 0.87rem; color: var(--text-sub);
  border-bottom: 1px solid var(--border);
}
.module-table tr:last-child td { border-bottom: none; }
.module-table tr:nth-child(even) td { background: var(--bg-alt); }
.module-table td:first-child { font-weight: 600; color: var(--navy); }

/* ── TAYIS/KAYKA ── */
.tayis-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.control-photo { width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.control-photo img { width: 100%; height: auto; display: block; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.5rem; box-shadow: var(--shadow-sm); transition: border-color 0.2s, transform 0.2s;
}
.contact-item:hover { border-color: var(--navy); transform: translateY(-2px); }
.contact-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--black) 100%);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0; color: #fff; font-weight: 700;
}
.contact-label { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.contact-value { font-weight: 600; font-size: 0.95rem; color: var(--navy); margin-top: 0.2rem; }

/* ── GALLERY ── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem; margin-top: 1.5rem;
}
.gallery-item {
  aspect-ratio: 16/10; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); position: relative; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s; box-shadow: var(--shadow-sm);
  background: #ffffff;
}
.gallery-item:hover { transform: scale(1.025); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; padding: 0; }
.gallery-item img[src*="kayguk"] { object-fit: contain; padding: 0.75rem; }
.gallery-label {
  position: absolute; bottom: 10px; left: 12px;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 0.85rem;
  background: rgba(255,255,255,0.92); color: var(--navy); padding: 0.2rem 0.6rem;
  border-radius: 6px; letter-spacing: 0.06em;
}

/* ── GALLERY GRID NEW (1 hero + 6 smaller) ── */
.gallery-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.gallery-grid-new .gallery-item {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}
.gallery-grid-new .gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}
.gallery-grid-new .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-grid-new .gallery-hero {
  grid-column: 1 / -1;
}
@media(max-width: 768px) {
  .gallery-grid-new { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
}
@media(max-width: 480px) {
  .gallery-grid-new { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 3rem 2rem 2rem; background: var(--black); }
.footer-inner {
  max-width: 1280px; margin: auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr 1fr 1.1fr; gap: 1.75rem;
}
.footer-brand .logo { font-size: 1.4rem; margin-bottom: 0.75rem; color: #fff; background: transparent; }
.footer-brand .logo-img { background: transparent; mix-blend-mode: normal; filter: none; }
.footer-logo-img { height: 80px; max-width: 240px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.82rem; line-height: 1.7; }
.footer-col h5 {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray-light); margin-bottom: 0.75rem; font-weight: 700;
}
.footer-col a {
  display: block; font-size: 0.83rem; color: rgba(255,255,255,0.55); text-decoration: none;
  padding: 0.4rem 0; cursor: pointer; transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1100px; margin: 2rem auto 0; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 0.5rem;
}

/* ── SPONSOR ── */
.sponsor-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-pale) 100%);
  border: 2px dashed var(--border-strong); border-radius: 18px;
  padding: 3rem 2rem; text-align: center;
}
.sponsor-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem; color: var(--navy); }
.sponsor-card p { color: var(--text-sub); max-width: 500px; margin: 0 auto 1.75rem; line-height: 1.7; }

/* ── AIRCRAFT STATS GRID ── */
.aircraft-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(135deg, #f7f8fa 0%, #e7eaf0 100%);
  border-radius: 16px;
  padding: 1.75rem 1rem;
  margin: 2rem 0 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.aircraft-stats-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='160' viewBox='0 0 600 160' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%231a2540' stroke-width='0.6' opacity='0.08'%3E%3Cpath d='M0 80 Q150 30 300 80 T600 80'/%3E%3Cpath d='M0 90 Q150 40 300 90 T600 90'/%3E%3Cpath d='M0 100 Q150 50 300 100 T600 100'/%3E%3Cpath d='M0 110 Q150 60 300 110 T600 110'/%3E%3Cpath d='M0 120 Q150 70 300 120 T600 120'/%3E%3Cpath d='M0 70 Q150 20 300 70 T600 70'/%3E%3Cpath d='M0 60 Q150 10 300 60 T600 60'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat;
  pointer-events: none;
}
.aircraft-stat-card {
  text-align: center;
  padding: 0.6rem 0.75rem;
  border-right: 1px solid rgba(26,37,64,0.10);
  position: relative;
  z-index: 1;
}
.aircraft-stat-card:last-child { border-right: none; }
.aircraft-stat-icon {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.55;
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.aircraft-stat-value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.45rem;
}
.aircraft-stat-label {
  font-size: 0.78rem;
  color: var(--text-sub);
  letter-spacing: 0.02em;
}
@media(max-width: 768px) {
  .aircraft-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .aircraft-stat-card { border-right: none; border-bottom: 1px solid rgba(26,37,64,0.10); padding-bottom: 1rem; }
  .aircraft-stat-card:nth-child(2n) { border-right: none; }
  .aircraft-stat-card:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0.6rem; }
  .aircraft-stat-value { font-size: 1.9rem; }
}

/* ── ANIMATED MARQUEE BANNER ── */
.marquee-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0e16 0%, #14203b 35%, #1a2540 65%, #0a0e16 100%);
  padding: 3.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee-banner::before,
.marquee-banner::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-banner::before {
  left: 0;
  background: linear-gradient(to right, #0a0e16 0%, transparent 100%);
}
.marquee-banner::after {
  right: 0;
  background: linear-gradient(to left, #0a0e16 0%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  align-items: center;
  white-space: nowrap;
}
.marquee-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.92);
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
}
.marquee-text.outline {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.55);
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
}
.marquee-sep {
  width: 14px; height: 14px;
  border: 1.5px solid rgba(255,255,255,0.45);
  transform: rotate(45deg);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── LIGHTBOX ── */
.lightbox-overlay {
  position: fixed; inset: 0;
  background: rgba(13,17,24,0.92); backdrop-filter: blur(8px);
  z-index: 3000; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1rem; padding: 2rem;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lightbox-img {
  max-width: 92vw; max-height: 80vh;
  border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  background: #fff; object-fit: contain;
}
.lightbox-caption {
  font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 1rem;
  color: #fff; letter-spacing: 0.08em; text-transform: uppercase;
}
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; width: 42px; height: 42px; border-radius: 50%;
  font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); transform: rotate(90deg); }

/* ── MOBILE HAMBURGER ── */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  margin-left: auto;
  z-index: 1100;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s cubic-bezier(0.4,0,0.2,1);
}
nav.menu-open .mobile-toggle span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
nav.menu-open .mobile-toggle span:nth-child(2) {
  opacity: 0;
}
nav.menu-open .mobile-toggle span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ── TABLET (≤1024px) ── */
@media(max-width: 1024px) {
  nav { padding: 0 1.5rem; }
  .nav-links { gap: 1rem; }
  .nav-btn { font-size: 0.85rem; }
  .content { padding: 2rem 1.25rem 4rem; }
  .product-img-wrap { height: 360px; }
  .module-photo-wrap { height: 260px; }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1fr; gap: 1.25rem; }
}

/* ── LARGE MOBILE / SMALL TABLET (≤768px) ── */
@media(max-width: 768px) {
  body { font-size: 15px; }

  /* Mobile nav: hamburger + full-screen menu overlay */
  nav { height: 64px; padding: 0 1rem; }
  .logo { position: relative; z-index: 1100; }
  .logo-img { height: 38px; max-width: 140px; }
  .mobile-toggle { display: flex; }
  body.nav-open { overflow: hidden; }

  .nav-links {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    z-index: 1050;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: #ffffff;
    padding: 84px 1.5rem 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s cubic-bezier(0.4,0,0.2,1),
                transform 0.3s cubic-bezier(0.4,0,0.2,1),
                visibility 0s linear 0.3s;
    will-change: opacity, transform;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  nav.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s cubic-bezier(0.4,0,0.2,1),
                transform 0.3s cubic-bezier(0.4,0,0.2,1);
  }
  .nav-item {
    width: 100%;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .nav-item:last-child { border-bottom: none; }
  .nav-btn {
    flex: 1 1 auto;
    width: auto;
    text-align: left;
    padding: 1rem 0.5rem;
    font-size: 1rem;
    border-bottom: none;
  }
  .nav-btn.active, .nav-btn:hover { border-bottom: none; }

  /* Chevron accordion toggle for items with a dropdown */
  .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
  }
  .dropdown-toggle::after {
    content: '';
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--navy);
    border-bottom: 2px solid var(--navy);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
  }
  .nav-item.open .dropdown-toggle::after { transform: rotate(225deg); }

  .dropdown {
    position: static;
    opacity: 1;
    pointer-events: none;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 0.5rem;
    background: transparent;
    flex-basis: 100%;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1);
  }
  .nav-item.open .dropdown {
    pointer-events: all;
    max-height: 480px;
    padding-bottom: 0.5rem;
  }
  .dropdown-link { padding: 0.85rem 0.5rem; font-size: 0.9rem; min-height: 44px; display: flex; align-items: center; }
  .dropdown-link::after { display: none; }

  /* Page padding adjusts to new nav height */
  .page { padding-top: 64px; }
  .hero { min-height: calc(100vh - 64px); padding: 3rem 1.25rem 2rem; }
  .hero h1 { font-size: clamp(3rem, 14vw, 6rem); letter-spacing: 0.1em; }
  .hero h2 { font-size: clamp(1rem, 4vw, 1.5rem); letter-spacing: 0.3em; }
  .hero p { font-size: 0.95rem; padding: 0 0.5rem; }
  .hero-cta { gap: 0.75rem; margin-bottom: 2.5rem; width: 100%; max-width: 320px; }
  .hero-cta button { flex: 1 1 0; }
  .btn-primary, .btn-secondary { padding: 0.85rem 1.25rem; font-size: 0.85rem; min-height: 44px; }
  .stats-row { gap: 1.25rem; }
  .stat-value { font-size: 1.6rem; }
  .stat-div { display: none; }

  .section-banner { padding: 2.5rem 1.25rem 2rem; }
  .section-banner h1 { font-size: clamp(1.5rem, 7vw, 2.4rem); }

  .content { padding: 2rem 1rem 3rem; }
  .info-card { padding: 1.5rem 1.25rem; }
  .info-card h3 { font-size: 1.2rem; }

  .product-img-wrap { height: 280px; }
  .product-body { padding: 1.2rem; }
  .module-grid { grid-template-columns: 1fr; gap: 1rem; }
  .module-grid:has(.module-photo) { grid-template-columns: 1fr; }
  .module-photo-wrap { height: 240px; }

  /* Tables horizontally scrollable */
  .module-table { display: block; overflow-x: auto; white-space: nowrap; }
  .module-table thead, .module-table tbody { display: table; width: 100%; }
  .module-table th, .module-table td { padding: 0.6rem 0.75rem; font-size: 0.82rem; white-space: normal; }

  .tab-bar { gap: 0.25rem; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .tab-bar::-webkit-scrollbar { display: none; }
  .tab-btn { padding: 0.85rem 1rem; font-size: 0.85rem; flex-shrink: 0; min-height: 44px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .tayis-layout { grid-template-columns: 1fr; }

  .marquee-banner { padding: 2.25rem 0; }
  .marquee-banner::before, .marquee-banner::after { width: 60px; }
  .marquee-text { font-size: clamp(1.4rem, 6vw, 2.2rem); }
  .marquee-sep { width: 10px; height: 10px; }

  .sponsor-card { padding: 2rem 1.25rem; }
  .sponsor-card h3 { font-size: 1.3rem; }

  /* Lightbox */
  .lightbox-img { max-width: 96vw; max-height: 75vh; }
  .lightbox-caption { font-size: 0.85rem; }
}

/* ── MOBILE (≤480px) ── */
@media(max-width: 480px) {
  .hero { padding: 2rem 1rem 1.5rem; }
  .hero-badge { font-size: 0.65rem; padding: 0.35rem 0.85rem; margin-bottom: 1.5rem; }
  .hero h1 { font-size: clamp(2.5rem, 13vw, 4rem); letter-spacing: 0.08em; }
  .hero h2 { font-size: clamp(0.85rem, 3.5vw, 1.2rem); }
  .hero p { font-size: 0.9rem; margin-bottom: 2rem; }
  .stats-row { gap: 0.85rem; }
  .stat-value { font-size: 1.35rem; }
  .stat-label { font-size: 0.6rem; }

  .product-img-wrap { height: 220px; }
  .product-body { padding: 1rem; }
  .product-body h3 { font-size: 1.1rem; }
  .product-body p { font-size: 0.82rem; }
  .module-photo-wrap { height: 200px; }

  .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.4rem; font-size: 0.72rem; }

  .marquee-banner { padding: 1.6rem 0; }
  .marquee-text { font-size: clamp(1.1rem, 5vw, 1.6rem); }

  .aircraft-stats-grid { padding: 1.25rem 0.6rem; }
  .aircraft-stat-value { font-size: 1.55rem; }
  .aircraft-stat-icon { font-size: 0.6rem; }
  .aircraft-stat-label { font-size: 0.68rem; }

  .contact-icon { width: 38px; height: 38px; font-size: 0.85rem !important; }
  .contact-item { padding: 1.1rem; }
  .contact-value { font-size: 0.85rem; }

  .section-banner { padding: 2rem 1rem 1.5rem; }
  .breadcrumb { font-size: 0.66rem; }
  .banner-sub { font-size: 0.85rem; }

  .info-card { padding: 1.25rem 1rem; }
  .info-card p { font-size: 0.86rem; line-height: 1.7; }

  .subsection-title { font-size: 1rem; }
}

/* ── TOUCH DEVICES: disable hover-only effects ── */
@media (hover: none) {
  .product-img-wrap { cursor: default; }
  .product-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .module-card:hover { transform: none; }
  .module-photo-wrap.zooming .module-photo { transform: none; }
  .module-photo-wrap { cursor: pointer; }
  .gallery-item:hover { transform: none; }
  .gallery-grid-new .gallery-item:hover { transform: none; }
  .product-card:hover .product-img-wrap img { transform: none; }
  .marquee-track { animation-duration: 40s; }
}
