/* global.css - shared across all pages (mobile-first) */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap");

:root {
  --gold: #d4af37;
  --bg: #0b0b0b;
  --card: #121212;
  --muted: #d7d7d7;
  --accent: #056023;
  --radius: 10px;
  --max-width: 1200px;
}

/* reset */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: var(--bg);
  color: #eee;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
}

/* container */
.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* header - mobile first */
.site-header {
  background: linear-gradient(90deg, #070707, #111);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}

/* brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.brand-text h1 {
  margin: 0;
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
}

/* mobile nav toggle (visible on small screens) */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.hamburger {
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
  display: block;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
}
.hamburger::before {
  top: -6px;
}
.hamburger::after {
  top: 6px;
}

/* primary nav - hidden on mobile */
.primary-nav {
  display: none;
}
.primary-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 4%;
  top: 64px;
  background: rgba(6, 6, 6, 0.98);
  padding: 10px;
  border-radius: 10px;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.primary-nav a {
  color: var(--gold);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  display: block;
}
.primary-nav a:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}
.primary-nav a.active {
  background: rgba(212, 175, 55, 0.08);
  color: #fff;
}

/* hero general helpers */
.hero {
  position: relative;
  padding: 56px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56vh;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 0 10px;
  max-width: 980px;
}

/* responsive images */
.responsive-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

/* buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #b98c25);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

/* footer */
.site-footer {
  background: #000;
  color: #cfcfcf;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}
.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  padding: 6px 0;
}

/* utility: hide visually */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
}

/* prevent horizontal scroll on mobile */
html,
body {
  overflow-x: hidden;
}

/* tablet and up */
@media (min-width: 700px) {
  .primary-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }
  .nav-toggle {
    display: none;
  }
  .header-inner {
    padding: 18px 0;
    gap: 18px;
  }
  .brand-text h1 {
    font-size: 1.4rem;
  }
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    width: 100%;
  }
}
