@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Nunito:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #0a0015;
  --color-secondary: #2d0052;
  --color-accent: #d4af37;
  --color-accent-bright: #f0cc60;
  --color-bg-dark: #0f0f1f;
  --color-bg-darker: #050510;
  --color-bg-elevated: #1a0a2e;
  --color-text-light: #e8e8e8;
  --color-text-muted: #a8a8b8;
  --color-text-dark: #1a1a1a;
  --color-danger: #c41e3a;
  --color-success: #06a77d;
  --color-info: #4a90e2;
  --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.4);
  --shadow-gold-strong: 0 0 40px rgba(212, 175, 55, 0.6);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', system-ui, sans-serif;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', Georgia, serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: 'Nunito', system-ui, sans-serif;
  border: none;
  background: none;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 0, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
  text-shadow: var(--shadow-gold);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Nunito', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.03em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-accent-bright);
}

.nav-links a.active {
  color: var(--color-accent);
}

.nav-links a.active::after {
  width: 60%;
  box-shadow: var(--shadow-gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== PAGE HEADER ========== */
.page-header {
  padding: 8rem 2rem 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-bg-dark) 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(45, 0, 82, 0.4) 0%, transparent 70%);
}

.page-header h1 {
  font-size: 3rem;
  color: var(--color-accent);
  text-shadow: var(--shadow-gold);
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.gold-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  margin: 1.5rem auto 0;
  position: relative;
  z-index: 1;
}

/* ========== SECTION TITLES ========== */
.section-title {
  font-size: 2.2rem;
  color: var(--color-accent);
  text-shadow: var(--shadow-gold);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-text-muted);
  text-align: center;
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, #b8960c 100%);
  color: var(--color-text-dark);
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-accent-bright) 0%, var(--color-accent) 100%);
  box-shadow: var(--shadow-gold-strong);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: var(--color-accent);
  font-family: 'Cinzel', Georgia, serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border-radius: 6px;
  border: 1px solid var(--color-accent);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--color-bg-darker);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 4rem 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.footer-logo-text {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-accent);
  text-shadow: var(--shadow-gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-tagline {
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--color-accent);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(212, 175, 55, 0.2);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: 'Cinzel', Georgia, serif;
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-accent-bright);
}

.footer-ref-text {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-ref-text a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ========== VIDEO BACKGROUND ========== */
.video-bg-section {
  position: relative;
  overflow: hidden;
}

.video-bg-section video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 0, 21, 0.65);
}

.video-bg-content {
  position: relative;
  z-index: 2;
}

/* ========== RESPONSIVE ========== */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 0, 21, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: center;
    font-size: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }
}

@media screen and (max-width: 480px) {
  .navbar {
    padding: 0 1rem;
  }

  .page-header {
    padding: 7rem 1rem 3rem;
  }
}
