/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Fonts */
@font-face {
  font-family: "Garosia";
  src: url("../fonts/Garosia.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html,
body {
  overflow-x: hidden;
}
body {
  background: var(--black);
  color: var(--white);
  font-family: "Saira", "Inter", sans-serif;
}

/* Ensure horizontal paddings remain visible */
.footer .container {
  padding-left: 20px;
  padding-right: 20px;
}
.gallery {
  padding-left: 20px;
  padding-right: 20px;
}

/* Headings in Garosia */
h1,
h2,
h3,
.section-title,
.team-name,
.nav-menu a,
.cta-button {
  font-family: "Garosia", "Inter", sans-serif;
}

h2 {
  font-size: 2.5rem;
}
/* Hero slogan */
.hero-slogan {
  margin: 10px 0 18px;
  font-size: 1.1rem;
  color: var(--white);
  opacity: 0.9;
}

/* Color Variables */
:root {
  --deep-red: #780000;
  --sea-blue: #015fff;
  --white: #ffffff;
  --black: #000000;
  --gray-light: #0f1115;
  --gray-dark: #a9b0ba;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--black);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 70px;
}
.nav-logo img {
  height: 100%;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--sea-blue);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sea-blue);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Language Switcher */
.language-switcher {
  position: relative;
  display: inline-block;
}

.language-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-btn {
  background: transparent;
  border: 2px solid var(--deep-red);
  color: var(--deep-red);
  padding: 8px 16px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.lang-btn:hover,
.lang-btn.active {
  background: var(--deep-red);
  color: var(--white);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  min-width: 120px;
  z-index: 1001;
  margin-top: 5px;
}

.lang-dropdown .lang-btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 0;
  text-align: left;
  padding: 12px 16px;
  background: transparent;
  color: var(--black);
  border-bottom: 1px solid var(--gray-light);
}

.lang-dropdown .lang-btn:last-child {
  border-bottom: none;
}

.lang-dropdown .lang-btn:hover {
  background: var(--gray-light);
  color: var(--deep-red);
}

/* Language inline switch */
.language-switcher.inline {
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-link {
  background: transparent;
  border: none;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

.lang-link:hover {
  opacity: 0.8;
}
.lang-link.active {
  color: var(--sea-blue);
}
.lang-sep {
  opacity: 0.6;
  color: var(--white);
}

/* Keep hamburger visible on dark bg */
.hamburger span {
  background: var(--white);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-background {
  position: absolute;
  inset: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.05);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}
.hero-logo {
  width: min(60vw, 360px);
  height: auto;
  margin: 0 auto 24px;
  display: block;
}
.hero-title,
.jet-ski,
.jet-ski-left,
.jet-ski-right {
  display: none !important;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  background: var(--sea-blue);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.cta-button:hover {
  background: var(--white);
  color: var(--sea-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.scroll-indicator.hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Jet Ski Animations */
.jet-ski {
  position: absolute;
  width: 200px;
  height: 100px;
  z-index: 1;
}

.jet-ski-left {
  left: -200px;
  animation: jetSkiEnterLeft 2s ease-out forwards;
}

.jet-ski-right {
  right: -200px;
  animation: jetSkiEnterRight 2s ease-out forwards;
}

@keyframes jetSkiEnterLeft {
  to {
    left: 10%;
    transform: rotate(-15deg);
  }
}

@keyframes jetSkiEnterRight {
  to {
    right: 10%;
    transform: rotate(15deg);
  }
}

.jet-ski-model {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 50px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.jet-ski-model::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 60px;
  background: var(--deep-red);
  border-radius: 30px;
}

/* About Section */
.about {
  padding: 50px 0;
  position: relative;
  background: #0b0d10;
}

.about-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.1;
}

.about-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--sea-blue);
  margin-bottom: 2rem;
}

.about-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  background: #0f1319;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: saturate(0.95);
}

/* Models Section */
.models {
  padding: 0 0 50px 0;
  background: #090b0e;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--sea-blue);
  margin-bottom: 60px;
}

.models .section-title {
  margin-bottom: 30px;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.model-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background: #0f1319;
  border: 1px solid #151b24;
}

.model-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--sea-blue);
}

.model-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.model-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.model-card:hover .model-image img {
  transform: scale(1.1);
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background: #0f1319;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gray-dark);
}

.model-info {
  padding: 20px;
}

.model-info h3 {
  color: var(--sea-blue);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.model-info p {
  color: var(--gray-dark);
  margin-bottom: 5px;
}

.model-year {
  font-weight: 600;
  color: var(--sea-blue) !important;
}

/* Prices Section */
.prices {
  padding: 80px 0;
  background: linear-gradient(135deg, #041026 0%, #000000 100%);
  color: var(--white);
}

@media (max-width: 900px) {
  .prices {
    padding: 50px 0;
  }
}

.prices .section-title {
  color: var(--white);
}

.prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-bottom: 40px;
}

.price-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  margin: 15px 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  background: #0f1319;
  border: 1px solid #151b24;
}

.price-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

.price-card.featured {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--white);
  position: relative;
}

.popular {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--deep-red);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price-header h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
}

.currency {
  font-size: 1.5rem;
  vertical-align: top;
}

.custom {
  font-size: 1.5rem;
  font-weight: 600;
}

.insurance-note {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.1rem;
}

.insurance-note i {
  font-size: 1.5rem;
  color: #28a745;
}

/* Price feature lists */
.price-features {
  margin-top: 14px;
  list-style: none;
  display: grid;
  gap: 8px;
  padding-left: 0;
}
.price-features li {
  color: var(--white);
  opacity: 0.9;
  font-size: 0.95rem;
  position: relative;
  padding-left: 18px;
}
.price-features li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--sea-blue);
}

/* Contact margins */
.contact .container {
  padding-left: 24px;
  padding-right: 24px;
}
@media (min-width: 1200px) {
  .contact .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* Location Section */
.location {
  padding: 100px 0;
  background: #0b0d10;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.addresses {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.address-card,
.hours-card {
  background: #0f1319;
  padding: 25px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  border: 1px solid #151b24;
}

.address-card:hover,
.hours-card:hover {
  transform: translateY(-5px);
}

.address-card h3,
.hours-card h3 {
  color: var(--sea-blue);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.address-card i,
.hours-card i {
  color: var(--sea-blue);
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #151b24;
}

/* Contact Section */
.contact {
  padding: 70px 0;
  background: #090b0e;
  color: #fff;
}

@media (max-width: 900px) {
  .contact {
    padding: 50px 0;
  }
}

.contact-header {
  text-align: center;
  margin-bottom: 40px;
}

/* Make social link minimal and white */
.contact .social-link {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}
.contact .social-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.contact .section-title {
  text-shadow: 1px -1px 2px black;
}

/* Two-column layout, equal height */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

/* Details column */
.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  height: 100%;
}

.contact-item {
  padding: 16px 16px;
  border-radius: 12px;
  align-items: center;
  display: flex;
  gap: 14px;
}

.contact-item > div {
  flex: 1;
}

.contact-item i {
  font-size: 2.5rem;
  color: #fff;
  margin-top: 4px;
}

.contact-item h4,
.contact-item p,
.contact-item a {
  color: #fff;
  font-size: 1.2rem;
}

.contact-item a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.contact-item a:hover {
  color: #87ceeb;
  border-bottom-color: transparent;
}

/* Map column fills height */
.map-container {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  height: 100%;
  min-height: 420px;
  background: #0f1319;
}
.map-container iframe {
  display: block;
  width: 100%;
  height: 100% !important;
  min-height: 420px;
}

/* Contact form simplified spacing */
.contact-form {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.contact .submit-btn {
  background: var(--sea-blue);
}
.contact .submit-btn:hover {
  background: #fff;
  color: var(--sea-blue);
}

@media (max-width: 900px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
  .contact-details {
    grid-template-columns: 1fr;
  }
  .map-container {
    min-height: 320px;
  }
}

/* Footer */
.footer {
  background: #000;
  color: var(--gray-dark);
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logo h3 {
  color: var(--sea-blue);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--sea-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: var(--gray-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 10px;
}

.footer-copy {
  text-align: left;
}
.footer-dev {
  text-align: right;
}

@media (max-width: 600px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .footer-dev {
    order: 0;
    text-align: center;
  }
  .footer-copy {
    order: 1;
    text-align: center;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-right {
    gap: 15px;
  }

  .language-switcher {
    order: -1;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .location-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

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

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .jet-ski {
    display: none;
  }

  .lang-dropdown {
    right: auto;
    left: 0;
  }
  .nav-logo {
    height: 60px;
  }
  .hero-logo {
    width: min(70vw, 300px);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

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

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

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

  .nav-right {
    gap: 10px;
  }

  .lang-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

/* Smooth animations for AOS */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

/* Hide scrollbars visually (optional) */
::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Models Section enhancements */
.model-card.from-left {
  opacity: 0;
  transform: translateX(-60px) rotate(-1deg);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.model-card.from-left.in-view {
  opacity: 1;
  transform: translateX(0) rotate(0);
}

.ride-wave {
  animation: waveRide 3.8s ease-in-out infinite;
  transform-origin: 50% 80%;
}

@keyframes waveRide {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  20% {
    transform: translateY(-4px) rotate(-1.2deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  80% {
    transform: translateY(4px) rotate(1.2deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.model-card.active {
  border-color: var(--sea-blue);
  box-shadow: 0 18px 50px rgba(1, 95, 255, 0.25);
}

.model-card.active .ride-wave {
  animation-duration: 2.4s;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25));
}

/* Team Section */
.team {
  position: relative;
  background: #0b0d10;
}
.team::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/la-banya.png") center/cover no-repeat;
  opacity: 0.2;
}
.team > .container {
  position: relative;
  z-index: 1;
}

.team .section-title {
  color: var(--white);
}

/* Team flip cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 15px;
}

.team-card.flip {
  perspective: 1000px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 360px;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
}

.flip-front {
  background: #0f1319;
  border: 1px solid #151b24;
  display: grid;
  grid-template-rows: calc(100% - 56px) 56px;
  align-items: center; /* center items within their grid rows */
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center; /* ensure vertical centering within crop */
  align-self: center; /* vertically center within first grid row */
  background: #0f1319;
}

.team-front-text {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-back {
  background: #0f1319;
  border: 1px solid #151b24;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.team-card.flip:hover .flip-inner {
  transform: rotateY(180deg);
}

/* Mobile: stacked and no hover required */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .flip-inner {
    height: 480px;
  }
  .team-bio {
    font-size: 0.95rem;
    line-height: 1.55;
  }
}

@media (max-width: 650px) {
  .team-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1.5 / 1;
    object-position: center center; /* keep centered on mobile as well */
    align-self: center;
  }
}

/* Team why section */
.team-why {
  text-align: center;
  margin-top: 28px;
}
.team-why h3 {
  color: var(--sea-blue);
  margin-bottom: 8px;
}
.team-why p {
  color: var(--gray-dark);
}

.team-card h3 {
  font-family: "Saira", "Inter", sans-serif;
}

.team-card {
  background: var(--gray-light);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sea-blue), var(--deep-red));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.team-name {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: var(--white);
}

.team-role {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--sea-blue);
}

.team-bio {
  margin: 0;
  color: var(--gray-dark);
}

.team-cta {
  padding-bottom: 60px;
  padding-top: 32px;
  text-align: center;
}

.team-cta .cta-button {
  text-decoration: none;
}

@media (max-width: 768px) {
  .model-card.from-left {
    transform: translateX(-30px);
  }
}

/* Navbar background change on scroll (override to keep black) */
/* This ensures JS change won't override black */
.navbar.scrolled {
  background: var(--black) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* Mobile hamburger toggling */
@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: #0b0d10;
    width: 100%;
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    z-index: 999;
  }
  .nav-menu.active {
    left: 0;
  }
  .hamburger {
    display: flex;
  }
}

/* Models: desktop carousel */
.models-carousel {
  display: none;
  position: relative;
  height: 520px;
  margin-top: 20px;
}

.carousel-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(52vw, 700px);
  opacity: 0.35;
  filter: saturate(0.85) blur(0px);
  transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
  display: grid;
  grid-template-rows: auto auto;
  justify-items: center;
}

.carousel-item .carousel-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.25s ease, transform 0.25s ease;
  will-change: transform;
}
.carousel-item .carousel-info {
  text-align: center;
  margin-top: 12px;
}

.carousel-item.left {
  transform: translate(calc(-50% - 30vw), -60%) scale(0.5);
  opacity: 0.35;
}
.carousel-item.right {
  transform: translate(calc(-50% + 30vw), -60%) scale(0.5);
  opacity: 0.35;
}
.carousel-item.center {
  opacity: 1;
  filter: none;
}

/* Models: mobile stacked alternating */
.models-stacked {
  display: grid;
  gap: 40px;
  margin-top: 30px;
}
.jet-row {
  display: grid;
  align-items: center;
  gap: 20px;
}
.jet-row .jet-image img {
  width: 100%;
  height: auto;
  display: block;
}
.jet-row .jet-info h3 {
  margin-bottom: 6px;
}
.jet-row.from-left {
  grid-template-columns: 1fr 1fr;
}
.jet-row.from-right {
  grid-template-columns: 1fr 1fr;
}
.jet-row.from-right .jet-image {
  order: 2;
}
.jet-row.from-right .jet-info {
  order: 1;
  text-align: right;
}

/* reveal animations on scroll */
.jet-row {
  transform: translateX(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.jet-row.from-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.jet-row.from-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* smoother wave animation */
.ride-wave.smooth {
  animation: waveRideSmooth 4.6s ease-in-out infinite;
}
@keyframes waveRideSmooth {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  15% {
    transform: translateY(-3px) rotate(-0.8deg);
  }
  35% {
    transform: translateY(0) rotate(0deg);
  }
  65% {
    transform: translateY(3px) rotate(0.8deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Hover bounce for center carousel item */
@keyframes hoverBob {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

.ride-wave.hover-bounce {
  /* layer bounce on top of existing wave animation */
  animation: waveRideSmooth 4.6s ease-in-out infinite,
    hoverBob 1.4s ease-in-out infinite;
}

/* Optional subtle emphasis on hover */
.carousel-item:hover .carousel-image img {
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

/* Responsive switches */
@media (min-width: 901px) {
  .models-stacked {
    display: none;
  }
  .models-carousel {
    display: block;
  }
}
@media (max-width: 900px) {
  .models-carousel {
    display: none;
  }
  .models-stacked {
    display: grid;
  }
}

/* Section titles: add upper padding globally */
.section-title {
  padding-top: 50px;
}

/* Mobile hamburger and menu UX */
.hamburger {
  display: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  border-radius: 2px;
}

/* Prevent body scroll when menu open */
body.no-scroll {
  overflow: hidden;
}

/* Mobile menu and navbar tweaks */
@media (max-width: 900px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    height: 60px;
  }
  .nav-container {
    height: 60px;
  }
  .nav-logo {
    height: 60px;
  }
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    background: #0b0d10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 0 20px;
    gap: 20px;
    transition: left 0.3s ease;
    z-index: 2001;
    height: auto;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
  }
  .nav-menu a {
    color: #fff;
    font-size: 1.25rem;
    padding: 8px 0;
  }
  .nav-menu.active {
    left: 0;
  }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Add scroll offset so fixed header doesn't cover anchors */
section {
  scroll-margin-top: 72px;
}

/* Contact background image overlay */
.contact {
  position: relative;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/contact-background.jpg") center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}
.contact > .container {
  position: relative;
  z-index: 1;
}
