/* 
  SeaFly Design System 
  Concept: Quiet Luxury
*/

:root {
  /* Palette */
  --color-primary: #0A192F;
  /* Deep Navy Blue */
  --color-secondary: #8892B0;
  /* Titanium Grey */
  --color-accent: #E6E6E6;
  /* Platinum White (CTA) */
  --color-accent-hover: #ffffff;
  /* Brighter white */
  --color-dark-bg: #020C1B;
  --color-light-bg: #F5F7FA;
  /* Off-White */
  --color-white: #ffffff;

  /* Text */
  --text-primary: #CCD6F6;
  /* Light Grey for dark bg */
  --text-secondary: #8892B0;
  --text-dark: #112240;
  /* Dark for light bg */

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  /* 8px */
  --spacing-sm: 1rem;
  /* 16px */
  --spacing-md: 2rem;
  /* 32px */
  --spacing-lg: 4rem;
  /* 64px */
  --spacing-xl: 8rem;
  /* 128px */

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-light-bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-xl) 0;
}

.bg-light {
  background-color: var(--color-light-bg);
  color: var(--text-dark);
}

.bg-dark {
  background-color: var(--color-primary);
  color: var(--text-primary);
}

.text-white {
  color: var(--color-white);
}

.mt-large {
  margin-top: var(--spacing-lg);
}

/* Typography Scale */
h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.5rem;
}

.overline {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  color: var(--color-secondary);
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  /* Sharp, premium edges */
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-primary);
  /* Dark button on light bg */
  color: var(--color-white);
  border: 1px solid var(--color-primary);
}

.hero .btn-primary {
  background-color: var(--color-accent);
  /* Light button on dark hero */
  color: var(--color-primary);
  border: 1px solid var(--color-accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-secondary);
  color: var(--text-dark);
}

.header .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: rgba(10, 25, 47, 0.05);
}

.header .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.btn-text {
  background: transparent;
  color: var(--color-white);
  padding: 0 1rem;
  border-bottom: 1px solid transparent;
}

.btn-text:hover {
  border-bottom-color: var(--color-accent);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: var(--spacing-sm) 0;
  transition: var(--transition-smooth);
  background: rgba(10, 25, 47, 0.85);
  /* Glassmorphism */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 1px;
}

.logo-dot {
  color: var(--color-secondary);
}

.nav-list {
  display: flex;
  gap: var(--spacing-md);
  margin-right: var(--spacing-md);
}

.nav-link {
  color: var(--color-secondary);
  font-size: 0.9rem;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav {
  display: flex;
  align-items: center;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  /* Darken for readability */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 20%, #0A192F 150%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.highlight {
  font-style: italic;
  color: var(--color-secondary);
}

.hero-actions {
  margin-top: var(--spacing-md);
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  align-items: center;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.mouse {
  width: 20px;
  height: 35px;
  border: 2px solid var(--color-white);
  border-radius: 20px;
  display: block;
  position: relative;
}

.wheel {
  width: 4px;
  height: 4px;
  background: var(--color-white);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-10px) translateX(-50%);
  }

  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}


/* Authority Bar */
.authority-bar {
  background-color: var(--color-white);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid #eee;
}

.authority-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 1.5px;
}

.logo-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  opacity: 0.6;
}

.partner-logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: #aaa;
  font-family: var(--font-heading);
  /* Minimalist text logos */
}


/* Vitrine / Featured */
.vitrine {
  padding-top: var(--spacing-xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.aircraft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.aircraft-card {
  background: var(--color-white);
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
  overflow: hidden;
  border-radius: 4px;
}

.aircraft-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.2);
}

.card-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.aircraft-card:hover .card-image img {
  transform: scale(1.05);
}

.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 4px 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.card-content {
  padding: var(--spacing-md);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.card-specs {
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-md);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: var(--spacing-sm);
}

.price {
  font-weight: 600;
  color: var(--color-primary);
}

.btn-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.center-btn {
  text-align: center;
}


/* Institutional */
.dual-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.institutional {
  background: #fff;
}

.manifesto-content p {
  margin-bottom: var(--spacing-sm);
  color: #555;
}

.divider {
  height: 1px;
  width: 50px;
  background: var(--color-secondary);
  margin: var(--spacing-md) 0;
}

.feature-list {
  margin-top: var(--spacing-md);
}

.feature-list li {
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #444;
}

.feature-list i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.image-stack {
  position: relative;
  height: 500px;
}

.img-front {
  position: relative;
  width: 90%;
  z-index: 2;
  box-shadow: 20px 20px 0px rgba(10, 25, 47, 0.1);
}

.img-back {
  position: absolute;
  top: -20px;
  right: 0;
  width: 80%;
  height: 100%;
  background: var(--color-secondary);
  opacity: 0.1;
  z-index: 1;
}


/* Lead Magnet */
.lead-magnet {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-lg) 0;
}

.magnet-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.magnet-text {
  flex: 1;
  min-width: 300px;
}

.magnet-text h2 {
  color: var(--color-white);
}

.magnet-form {
  display: flex;
  gap: var(--spacing-sm);
  flex: 1;
  min-width: 300px;
}

.magnet-form input {
  flex: 1;
  padding: 1rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  outline: none;
}

.magnet-form input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.magnet-form button {
  white-space: nowrap;
}


/* Footer */
.footer {
  background-color: var(--color-dark-bg);
  color: var(--text-secondary);
  padding-top: var(--spacing-xl);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: var(--spacing-sm);
  display: inline-block;
}

.social-links {
  margin-top: var(--spacing-md);
  display: flex;
  gap: var(--spacing-sm);
}

.social-links a {
  font-size: 1.5rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--color-white);
}

.footer h4 {
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.footer-links ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding: var(--spacing-md) 0;
  text-align: center;
  font-size: 0.8rem;
  color: #555;
}


/* Mobile Responsive */
@media (max-width: 768px) {
  .header-container {
    padding: 0 var(--spacing-sm);
  }

  .nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--color-primary);
    flex-direction: column;
    justify-content: center;
    transition: 0.3s ease;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    margin-right: 0;
    margin-bottom: var(--spacing-md);
    text-align: center;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .dual-col {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.5rem;
  }
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Product Page Specifics */

.product-hero {
  height: 80vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--spacing-lg);
  color: var(--color-white);
}

.product-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7);
}

.product-title {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-xs);
}

.product-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-secondary);
  opacity: 0.9;
}


.narrative {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.mission-profile {
  background: var(--color-light-bg);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.spec-item {
  background: var(--color-white);
  padding: var(--spacing-md);
  border-left: 3px solid var(--color-primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.spec-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 5px;
  font-weight: 600;
}

.spec-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.gallery-item {
  height: 300px;
  overflow: hidden;
  border-radius: 2px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.trust-stack {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-lg) 0;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.check-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
}

.check-icon {
  color: var(--color-secondary);
  font-size: 1.5rem;
}

.floating-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 50px;
  padding: 15px 25px;
  background: #25D366;
  /* WhatsApp Green */
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cta:hover {
  transform: scale(1.05);
}

/* Form Section */
.inquiry-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: var(--spacing-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-family: var(--font-body);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}


/* Hero Video Support */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}

/* Ensure fallback image takes precedence if video is hidden/fails */
.hero-bg-image {
  /* Inherits from prev definition */
  display: block;
  /* Default block unless overridden inline for JS fallback logic */
}


/* Fix: Ensure Hero has a dark background color as fallback */
.hero,
.product-hero {
  background-color: var(--color-primary);
}


/* Refine Institutional Image to be B&W as requested */
.img-front {
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.img-front:hover {
  filter: grayscale(0%);
  /* Optional: reveal color on hover */
}


/* PREMIUM EFFECTS PACK */

/* 1. Hero Vignette & Parallax Base */
.hero,
.product-hero {
  background-attachment: fixed;
  /* Simple Parallax */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.video-overlay {
  /* Enhanced Gradient */
  background: radial-gradient(circle at center, rgba(10, 25, 47, 0.4) 0%, rgba(10, 25, 47, 0.9) 100%);
}

/* 2. Button Shine Effect */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

/* 3. Global Noise Texture (Subtle Film Grain) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url('data:image/svg+xml,%3Csvg viewBox=%220 0 200 200%22 xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cfilter id=%22noiseFilter%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.65%22 numOctaves=%223%22 stitchTiles=%22stitch%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23noiseFilter)%22/%3E%3C/svg%3E');
}


/* Make authority bar background lighter but distinct */
.authority-bar {
  background-color: #F8F9FA;
  /* Extra light grey */
}


/* INVENTORY UPDATE: Live Assets Card Design */

/* Featured Card (The Hero Asset) */
.featured-card {
  grid-column: 1 / -1;
  /* Spans full width */
  display: flex;
  flex-direction: row;
}

.featured-card .card-image {
  flex: 0 0 auto;
  /* Do not stretch, respect width derived from height/ratio */
  width: auto;
  aspect-ratio: 9 / 16;
  /* Vertical format requested */
  max-height: 80vh;
  /* Prevent it from being too tall on desktop */
  min-height: 550px;
  /* Ensure minimum height for good impact */
  position: relative;
}

.featured-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--spacing-lg);
  background-color: #050E1A;
  /* Darker Navy */
}

.featured-card .card-title,
.featured-card .card-subtitle,
.featured-card .card-desc {
  color: var(--color-white);
}

.featured-card .card-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  color: #D4AF37;
  /* Metallic Gold for Hero */
}

.featured-card .card-subtitle {
  font-family: var(--font-body);
  color: #8892B0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.card-desc {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.featured-card .card-desc {
  color: #CCD6F6;
  /* Light grey text on dark bg */
  font-size: 1.1rem;
}

.card-specs-icons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  color: var(--color-secondary);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.card-specs-icons span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Tags System */
.tag {
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-weight: 700;
  padding: 6px 14px;
}

.tag-gold {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A028 100%);
  color: #000;
}

.tag-blue {
  background: #0077B6;
  color: #fff;
}

.tag-green {
  background: #2A9D8F;
  color: #fff;
}

.tag-brazil {
  background: #fff;
  color: #009C3B;
  border-left: 4px solid #FFDF00;
}


/* Specs Button Link */
.btn-link i {
  transition: transform 0.3s ease;
}

.btn-link:hover i {
  transform: translateX(5px);
}

/* Responsive Fix for Featured Card */
@media (max-width: 900px) {
  .featured-card {
    flex-direction: column;
  }

  .featured-card .card-image {
    width: 100%;
    aspect-ratio: 9 / 16;
    min-height: auto;
    max-height: 90vh;
  }
}

/* Mini Gallery Styles */
.mini-gallery {
  display: flex;
  gap: 5px;
  padding: 10px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.thumb-img {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.thumb-img:hover,
.thumb-img.active {
  opacity: 1;
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.card-image img {
  transition: opacity 0.3s ease;
}

/* Featured Card Gallery Override */
.featured-card .mini-gallery {
  background: #050E1A;
  border-bottom: none;
  padding: 0 0 20px 0;
  /* Align with padding */
}

.featured-card .thumb-img {
  width: 80px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-card .thumb-img:hover,
.featured-card .thumb-img.active {
  border-color: #D4AF37;
}


/* Video in Cards Support */
.card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

/* CATEGORY NAVIGATION GRID */

.category-card {
  position: relative;
  height: 400px;
  /* Tall vertical cards */
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.category-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.8, 1);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0A192F 10%, transparent 80%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  z-index: 2;
}

.category-content {
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.category-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.category-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #a0aec0;
  margin-bottom: 1.5rem;
  font-weight: 400;
  opacity: 0.9;
}

.category-action {
  font-size: 0.85rem;
  font-weight: 700;
  color: #D4AF37;
  /* Gold accent */
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease 0.1s;
}

.category-card:hover .category-bg {
  transform: scale(1.05);
}

.category-card:hover .category-content {
  transform: translateY(0);
}

.category-card:hover .category-action {
  opacity: 1;
  transform: translateX(0);
}

/* AUTHORITY PROFILE CAROUSEL (Cross-Fade) */
.authority-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 20px 20px 0px rgba(10, 25, 47, 0.1);
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  /* Slow cinematic fade */
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Option B: Modern Corporate Look */
  filter: saturate(0.8) contrast(1.1);
  /* Reduced saturation, slightly pop contrast */
}

/* Corporate Blue Tint Overlay */
.carousel-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.1);
  /* Subtle Navy tint */
  mix-blend-mode: multiply;
  pointer-events: none;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
}


/* MOBILE RESPONSIVE FIXES (NEXUS OMEGA DIRECTIVE) */
@media (max-width: 768px) {

  /* 1. HERO SECTION BUTTONS - STACKED */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    padding: 0 var(--spacing-sm);
  }

  .hero-actions .btn {
    width: 100%;
    margin: 0;
  }

  /* 2. FOOTER FORM - STACKED */
  .magnet-form {
    flex-direction: column;
    width: 100%;
  }

  .magnet-form input,
  .magnet-form button {
    width: 100%;
  }

  /* 3. CATEGORY CARDS - CENTERED & TOUCH FRIENDLY */
  .category-overlay {
    justify-content: center;
    /* Vertical Center */
    align-items: center;
    /* Horizontal Center */
    background: rgba(10, 25, 47, 0.4);
    /* Darker overlay for readability */
  }

  .category-content {
    text-align: center;
    transform: translateY(0);
    /* Always visible */
  }

  .category-action {
    justify-content: center;
    opacity: 1;
    /* Always visible */
    transform: translateX(0);
    margin-top: 1rem;
  }

  .category-card {
    height: 350px;
    /* Slightly shorter on mobile */
  }

  /* 4. AIRCRAFT GRID - CENTERED ON MOBILE */
  .aircraft-grid {
    grid-template-columns: 1fr;
    /* Force single column to fix alignment */
    width: 100%;
    gap: var(--spacing-md);
    /* Reduced gap */
  }
}

/* MOBILE BUTTON FIXES */
@media (max-width: 768px) {
  .featured-card {
    flex-direction: column !important;
  }

  .featured-card .card-image {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 9 / 16 !important;
    max-height: none !important;
  }

  .featured-card .card-image video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .featured-card .card-content {
    text-align: center !important;
    padding: var(--spacing-md) !important;
  }

  .card-specs-icons {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
  }

  .card-footer {
    flex-direction: column !important;
    gap: 15px !important;
    align-items: stretch !important;
    text-align: center !important;
  }

  .card-footer .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .price-hidden {
    margin-bottom: 10px;
    display: block;
  }
}