/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background: linear-gradient(to bottom, #00023d 0%, #000a2a 40%, #001a4d 100%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* Hero Media Container */
.hero-media-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* Overlay for better text readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 10, 42, 0.6) 50%,
    rgba(0, 26, 77, 0.8) 100%
  );
  z-index: 1;
  will-change: transform;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  padding: 0px 40px;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  border-bottom: none;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

header.scrolled {
  background-color: rgba(4, 0, 117, 0.481);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
  width: clamp(220px, 33vw, 259px);
}

nav {
  display: flex;
  gap: clamp(15px, 3vw, 25px);
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(14px, 2vw, 16px);
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

nav a:hover {
  text-underline-offset: white;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}



/* Product Section */
.product-section {
  padding: 6rem 2rem;
  background-color: transparent;
  min-height: calc(100vh - 100px); /* Adjust for header/footer height */
}

.product-container {
  max-width: 2000px;
  margin: 0 auto;
  background-color: #fff;
  color: #000;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-column {
  flex: 1;
  padding: 2rem;
}

.product-column.left {
  position: relative;
}

.product-image {
  width: 110%;
  height: auto;
  border-radius: 10px;
}

.product-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  padding: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.product-column.right h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.product-column.right ul {
  list-style: none;
  padding: 0;
}

.product-column.right li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

.product-column.right strong {
  color: #333;
}

/* Footer */
.custom-footer {
  background: linear-gradient(135deg, #000000 0%, #000a2a 40%, #001a4d 100%);
  color: #fff;
  padding: 0;
  margin-top: 4rem;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

.custom-footer .footer-cta {
  text-align: center;
  padding: 48px 20px 32px 20px;
  background: rgba(30, 0, 80, 0.18);
}

.custom-footer .footer-cta h2 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.custom-footer .footer-cta p {
  font-size: clamp(13px, 2vw, 16px);
  color: #e0e0e0;
  margin-bottom: 18px;
}

.custom-footer .footer-cta-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.custom-footer .footer-cta-form input[type="email"] {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 1rem;
  min-width: 220px;
  background: #fff;
  color: #222;
  transition: box-shadow 0.2s;
}

.custom-footer .footer-cta-form input[type="email"]:focus {
  box-shadow: 0 0 0 2px #4a90e2;
}

.custom-footer .footer-cta-form button {
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  background: #4a90e2;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.custom-footer .footer-cta-form button:hover {
  background: #fff;
  color: #4a90e2;
  transform: scale(1.05);
}

.custom-footer .footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 40px 24px 40px;
  gap: 32px;
  background: transparent;
}

.custom-footer .footer-col {
  min-width: 140px;
  margin-bottom: 18px;
}

.custom-footer .brand-col {
  min-width: 160px;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
  color: #fff;
}

.custom-footer .footer-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 3.5vw, 28px);
  letter-spacing: 0.15em;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
}

.custom-footer .footer-logo span {
  color: #4a90e2;
}

.custom-footer .footer-col h4 {
  font-size: clamp(11px, 1.5vw, 13px);
  color: #bbb;
  margin-bottom: 0.7rem;
  letter-spacing: 0.1rem;
  font-weight: 600;
}

.custom-footer .footer-col a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: clamp(12px, 1.8vw, 14px);
  margin-bottom: 0.5rem;
  border-radius: 999px;
  padding: 7px 0px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.custom-footer .footer-col a:hover {
  color: #fff;
  transform: scale(1.03);
  cursor: pointer;
}

.custom-footer .footer-socials {
  display: flex;
  gap: 11px;
  margin-top: 4px;
}

.custom-footer .footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.custom-footer .footer-socials a:hover {
  background: #fff;
  color: #4a90e2;
  transform: scale(1.15);
}

.custom-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px 12px 40px;
  font-size: clamp(11px, 1.5vw, 13px);
  color: #bbb;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: transparent;
}

.custom-footer .footer-bottom a {
  color: #bbb;
  text-decoration: none;
  margin-left: 18px;
  transition: color 0.2s;
}

.custom-footer .footer-bottom a:hover {
  color: #fff;
}


/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .hero-media-container {
    width: 100vw;
    height: 100vh;
  }

  .hero-video {
    object-position: center center;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

  nav a {
    margin: 0;
    padding: 6px 0;
  }

  .product-container {
    flex-direction: column;
  }

  .product-column {
    width: 100%;
  }

  .product-name {
    position: relative;
    margin-top: 1rem;
    padding: 0.5rem;
  }

  .custom-footer .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 10px 12px 10px;
  }

  .custom-footer .footer-col, .custom-footer .brand-col {
    min-width: 0;
    width: 100%;
    margin-bottom: 10px;
  }

  .custom-footer .footer-cta {
    padding: 32px 10px 20px 10px;
  }
}

@media (max-width: 480px) {
  .hero-media-container {
    width: 100vw;
    height: 100vh;
  }

  .hero-video {
    object-position: center center;
  }

  .hero-overlay {
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 10, 42, 0.7) 50%,
      rgba(0, 26, 77, 0.9) 100%
    );
  }

  .logo img {
    width: clamp(132px, 28vw, 165px);
  }

  .product-image {
    width: 100%;
    height: auto;
  }

  .product-name {
    font-size: 1rem;
  }

  .product-column.right h2 {
    font-size: 1.5rem;
  }

  .product-column.right li {
    font-size: 0.9rem;
  }

  .custom-footer .footer-main {
    padding: 14px 4px 8px 4px;
  }

  .custom-footer .footer-cta {
    padding: 22px 4px 12px 4px;
  }

  .custom-footer .footer-bottom {
    flex-direction: column;
    gap: 6px;
    padding: 8px 4px 6px 4px;
    font-size: 11px;
  }
}

/* Custom Product Layout */
/* Remove global body background and color overrides */
/* Only style the product showcase area */

.product-section {
  background: #fff;
  color: #222;
  display: flex;
  flex-direction: column;
  width: 100vw;
  min-height: 100vh;
}
.product-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 300px;
  width: 100%;
  border-bottom: 1px solid #eee;
}
.product-row.reverse {
  flex-direction: row-reverse;
}
.product-image, .product-info {
  flex: 1 1 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}
.product-image img {
  max-width: 90%;
  max-height: 220px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  background: #f5f5f5;
}
.product-info {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.product-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}
.product-desc {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .product-row, .product-row.reverse {
    flex-direction: column !important;
    height: auto;
  }
  .product-image, .product-info {
    width: 100%;
    min-height: 180px;
    justify-content: center;
    align-items: center;
  }
  .product-info {
    align-items: center;
  }
}

/* Make header solid and readable on product.html */
header {
  background: #181c2f !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: none !important;
}

/* Make header 35-40% transparent for product.html */
header {
  background: rgba(24,28,47,0.6) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px) !important;
}

/* Product Section Sizing */
.product-row {
  height: 450px;
}
.product-image {
  flex: 2 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-info {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.product-image img {
  max-width: 95%;
  max-height: 400px;
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  background: #f5f5f5;
}

@media (max-width: 900px) {
  .product-row, .product-row.reverse {
    flex-direction: column !important;
    height: auto;
  }
  .product-image, .product-info {
    width: 100%;
    min-height: 220px;
    justify-content: center;
    align-items: center;
  }
  .product-image img {
    max-width: 98vw;
    max-height: 320px;
  }
  .product-info {
    align-items: center;
  }
}

/* Sliding Animation for Product Images */
.product-image.slide-in-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.product-image.slide-in-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.product-image.slide-in-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Product View Details Button */
.product-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6em 1.5em;
  background: linear-gradient(90deg, #004aad 0%, #00c6fb 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.3s, color 0.3s, transform 0.2s;
  letter-spacing: 0.5px;
}
.product-link:hover, .product-link:focus {
  background: linear-gradient(90deg, #003080 0%, #0080c6 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  text-decoration: none;
}

/* Center the View Details button for the last product (Hunter 50 Predator Helicopter) */
.product-section .product-row:last-child .product-info {
  align-items: center !important;
}