/* ===========================
   GLOBAL DESIGN SYSTEM
   =========================== */

:root {
  --bg-cream: #f5f0e6;
  --bg-light: #ffffff;
  --bg-dark: #111111;
  --gold: #d4af37;
  --gold-dark: #c19b2f;
  --text-main: #222222;
  --text-muted: #666666;
  --border-soft: rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.08);
  --radius-card: 14px;
  --radius-pill: 999px;
  --transition-fast: 0.2s ease-out;
  --max-width: 1100px;
}

/* Reset / base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-cream);
  color: var(--text-main);
}

/* Layout */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / nav */

.site-header {
  background: var(--bg-cream);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo img {
  height: 52px;
  width: auto;
}

.site-logo-text {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-fast);
}

.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
}

/* REMOVE GOLD BUTTON — NEW CLEAN CTA STYLE */
.nav-cta {
  background: none;
  border: none;
  color: var(--text-main);
  padding: 4px 0;
  border-radius: 0;
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

.nav-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-fast);
}

.nav-cta:hover::after,
.nav-cta.is-active::after {
  width: 100%;
}

/* Mobile nav */

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--bg-dark);
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .site-header-inner {
    gap: 10px;
  }

  .nav {
    position: fixed;
    inset: 60px 0 0 0;
    background: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    color: #f5f5f5;
    font-size: 17px;
  }

  /* Mobile CTA also removed */
  .nav-cta {
    background: none;
    border: none;
    color: #f5f5f5;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* Hero / page header */

.page-hero {
  padding: 40px 0 20px;
}

.page-hero-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page-hero-subtitle {
  margin-top: 8px;
  font-size: 16px;
  color: var(--text-muted);
}

/* Cards / sections */

.section {
  padding: 20px 0 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-light);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 24px 22px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
}

.card-tag {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
}

.card-body {
  font-size: 15px;
  color: var(--text-muted);
}

.card-body p {
  margin: 0 0 8px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--bg-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-outline {
  background: transparent;
  color: var(--bg-dark);
}

.btn:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Forms */

.form {
  display: grid;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
}

.form-input,
.form-textarea {
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Lists */

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}

.inline-pill {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.04);
  font-size: 12px;
}

/* Images */

.media {
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 14px;
}

.media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* Footer */

.site-footer {
  margin-top: auto;
  background: var(--bg-dark);
  border-top: 2px solid var(--gold);
  color: #f5f5f5;
}

.site-footer-inner {
  padding: 26px 0 18px;
}

.site-footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}

.site-footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 10px;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer-nav a {
  color: var(--gold);
  font-size: 14px;
  text-decoration: none;
}

.site-footer-bottom {
  font-size: 13px;
  color: #bbbbbb;
}

@media (max-width: 768px) {
  .site-footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Animations */

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Bobby’s buttons: white default, gold on hover */
.bobbys-buttons a {
    background: #ffffff;
    color: #000;
    border: 2px solid #d4af37;
    transition: 0.2s ease;
}

.bobbys-buttons a:hover {
    background: #d4af37;
    color: #000;
}
