/* =============================================
   Over The Moon OT — Shared Stylesheet
   Brand: Deep navy, gold, white
   Fonts: Playfair Display + Lato
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy:       #0b1e3d;
  --navy-light: #132a52;
  --navy-mid:   #1a3566;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --gold-pale:  #f5e9c8;
  --white:      #ffffff;
  --offwhite:   #f0eeea;
  --text-light: #cdd5e0;
  --text-muted: #8899b0;
  --radius:     10px;
  --shadow:     0 8px 32px rgba(0,0,0,0.35);
  --transition: 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

p { margin-bottom: 1rem; }

/* ---- Noise Texture Overlay ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ---- Navigation ---- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 70px;
  background: rgba(11, 30, 61, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  transition: background var(--transition);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold-light);
  line-height: 1.2;
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: scale(1.04);
  color: var(--navy) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- Sections ---- */
section {
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 2rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(201, 168, 76, 0.12);
  transform: translateY(-2px);
}

/* ---- Cards ---- */
.card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 168, 76, 0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* ---- Stars ---- */
.stars-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.stars-bg::before, .stars-bg::after {
  content: '';
  position: absolute;
  width: 2px; height: 2px;
  border-radius: 50%;
  background: white;
  box-shadow:
    120px 40px 0 rgba(255,255,255,0.6),
    230px 120px 0 rgba(255,255,255,0.4),
    80px 200px 0 rgba(255,255,255,0.7),
    350px 60px 0 rgba(255,255,255,0.3),
    450px 180px 0 rgba(255,255,255,0.5),
    600px 80px 0 rgba(255,255,255,0.6),
    720px 220px 0 rgba(255,255,255,0.4),
    850px 50px 0 rgba(255,255,255,0.7),
    950px 160px 0 rgba(255,255,255,0.3),
    1050px 90px 0 rgba(255,255,255,0.5),
    180px 320px 0 rgba(255,255,255,0.4),
    400px 280px 0 rgba(255,255,255,0.6),
    650px 310px 0 rgba(255,255,255,0.3),
    800px 290px 0 rgba(255,255,255,0.5),
    1000px 330px 0 rgba(255,255,255,0.4);
}
.stars-bg::after {
  width: 1px; height: 1px;
  box-shadow:
    60px 80px 0 rgba(255,255,255,0.5),
    160px 160px 0 rgba(255,255,255,0.3),
    270px 30px 0 rgba(255,255,255,0.6),
    380px 140px 0 rgba(255,255,255,0.4),
    500px 240px 0 rgba(255,255,255,0.3),
    680px 150px 0 rgba(255,255,255,0.5),
    780px 280px 0 rgba(255,255,255,0.4),
    900px 120px 0 rgba(255,255,255,0.6),
    1020px 200px 0 rgba(255,255,255,0.3);
}

/* ---- Sub-page header ---- */
.subpage-header {
  padding: 120px 2rem 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}

.subpage-header h1 {
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.subpage-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- Footer ---- */
.site-footer {
  background: #06111f;
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}
.site-footer a { color: var(--gold); }
.footer-logo { margin-bottom: 1.5rem; }
.footer-logo img { height: 60px; width: auto; opacity: 0.9; }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.footer-contact {
  margin-bottom: 1rem;
  line-height: 2;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(11, 30, 61, 0.97);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .section-inner { padding: 3.5rem 1.25rem; }
}
