/* ============================================================
   PCBEL LUXURY THEME — Global Styles
   ============================================================ */

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-pale: #F5E6C0;
  --gold-dark: #9A7A2E;
  --navy: #0A1628;
  --navy-mid: #122040;
  --navy-light: #1A3060;
  --cream: #FAF6EE;
  --white: #FFFFFF;
  --text-dark: #1A1A2E;
  --text-mid: #4A4A6A;
  --text-light: #8A8AAA;
  --success: #2E7D5A;
  --error: #C0392B;
  --border-gold: rgba(201,168,76,0.3);
  --shadow-gold: 0 8px 40px rgba(201,168,76,0.18);
  --shadow-navy: 0 8px 40px rgba(10,22,40,0.35);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
  --font-ui: 'Inter', -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--font-ui);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

.serif { font-family: var(--font-body); }

/* ── Announcement Bar ── */
.announcement-bar {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy) 100%);
  color: var(--gold-light);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.announcement-bar::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.08), transparent);
  animation: shimmer 3s ease-in-out infinite;
}
.announcement-bar a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes shimmer {
  0%,100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* ── Navigation ── */
.site-header {
  position: sticky;
  top: 0; z-index: 900;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  box-shadow: 0 0 0 2px rgba(201,168,76,0.3);
}
.logo-text {
  display: flex; flex-direction: column;
}
.logo-text strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.logo-text span {
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Desktop Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-light);
  background: rgba(201,168,76,0.1);
}
.main-nav .nav-cta > a {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy) !important;
  font-weight: 700;
  padding: 8px 18px;
}
.main-nav .nav-cta > a:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}

.header-actions {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}

.btn-signin {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 18px;
  border: 1px solid var(--border-gold);
  border-radius: 50px;
  background: transparent;
  color: var(--gold-light);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-signin:hover {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: var(--transition);
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 850;
  pointer-events: none;
}
.drawer-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  transition: opacity 0.3s;
}
.drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 90vw);
  height: 100vh;
  background: var(--navy);
  border-left: 1px solid var(--border-gold);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  padding: 24px 20px 40px;
  display: flex; flex-direction: column; gap: 4px;
}
.drawer-panel.open {
  transform: translateX(0);
}
.mobile-drawer.open {
  pointer-events: all;
}
.mobile-drawer.open .drawer-backdrop {
  opacity: 1;
}
.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-gold);
}
.drawer-close {
  background: none; border: none; cursor: pointer;
  color: var(--gold-light); font-size: 1.4rem; line-height: 1;
}
.drawer-nav a {
  display: block;
  padding: 13px 16px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  border-bottom: 1px solid rgba(201,168,76,0.08);
}
.drawer-nav a:hover { color: var(--gold-light); background: rgba(201,168,76,0.08); }
.drawer-nav a.active { color: var(--gold-light); }
.drawer-cta {
  margin-top: 16px;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  text-align: center;
}

/* ── Gold Divider ── */
.gold-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 8px 0;
}
.gold-divider::before,
.gold-divider::after {
  content: ''; flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.gold-divider span {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold);
}

/* ── Section Styles ── */
.section { padding: 90px 24px; }
.section-sm { padding: 60px 24px; }
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-navy-mid { background: var(--navy-mid); }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 30px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }
.text-center .section-label { margin: 0 auto 16px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  border-color: transparent;
  box-shadow: 0 4px 24px rgba(201,168,76,0.35);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.45);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: rgba(201,168,76,0.12);
  color: var(--gold-light);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}
.btn-navy {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
}
.btn-sm { padding: 9px 20px; font-size: 0.75rem; }
.btn-lg { padding: 18px 44px; font-size: 0.92rem; }
.btn:disabled, .btn.locked {
  background: #ccc; color: #888; border-color: #ccc;
  cursor: not-allowed; box-shadow: none; transform: none !important;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201,168,76,0.15);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 2px 16px rgba(10,22,40,0.07);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(201,168,76,0.4);
}
.card-body { padding: 28px; }

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--border-gold);
  padding: 64px 24px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
  line-height: 1.8;
}
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(201,168,76,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-admin-link {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2) !important;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.footer-admin-link:hover { color: rgba(201,168,76,0.5) !important; }

/* ── Badge ── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
}
.badge-navy {
  background: var(--navy);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}
.badge-success {
  background: rgba(46,125,90,0.12);
  color: var(--success);
  border: 1px solid rgba(46,125,90,0.3);
}

/* ── Utilities ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.text-gold { color: var(--gold); }
.text-gold-light { color: var(--gold-light); }
.text-white { color: var(--white); }
.text-cream { color: var(--cream); }
.bg-cream { background: var(--cream); }

/* ── Form Elements ── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--text-mid);
}
.form-control {
  width: 100%;
  padding: 13px 18px;
  background: var(--white);
  border: 1px solid rgba(10,22,40,0.15);
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  appearance: none;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234A4A6A' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.form-dark .form-control {
  background: rgba(255,255,255,0.06);
  border-color: rgba(201,168,76,0.2);
  color: var(--white);
}
.form-dark .form-control:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.1);
}
.form-dark .form-label { color: rgba(255,255,255,0.7); }

/* ── Stat Counters ── */
.stat-card {
  text-align: center;
  padding: 32px 24px;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ── Modal ── */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.85);
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  max-width: 500px; width: 100%;
  padding: 40px 36px;
  transform: scale(0.95);
  transition: transform 0.3s;
  box-shadow: var(--shadow-gold);
}
.modal-overlay.open .modal-box {
  transform: scale(1);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .main-nav, .header-actions .btn-signin { display: none; }
  .hamburger { display: flex; }
  .mobile-drawer { display: block; }
  .section { padding: 64px 20px; }
  .section-sm { padding: 44px 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .modal-box { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; height: 64px; }
  .logo-text span { display: none; }
  .section { padding: 48px 16px; }
  .section-sm { padding: 36px 16px; }
}

/* ── Particle Canvas ── */
#particles-canvas {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* ── Page Hero (reusable) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201,168,76,0.12), transparent);
}
.page-hero .section-label { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.75); font-family: var(--font-body); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 620px; margin: 0 auto; }
