/* ═══════════════════════════════════════════
   LASAN CENTRE — COMPLETE STYLESHEET
   Includes all desktop + mobile nav styles
═══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* ═══════════════════
   DESIGN TOKENS
═══════════════════ */
:root {
  --navy:       #0c1f3f;
  --navy-mid:   #162d5a;
  --gold:       #c9a84c;
  --gold-light: #e8c97e;
  --cream:      #faf8f2;
  --warm:       #fffef9;
  --slate:      #4a5568;
  --muted:      #8a94a6;
  --border:     #e8e3d8;
  --accent:     #d4850a;
}

/* ═══════════════════
   RESET
═══════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm);
  color: var(--navy);
  overflow-x: hidden;
}

/* ═══════════════════
   TOP BAR
═══════════════════ */
.top-bar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 300;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,0.18);
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 5%;
  justify-content: space-between;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-left a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.top-bar-left a:hover { color: var(--gold-light); }
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.top-bar-right a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.78rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}
.top-bar-right a:hover { color: var(--gold-light); border-color: var(--gold); }

/* ═══════════════════
   OVERLAY (mobile)
   Sits behind drawer, above page content
═══════════════════ */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1500;
  cursor: pointer;
}
.menu-overlay.show {
  display: block;
}

/* ═══════════════════
   NAVIGATION — desktop
═══════════════════ */
nav {
  position: fixed;
  top: 38px; width: 100%;   /* offset by top-bar height */
  z-index: 200;
  background: rgba(12, 31, 63, 0.97);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.22);
}

/* Logo — image version */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}
.logo-img {
  height: 46px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* Fallback text logo (shown if image fails / not yet added) */
.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.06em;
}
.logo-text span { color: #fff; font-weight: 300; font-style: italic; }

nav ul {
  list-style: none;
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
nav ul li a {
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
nav ul li a:hover  { color: var(--gold-light); }
nav ul li a.active { color: var(--gold-light); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 8px 22px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: #fff;
  background: none;
  border: none;
  padding: 4px 8px;
  position: relative;
  z-index: 2000;
}

/* ═══════════════════
   FOOTER
═══════════════════ */
footer {
  background: #070f1e;
  padding: 60px 5% 28px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
footer .logo { font-size: 1.4rem; display: block; margin-bottom: 12px; }
.footer-desc { font-size: 0.85rem; line-height: 1.7; }
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  color: rgba(255, 255, 255, 0.50);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}

/* ═══════════════════
   SECTION UTILITIES
═══════════════════ */
section { padding: 90px 5%; }

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.7;
  max-width: 560px;
}

/* ═══════════════════
   BUTTONS
═══════════════════ */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.03em;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.42);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ═══════════════════
   PAGE HERO (inner pages)
═══════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #162d5a 100%);
  padding: 178px 5% 80px;  /* 38px topbar + 72px nav + 68px breathing room */
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  animation: fadeUp 0.8s ease both;
}
.breadcrumb { font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); margin-bottom: 16px; }
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero p { font-size: 1rem; color: rgba(255, 255, 255, 0.70); line-height: 1.75; max-width: 560px; }

/* ═══════════════════
   CTA BAND
═══════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--navy), #162d5a);
  padding: 72px 5%;
  text-align: center;
}
.cta-band h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 1rem;
}
.cta-band p { font-size: 1rem; color: rgba(255, 255, 255, 0.62); margin-bottom: 2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════
   SHARED CARD
═══════════════════ */
.card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover { box-shadow: 0 12px 40px rgba(12, 31, 63, 0.1); transform: translateY(-4px); }

/* ═══════════════════
   ANIMATION
═══════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
   Mobile nav drawer activates here
═══════════════════════════════════════════ */
@media (max-width: 900px) {

  /* Top bar — hide email on small screens, keep phone & socials */
  .top-bar-left .tb-email { display: none; }
  .top-bar-left a span.tb-label { display: none; }

  /* Show hamburger button */
  .hamburger { display: block; }

  /* Nav drawer — slides in from the left */
  nav ul {
    position: fixed;
    top: 0;
    left: -280px;           /* hidden off-screen by default */
    width: 260px;
    height: 100vh;
    background: #0c1f3f;
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 0 40px;
    gap: 0;
    transition: left 0.3s ease;
    z-index: 1600;           /* ABOVE overlay (1500) — links are always clickable */
    box-shadow: 6px 0 30px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
  }

  /* JS adds .show to slide drawer in */
  nav ul.show { left: 0; }

  nav ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  nav ul li:last-child { border-bottom: none; }

  nav ul li a {
    display: block;
    padding: 15px 28px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  nav ul li a:hover,
  nav ul li a.active {
    color: var(--gold-light);
    background: rgba(201, 168, 76, 0.08);
  }

  /* Enrol Now — full-width gold button in drawer */
  .nav-cta {
    margin: 20px 28px 0 !important;
    display: block !important;
    text-align: center !important;
    padding: 13px 20px !important;
    background: var(--gold) !important;
    color: var(--navy) !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}
  
/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
═══════════════════════════════════════════ */
@media (max-width: 600px) {
  .top-bar { height: 34px; }
  nav { top: 34px; }
  section { padding: 60px 5%; }
  .page-hero { padding: 150px 5% 60px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .cta-btns { flex-direction: column; align-items: center; }
}
