@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg-dark: #070b14;
  --bg-card: rgba(13, 19, 33, 0.88);
  --bg-card-hover: rgba(20, 28, 48, 0.95);
  --gold-primary: #f5b82e;
  --gold-light: #ffd269;
  --gold-dark: #d99414;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-gold: rgba(245, 184, 46, 0.35);
  --border-light: rgba(255, 255, 255, 0.1);
}

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

html, body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, .font-display {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.015em;
}

.font-serif-luxury {
  font-family: 'Cinzel', serif;
}

/* Fraunces Font Utility & Explicit Header/Footer Menus */
.font-fraunces {
  font-family: 'Fraunces', serif !important;
}

/* Header Navigation Menu (Fraunces Font - Unbolded / Regular Weight) */
#main-navbar nav a,
#mobile-menu a,
.header-nav-link {
  font-family: 'Fraunces', serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em;
}

/* Footer Navigation Menu (Fraunces Font) */
footer a,
footer ul li a,
footer .quick-links a,
footer .footer-link,
.footer-menu-link {
  font-family: 'Fraunces', serif !important;
  letter-spacing: 0.035em;
}

footer h4,
footer h5 {
  font-family: 'Fraunces', serif !important;
  letter-spacing: 0.06em;
}

/* Warm Champagne & Executive Gold Gradients matching Official 5-Star Logo */
.gold-gradient-text {
  background: linear-gradient(135deg, #ffd269 0%, #f5b82e 45%, #d99414 80%, #ffd269 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
}

.gold-solid-btn {
  background: linear-gradient(135deg, #ffd269 0%, #f5b82e 50%, #d99414 100%);
  color: #070b14 !important;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(245, 184, 46, 0.38);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.gold-solid-btn:hover {
  background: linear-gradient(135deg, #ffffff 0%, #ffd269 50%, #f5b82e 100%);
  box-shadow: 0 6px 26px rgba(245, 184, 46, 0.6);
  transform: translateY(-2px);
}

.gold-outline-btn {
  border: 1px solid rgba(245, 184, 46, 0.55);
  color: #ffd269 !important;
  background: rgba(245, 184, 46, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.gold-outline-btn:hover {
  background: rgba(245, 184, 46, 0.22);
  border-color: #ffd269;
  box-shadow: 0 4px 20px rgba(245, 184, 46, 0.35);
  transform: translateY(-2px);
}

/* Logo Pill Tag Motif */
.capsule-pill {
  background: #070b14;
  border: 1px solid rgba(245, 184, 46, 0.45);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(245, 184, 46, 0.5);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.7), 0 0 22px -4px rgba(245, 184, 46, 0.2);
}

/* Form Styles */
.custom-input {
  background: rgba(13, 19, 33, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  transition: all 0.25s ease;
}

.custom-input:focus {
  border-color: #f5b82e;
  box-shadow: 0 0 0 3px rgba(245, 184, 46, 0.25);
  outline: none;
  background: rgba(18, 26, 46, 0.98);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5, 8, 16, 0.96);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox-modal.active {
  display: flex;
}

/* Toast Container */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: rgba(13, 19, 33, 0.98);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 184, 46, 0.55);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateX(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #070b14;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f5b82e;
}

/* Persistent Fixed Header (Always Stable at Top during Scroll) */
#main-navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background-color: rgba(7, 11, 20, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(245, 184, 46, 0.25) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

body {
  padding-top: 80px; /* Offset for the 80px fixed navbar */
}

/* Navigation Dropdown Menu (Fraunces Font) */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-top: 4px;
  padding-bottom: 4px;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: rgba(8, 13, 24, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 184, 46, 0.35);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(245, 184, 46, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 0.82rem;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: 'Fraunces', serif !important;
  font-weight: 400 !important;
}

.nav-dropdown-item:hover {
  background: rgba(245, 184, 46, 0.12);
  color: #ffd269 !important;
  transform: translateX(4px);
}
