/* ====================================================
   TANZANITE CRATER CITY — SHARED STYLES
   Brand Colors: Navy #1a2744 | Purple #5B3EAE | Gold #C9A84C
   ==================================================== */

:root {
  --navy:   #1a2744;
  --navy-dark: #0f1a30;
  --navy-mid: #243356;
  --purple: #5B3EAE;
  --purple-light: #7B5FD4;
  --purple-dark: #3d2a7a;
  --gold:   #C9A84C;
  --gold-light: #E8C96A;
  --gold-dark: #A08430;
  --white:  #ffffff;
  --light:  #f4f6fb;
  --gray:   #8892a4;
  --text:   #2c3e5a;
  --border: rgba(201,168,76,0.2);
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
  --shadow: 0 20px 60px rgba(26,39,68,0.15);
  --shadow-gold: 0 8px 30px rgba(201,168,76,0.3);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; color: var(--text); }
a { text-decoration: none; color: inherit; transition: var(--transition); }

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Utility ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-purple { color: var(--purple); }
.text-white { color: var(--white); }

/* ── Section Headers ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label::before,
.section-label::after {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--gold);
  opacity: 0.6;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-title span { color: var(--gold); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 640px;
  line-height: 1.8;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn-sm { padding: 10px 22px; font-size: 0.8rem; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(26,39,68,0.18); }

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.glass-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(201,168,76,0.4);
}

/* ── Tags / Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-gold { background: rgba(201,168,76,0.18); color: var(--gold); border: 1px solid rgba(201,168,76,0.4); }
.badge-purple { background: rgba(91,62,174,0.15); color: var(--purple-light); border: 1px solid rgba(91,62,174,0.3); }
.badge-navy { background: rgba(26,39,68,0.12); color: var(--navy); border: 1px solid rgba(26,39,68,0.2); }

/* ── Icon Circles ── */
.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.icon-circle-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: var(--navy); }
.icon-circle-purple { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); color: var(--white); }
.icon-circle-navy { background: linear-gradient(135deg, var(--navy-mid), var(--navy-dark)); color: var(--gold); }

/* ── Stats Bar ── */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ── Divider ── */
.divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  border-radius: 2px;
  margin: 16px 0 24px;
}
.divider-center { margin: 16px auto 24px; }

/* ── Scroll Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 9000;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
  border: none;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }

/* ── NAVIGATION ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(10, 18, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.navbar.solid {
  background: var(--navy-dark);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 44px;
  height: 44px;
}
.nav-logo-text { line-height: 1.2; }
.nav-logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}
.nav-logo-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.nav-link svg { width: 12px; height: 12px; transition: var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy-dark);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-sm);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: var(--transition);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  z-index: 2000;
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  border-radius: 6px;
  transition: var(--transition);
}
.dropdown-link:hover { color: var(--gold); background: rgba(201,168,76,0.08); }
.dropdown-link span { font-size: 0.9rem; }

.dropdown-wide {
  min-width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.dropdown-section-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 14px 4px;
  grid-column: 1 / -1;
}
.dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 4px 8px;
  grid-column: 1 / -1;
}

.nav-cta .btn { padding: 10px 22px; font-size: 0.8rem; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: transparent;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── FOOTER ── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
}
.footer-main {
  padding: 80px 0 50px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 50px;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-icon {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-newsletter {
  margin-top: 14px;
}
.footer-newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.footer-newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter-form input:focus { border-color: var(--gold); }
.footer-newsletter-form button {
  padding: 10px 18px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.footer-newsletter-form button:hover { background: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-bottom-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold); }
.footer-bottom-links .sep {
  color: rgba(255,255,255,0.2);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 70px 0; }
  .stats-bar { flex-direction: column; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; padding: 50px 0 30px; }
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 100px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-section-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 20px 0 10px;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 10px;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}
.mobile-nav a:hover { color: var(--gold); padding-left: 14px; }
.mobile-nav a span { font-size: 1.1rem; }
