
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; overflow-x: hidden; background: #f7f5f0; }
:root { --teal: #1a7a7a; --teal-dark: #0f5e5e; --teal-deeper: #0a4545; --lime: #b8d834; --lime-light: #d4eb6e; --cream: #f7f5f0; --white: #fff; --charcoal: #1a1a1a; --gray-light: #e8e6e1; }
a { text-decoration: none; color: inherit; }
.playfair { font-family: 'Playfair Display', Georgia, serif; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: all 0.4s; }
.nav.scrolled { background: rgba(10,69,69,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(184,216,52,0.2); }
.nav-inner { max-width: 1400px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-left, .nav-right { display: flex; gap: 2px; align-items: center; }
.nav-center { flex-shrink: 0; }
.nav-logo { height: 36px; width: auto; cursor: pointer; }
.nav-link { background: transparent; color: rgba(255,255,255,0.75); border: none; padding: 7px 12px; border-radius: 20px; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-link:hover { color: white; background: rgba(255,255,255,0.1); }
.nav-link.active { background: var(--lime); color: var(--teal-deeper); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.hamburger span { width: 24px; height: 2px; background: white; border-radius: 2px; }
.mobile-menu { display: none; background: rgba(10,69,69,0.98); padding: 16px 24px; flex-direction: column; gap: 6px; }
.mobile-menu.open { display: flex; }
.mobile-link { background: transparent; color: white; border: none; padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; text-align: left; font-family: 'DM Sans', sans-serif; }
.mobile-link:hover, .mobile-link.active { background: var(--lime); color: var(--teal-deeper); }
@media (max-width: 900px) {
  .nav-left, .nav-right { display: none !important; }
  .hamburger { display: flex !important; }
}

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-content { text-align: center; padding: 120px 24px 80px; position: relative; z-index: 2; max-width: 900px; }
.hero-badge { display: inline-block; background: rgba(184,216,52,0.15); border: 1px solid rgba(184,216,52,0.3); padding: 8px 24px; border-radius: 30px; margin-bottom: 24px; color: var(--lime-light); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; }
.hero-logo { width: clamp(260px, 45vw, 460px); height: auto; filter: drop-shadow(0 4px 20px rgba(0,0,0,0.2)); margin-bottom: 24px; }
.hero-text { color: rgba(255,255,255,0.8); font-size: clamp(16px,2.5vw,20px); line-height: 1.6; max-width: 600px; margin: 0 auto 20px; font-weight: 300; }
.hero-dates { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-date { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); padding: 12px 20px; border-radius: 14px; text-align: center; min-width: 140px; }
.hero-date-days { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 800; color: var(--lime); }
.hero-date-month { font-size: 12px; color: rgba(255,255,255,0.6); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }
.btn { display: inline-block; padding: 16px 36px; border-radius: 50px; font-size: 15px; font-weight: 700; font-family: 'DM Sans', sans-serif; cursor: pointer; transition: all 0.3s; border: none; }
.btn-lime { background: var(--lime); color: var(--teal-deeper); }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(184,216,52,0.4); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: var(--lime); color: var(--lime); }
.btn-dark { background: var(--teal-deeper); color: white; }
.btn-dark-outline { background: transparent; color: var(--teal-deeper); border: 2px solid var(--teal-deeper); }

/* Sections */
.section { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.16,1,0.3,1); }
.section.visible { opacity: 1; transform: translateY(0); }
.section-tag { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.section-tag-line { width: 50px; height: 3px; background: var(--lime); border-radius: 2px; }
.section-tag-text { font-size: 12px; color: var(--teal); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; }
.section-title { font-size: clamp(26px,4vw,42px); color: var(--teal-deeper); line-height: 1.2; margin-bottom: 28px; font-weight: 800; }

/* Stats */
.stats { background: white; padding: 50px 24px; border-bottom: 4px solid var(--lime); }
.stats-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 30px; text-align: center; }
.stat-num { font-size: 36px; font-weight: 900; color: var(--teal-dark); }
.stat-label { font-size: 11px; color: #888; letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.gallery-item { border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; cursor: pointer; transition: transform 0.3s; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Lightbox */
.lightbox { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.92); z-index: 2000; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 30px; background: none; border: none; color: white; font-size: 36px; cursor: pointer; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: none; color: white; font-size: 28px; cursor: pointer; padding: 12px 18px; border-radius: 50%; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 28px; transition: all 0.3s; }
.card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

/* FAQ */
.faq-item { background: white; border: 1px solid var(--gray-light); border-radius: 14px; overflow: hidden; margin-bottom: 10px; }
.faq-item.open { background: var(--cream); border-color: var(--lime); }
.faq-btn { width: 100%; padding: 18px 22px; background: none; border: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-align: left; }
.faq-q { font-size: 15px; font-weight: 600; color: var(--teal-deeper); padding-right: 16px; }
.faq-icon { font-size: 18px; color: var(--teal); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 18px; font-size: 14px; color: #666; line-height: 1.7; display: none; }
.faq-item.open .faq-answer { display: block; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.team-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 24px; transition: all 0.3s; }
.team-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.team-photo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; margin-bottom: 14px; border: 2px solid rgba(184,216,52,0.3); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Forms */
.form-card { background: white; border-radius: 20px; padding: 40px 36px; box-shadow: 0 16px 50px rgba(0,0,0,0.08); }
.form-label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; color: var(--teal-dark); letter-spacing: 0.5px; text-transform: uppercase; }
.form-input { width: 100%; padding: 12px 16px; border-radius: 10px; border: 2px solid var(--gray-light); background: white; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--charcoal); outline: none; transition: border-color 0.3s; box-sizing: border-box; margin-bottom: 20px; }
.form-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,122,122,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-submit { width: 100%; padding: 16px; border-radius: 12px; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: white; border: none; font-size: 15px; font-weight: 700; font-family: 'DM Sans', sans-serif; cursor: pointer; transition: all 0.3s; }
.form-submit:hover { transform: translateY(-2px); }
.form-submit-lime { background: linear-gradient(135deg, var(--lime), #a0c820); color: var(--teal-deeper); }

/* CTA */
.cta { background: linear-gradient(135deg, var(--lime) 0%, #a0c820 100%); padding: 70px 24px; text-align: center; }

/* Page headers */
.page-hero { padding: 130px 24px 70px; text-align: center; }
.page-hero-teal { background: linear-gradient(135deg, var(--teal-deeper), var(--teal)); }
.page-hero-green { background: linear-gradient(135deg, var(--teal-deeper), #1a8a6e); }

/* Footer */
.footer { background: var(--charcoal); padding: 70px 24px 36px; }
.footer-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-heading { color: var(--lime); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin-bottom: 16px; }
.footer-link { display: block; color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 8px; transition: color 0.2s; }
.footer-link:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; max-width: 1000px; margin: 0 auto; }
.drone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; }
.drone-photos-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.drone-map-row { margin-bottom: 32px; }
.drone-img { width: 100%; height: 260px; object-fit: cover; display: block; border-radius: 12px; }
@media (max-width: 600px) { .drone-photos-row { grid-template-columns: 1fr; } .drone-img { height: 200px; } }
.placeholder-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .drone-grid { grid-template-columns: 1fr; }
  .hero-dates { flex-direction: column; align-items: center; }
  .stat-num { font-size: 28px; }
}

/* Nav centering - make left/right equal width so center is truly centered */
.nav-left { flex: 1; justify-content: flex-start; }
.nav-right { flex: 1; justify-content: flex-end; }

/* MO26 nav highlight — lime text, no chip */
.nav-link-mo26:not(.active) {
  color: var(--lime) !important;
  font-weight: 800 !important;
}
.nav-link-mo26:not(.active):hover {
  color: #d4f040 !important;
}

/* Drive Gallery */
.drive-gallery-wrapper { width: 100%; }
.drive-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  height: min(calc(100vh - 320px), 640px);
  min-height: 300px;
}
.drive-gallery-item {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  background: #e8e6e1;
}
.drive-gallery-item:hover { opacity: 0.88; transform: scale(1.01); }
.drive-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Pagination */
.drive-gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.drive-gallery-arrow {
  background: var(--teal-deeper);
  color: white;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.drive-gallery-arrow:hover:not(:disabled) { background: var(--teal); transform: scale(1.08); }
.drive-gallery-arrow:disabled { background: #ccc; cursor: default; }
.drive-gallery-pages { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.drive-gallery-page-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gray-light);
  background: white;
  color: var(--teal-deeper);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.drive-gallery-page-btn.active { background: var(--teal-deeper); color: white; border-color: var(--teal-deeper); }
.drive-gallery-page-btn:hover:not(.active) { border-color: var(--teal); color: var(--teal); }

/* Gallery states */
.drive-gallery-loading, .drive-gallery-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 240px; gap: 12px; color: #999; font-size: 15px;
}
.drive-gallery-placeholder span { font-size: 48px; }
.drive-gallery-spinner {
  width: 40px; height: 40px;
  border: 3px solid #e8e6e1; border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Drive Lightbox */
.drive-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 3000;
  display: none; align-items: center; justify-content: center;
}
.drive-lightbox.drive-lb-open { display: flex; }
.drive-lb-img-wrap { max-width: 90vw; max-height: 85vh; }
.drive-lb-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; display: block; }
.drive-lb-close {
  position: absolute; top: 20px; right: 28px;
  background: none; border: none; color: white; font-size: 40px; cursor: pointer; line-height: 1;
}
.drive-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15); border: none; color: white;
  font-size: 44px; cursor: pointer; padding: 10px 16px; border-radius: 50%;
  line-height: 1; transition: background 0.2s;
}
.drive-lb-nav:hover { background: rgba(255,255,255,0.28); }
.drive-lb-prev { left: 16px; }
.drive-lb-next { right: 16px; }

/* Sponsors Ticker */
.sponsors-section {
  background: white;
  padding: 48px 0;
  border-top: 1px solid var(--gray-light);
  overflow: hidden;
}
.sponsors-section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sponsors-section-title {
  text-align: center;
  font-size: 11px;
  color: #aaa;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 32px;
}
.sponsors-ticker { overflow: hidden; }
.sponsors-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: sponsor-scroll 20s linear infinite;
  width: max-content;
}
.sponsors-track:hover { animation-play-state: paused; }
@keyframes sponsor-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.sponsors-item { flex-shrink: 0; }
.sponsors-item img {
  height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(0.3);
  transition: opacity 0.3s, filter 0.3s;
}
.sponsors-item img:hover { opacity: 1; filter: grayscale(0); }

/* MO25 tabs */
.mo25-tabs-section { background: #fff; padding: 0 24px; }
.mo25-tabs-wrap { max-width: 900px; margin: 0 auto; }

/* Gallery section viewport fit */
.gallery-section-wrap {
  padding: 70px 24px;
  background: white;
}
.gallery-section-inner { max-width: 1200px; margin: 0 auto; }

@media (max-width: 900px) {
  .drive-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    height: auto;
    min-height: 300px;
  }
  .drive-gallery-item { aspect-ratio: 4/3; }
}
@media (max-width: 600px) {
  .drive-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .drive-gallery-arrow { width: 44px; height: 44px; font-size: 20px; }
  .sponsors-item img { height: 40px; }
}

/* Portrait video embed (event atmosphere) */
.video-portrait-wrap {
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
}
.video-portrait-frame {
  position: relative;
  width: 100%;
  padding-top: 177.78%; /* 9:16 portrait */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(10,69,69,0.28);
  background: #000;
}
.video-portrait-frame iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 760px) {
  .video-split { grid-template-columns: 1fr; gap: 28px; }
  .video-portrait-wrap { max-width: 300px; }
}
