/* shared.css — StarGazer Indonesia */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #11145b;
  --navy-light: #1a1f7a;
  --navy-deep: #0a0c3e;
  --gold: #c9a84c;
  --gold-light: #e8d08a;
  --cream: #f9f6f0;
  --white: #ffffff;
  --gray: #6b7280;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--white); color: var(--navy); overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(10,12,62,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: padding 0.3s;
}
.nav-logo {
  font-family: var(--font-serif); font-size: 1.5rem;
  color: var(--white); letter-spacing: 0.04em; text-decoration: none;
  display: flex; align-items: center;
}
.nav-logo span { color: var(--gold); }
.nav-logo img { height: 40px; width: auto; display: block; transition: height 0.3s; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  border: 1px solid var(--gold) !important; color: var(--gold) !important;
  padding: 0.45rem 1.2rem; border-radius: 2px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 1.5px; background: rgba(255,255,255,0.8); transition: 0.3s; display: block; }
.mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0;
  background: var(--navy-deep); border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 1.5rem 5%; flex-direction: column; gap: 1.2rem; z-index: 99;
}
.mobile-menu a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu.open { display: flex; }

/* FOOTER */
footer {
  background: var(--navy-deep); padding: 4rem 8% 2rem;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.83rem; color: rgba(255,255,255,0.45); line-height: 1.75; font-weight: 300; margin-top: 0.8rem; }
.footer-col h5 {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 0.6rem; font-weight: 300; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); font-weight: 300; }
.footer-gold-line { width: 40px; height: 1px; background: var(--gold); opacity: 0.5; }

/* BUTTONS */
.btn-primary {
  background: var(--gold); color: var(--navy-deep);
  padding: 0.85rem 2.2rem; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600; border: none; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.2s; border-radius: 2px;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: rgba(255,255,255,0.8);
  padding: 0.85rem 2.2rem; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.25); cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: border-color 0.2s, color 0.2s; border-radius: 2px;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: white; }
.btn-navy {
  background: var(--navy); color: var(--gold);
  padding: 0.85rem 2.2rem; font-size: 0.8rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600; border: 1px solid var(--navy);
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.2s; border-radius: 2px;
}
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-2px); }

/* COMMON SECTIONS */
.section-label {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; display: block; margin-bottom: 1rem;
}
.section-label-light { color: var(--gold-light); }
.gold-divider { height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); }

/* PAGE HERO (sub pages) */
.page-hero {
  min-height: 45vh; background: var(--navy-deep);
  display: flex; align-items: center; padding: 8rem 8% 4rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(26,31,122,0.6), transparent 70%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-serif); font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300; color: var(--white); line-height: 1.15; margin-bottom: 1rem;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.6); max-width: 520px; line-height: 1.8; font-weight: 300; }

/* FADE IN */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* MOBILE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-emblem { display: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
