/* ============================================
   Nomo Tour — Shared Styles
   ============================================ */

:root {
  --navy:   #1a3b73;
  --blue:   #2a5298;
  --teal:   #4db8e8;
  --cyan:   #64c8ff;
  --green:  #00af50;
  --yellow: #f8f887;
  --gold:   #d4af37;
  --white:  #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.1;
}

img { display: block; max-width: 100%; }

a { text-decoration: none; }

/* ============================================
   Navigation
   ============================================ */

.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,30,58,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; height: 88px; gap: 16px;
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  color: var(--white); font-family: 'Oswald', sans-serif;
  font-size: 22px; font-weight: 600; letter-spacing: 0.1em;
  flex-shrink: 0; transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.8; }

.nav-links {
  display: flex; gap: 2px; flex: 1; justify-content: center; flex-wrap: wrap;
}

.nav-links a {
  color: rgba(255,255,255,0.8); font-family: 'Barlow', sans-serif;
  font-size: 14px; font-weight: 500; padding: 7px 11px; border-radius: 3px;
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--yellow); background: rgba(255,255,255,0.06); }
.nav-links a.active { color: var(--yellow); }

.login-btn {
  background: transparent; border: 1px solid rgba(255,255,255,0.35);
  color: var(--white); padding: 8px 22px; border-radius: 3px;
  font-family: 'Barlow', sans-serif; font-size: 15px; font-weight: 500;
  white-space: nowrap; transition: border-color 0.2s, background 0.2s; flex-shrink: 0;
}
.login-btn:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* ============================================
   Page Body
   ============================================ */

.page-body { padding-top: 88px; }

/* ============================================
   Sections
   ============================================ */

.section { width: 100%; padding: 88px 28px; }

.section-inner { max-width: 960px; margin: 0 auto; }
.section-center { text-align: center; }

.section-navy  { background: var(--navy); }
.section-navy2 { background: #152f5e; }
.section-blue  { background: var(--blue); }
.section-teal  { background: var(--teal); }
.section-teal2 { background: #3aabe0; }

/* On light sections, text flips to navy */
.section-teal  h1,
.section-teal  h2,
.section-teal  h3,
.section-teal  p,
.section-teal  li,
.section-teal2 h1,
.section-teal2 h2,
.section-teal2 h3,
.section-teal2 p,
.section-teal2 li { color: var(--navy); }

/* ============================================
   CTA Buttons & Links
   ============================================ */

.cta-btn {
  display: inline-block; font-family: 'Oswald', sans-serif;
  font-size: 15px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); background: var(--yellow);
  padding: 11px 36px; border-radius: 3px; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.cta-btn:hover  { background: #fff44a; transform: translateY(-1px); }
.cta-btn:active { transform: translateY(0); }

.cta-btn-dark {
  background: var(--navy); color: var(--white);
}
.cta-btn-dark:hover { background: #243e7a; }

.cta-link {
  color: var(--yellow); font-family: 'Oswald', sans-serif;
  font-size: 15px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.cta-link:hover { border-color: var(--yellow); }

.cta-link-dark { color: var(--navy); border-bottom-color: transparent; }
.cta-link-dark:hover { border-color: var(--navy); }

/* ============================================
   Two-column layout
   ============================================ */

.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; max-width: 1100px; margin: 0 auto;
}

.two-col.reverse > :first-child { order: 2; }
.two-col.reverse > :last-child  { order: 1; }

/* ============================================
   Gold Badge
   ============================================ */

.gold-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 230px; height: 230px; border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(212,175,55,0.1), 0 0 50px rgba(212,175,55,0.15);
  background: radial-gradient(circle, rgba(212,175,55,0.07), transparent 70%);
}

.gold-amount {
  font-family: 'Oswald', sans-serif; font-size: 54px; font-weight: 700; color: var(--gold);
}

/* ============================================
   Highlight colors
   ============================================ */

.hl-yellow  { color: var(--yellow); }
.hl-green   { color: #a3d9a3; }
.hl-gold    { color: var(--gold); }
.hl-navy    { color: var(--navy); }

/* ============================================
   Hero
   ============================================ */

.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; background: var(--navy); padding: 64px 28px 80px;
}

.hero h1 {
  font-size: clamp(52px, 9vw, 107px);
  color: var(--white); margin-bottom: 28px; letter-spacing: -0.02em; line-height: 1;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}
.bounce-arrow {
  animation: bounce 1.6s ease-in-out infinite;
  display: block; font-size: 30px; margin-bottom: 36px; color: rgba(255,255,255,0.6);
}

/* ============================================
   Table styles
   ============================================ */

.data-table {
  width: 100%; border-collapse: collapse; font-size: 15px;
}
.data-table th {
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 10px 16px; text-align: left;
  background: rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.15);
}
.data-table td {
  padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.08);
  vertical-align: top;
}
.data-table tr:hover td { background: rgba(255,255,255,0.04); }
.data-table .year-cell {
  font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 600;
  color: var(--yellow); width: 80px;
}

/* ============================================
   Course card
   ============================================ */

.course-card {
  background: rgba(255,255,255,0.06); border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1); overflow: hidden;
}
.course-card img { width: 100%; height: 220px; object-fit: cover; }
.course-card-body { padding: 20px 24px; }
.course-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--yellow); }
.course-card p { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 6px; }

/* ============================================
   Gallery grid
   ============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 4px; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col.reverse > :first-child { order: 0; }
  .two-col.reverse > :last-child  { order: 0; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .section { padding: 60px 20px; }
  .hero h1 { font-size: clamp(36px, 12vw, 64px); }
}
