:root {
  --hc-black: #000000;
  --hc-gold: #b8860b;
  --hc-gold-light: #c5a059;
  --hc-gold-muted: #8b7355;
  --hc-gold-dim: #6b5a45;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--hc-black);
  color: var(--hc-gold-light);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  min-height: 100vh;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("../assets/background.png") left center / cover no-repeat;
  filter: sepia(0.08) contrast(1.06);
  will-change: transform;
}

.hero-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.1) 40%,
      rgba(0, 0, 0, 0.35) 65%,
      rgba(0, 0, 0, 0.5) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0) 40%,
      rgba(0, 0, 0, 0.5) 75%,
      rgba(0, 0, 0, 0.9) 100%
    );
}

.page-layer {
  position: relative;
  z-index: 2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 9999;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 0.35rem 0;
  background: rgba(0, 0, 0, 0.92) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 90, 69, 0.35);
}

.navbar-brand {
  padding: 0;
  margin: 0;
  line-height: 0;
}

.navbar-logo {
  width: 100px;
  height: 100px;
  display: block;
  object-fit: contain;
  opacity: 0.96;
  transition: opacity 0.2s ease;
}

.navbar-brand:hover .navbar-logo {
  opacity: 1;
}

.nav-link {
  color: var(--hc-gold-light) !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-link:hover {
  color: var(--hc-gold) !important;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
}

.hero-content {
  padding: 2rem 0;
}

.hero-title {
  font-family: "UnifrakturMaguntia", cursive;
  font-size: clamp(3.5rem, 12vw, 6.5rem);
  color: var(--hc-gold-light);
  line-height: 1;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9), 0 0 40px rgba(197, 160, 89, 0.25);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--hc-gold-light);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 400;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.9);
}

.hero-tagline {
  max-width: 28rem;
  margin: 2rem 0 0 auto;
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--hc-gold-light);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.95);
}

.text-lg-end .hero-tagline {
  margin-left: auto;
}

.section-divider {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hc-gold-dim), transparent);
  margin: 0 auto 2.5rem;
}

.section-title {
  font-family: "UnifrakturMaguntia", cursive;
  font-size: 2rem;
  color: var(--hc-gold);
  text-align: center;
  margin-bottom: 0.5rem;
}

.content-section {
  padding: 5rem 0;
  position: relative;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.72) 8rem,
    rgba(0, 0, 0, 0.94) 100%
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.content-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 115, 85, 0.35), transparent);
}

.card-dark {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--hc-gold-dim);
  color: var(--hc-gold-muted);
}

.card-dark .card-title {
  font-family: "UnifrakturMaguntia", cursive;
  color: var(--hc-gold-light);
  font-size: 1.5rem;
}

.card-dark .card-text {
  line-height: 1.7;
}

.btn-gold {
  --bs-btn-color: var(--hc-black);
  --bs-btn-bg: var(--hc-gold);
  --bs-btn-border-color: var(--hc-gold);
  --bs-btn-hover-bg: var(--hc-gold-light);
  --bs-btn-hover-border-color: var(--hc-gold-light);
  --bs-btn-hover-color: var(--hc-black);
  font-family: "Cormorant Garamond", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  padding: 0.65rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.btn-outline-gold {
  --bs-btn-color: var(--hc-gold-light);
  --bs-btn-border-color: var(--hc-gold-muted);
  --bs-btn-hover-bg: rgba(184, 134, 11, 0.15);
  --bs-btn-hover-border-color: var(--hc-gold);
  --bs-btn-hover-color: var(--hc-gold-light);
  font-family: "Cormorant Garamond", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  padding: 0.65rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

footer {
  border-top: 1px solid var(--hc-gold-dim);
  background: rgba(0, 0, 0, 0.97);
  color: var(--hc-gold-dim);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

footer a {
  color: var(--hc-gold-muted);
  text-decoration: none;
}

footer a:hover {
  color: var(--hc-gold-light);
}

@media (max-width: 991px) {
  .hero {
    min-height: 100svh;
    align-items: flex-end;
    padding-bottom: 3rem;
  }

  .hero-content {
    text-align: center !important;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(139, 115, 85, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-bg {
    background-position: 25% center;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.35) 55%,
        rgba(0, 0, 0, 0.85) 100%
      );
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-bg {
    transform: none;
  }
}
