/* ==========================================================================
   Golden Dot — theme overrides on top of Bootstrap 5
   ========================================================================== */

@font-face {
  font-family: 'GarlicSalt';
  src: url('../fonts/golden-dot.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --gd-gold: #e0b64a;
  --gd-bg-1: #120f0c;
  --gd-bg-2: #0d0b09;
  --gd-bg-3: #080706;

  --bs-body-bg: var(--gd-bg-1);
  --bs-body-color: #fff7e8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'GarlicSalt', Georgia, serif;
  background: linear-gradient(180deg, var(--gd-bg-1) 0%, var(--gd-bg-2) 45%, var(--gd-bg-3) 100%);
  padding-top: 76px; /* offset for fixed navbar */
}

/* ---- Navbar ---- */
.gd-navbar {
  background: rgba(8, 7, 6, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(216, 173, 61, 0.16);
}
.gd-navbar .navbar-brand {
  color: #fff7e8;
  font-size: 1.1rem;
}
.gd-navbar .nav-link {
  color: rgba(255, 255, 255, 0.86);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  font-weight: 700;
}
.gd-navbar .nav-link:hover,
.gd-navbar .nav-link:focus {
  color: var(--gd-gold);
}

.gd-logo-img {
  object-fit: contain;
  filter: saturate(1.35) brightness(1.08) contrast(1.08) drop-shadow(0 0 12px rgba(255, 205, 92, 0.38));
}

/* ---- Hero ---- */
.gd-hero {
  min-height: 100vh;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.gd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(rgba(255, 212, 102, 0.4) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, transparent 0 24%, #000 52%, transparent 76%);
  pointer-events: none;
}
.gd-hero-logo {
  width: min(420px, 72vw);
  height: auto;
  filter: saturate(1.35) brightness(1.08) contrast(1.08) drop-shadow(0 0 18px rgba(255, 205, 92, 0.38));
}
.gd-hero .gd-reveal {
  width: min(420px, 72vw);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gd-down-link {
  color: var(--gd-gold);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.gd-hero .gd-down-link {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0 !important;
}
.gd-bounce {
  display: inline-block;
  font-size: 26px;
  animation: gd-bounce 1.4s infinite;
}
@keyframes gd-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---- Sections ---- */
.gd-section {
  position: relative;
  border-top: 1px solid rgba(216, 173, 61, 0.22);
  padding: 100px 0;
}
.gd-section-number {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--gd-gold);
}
.gd-section-number span {
  font-size: 22px;
}
.gd-section-number i {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--gd-gold);
}
.gd-kicker {
  margin: 0 0 16px;
  color: var(--gd-gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.32em;
}
.gd-section h2 {
  margin: 0;
  max-width: 580px;
  color: #fff;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  font-weight: 500;
}
.gd-body-text {
  margin: 24px 0 0;
  max-width: 470px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
  line-height: 1.7;
}
.gd-outline-button {
  margin-top: 32px;
  border: 1px solid var(--gd-gold);
  background: transparent;
  color: var(--gd-gold);
  padding: 13px 24px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 800;
}
.gd-outline-button:hover {
  background: var(--gd-gold);
  color: #000;
}

/* ---- Product / recipe imagery ---- */
.gd-product-frame {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(216, 173, 61, 0.16);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.035);
  padding: 30px;
}
.gd-product-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(216, 173, 61, 0.23), transparent 55%);
}
.gd-product-img {
  position: relative;
  max-height: 400px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.75));
}
.gd-recipe-img {
  width: 90%;
  max-height: 300px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
  border-radius: 20px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}
.gd-handwerk-frame {
  background: linear-gradient(160deg, rgba(30, 24, 16, 0.9) 0%, rgba(20, 16, 11, 0.94) 58%, rgba(12, 10, 8, 0.97) 100%);
  border-color: rgba(216, 173, 61, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 232, 176, 0.06);
}
.gd-handwerk-gif {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  mix-blend-mode: screen;
  opacity: 0.95;
  filter: contrast(1.1) saturate(1.15) drop-shadow(0 0 25px rgba(224, 182, 74, 0.25));
}

/* ---- Buy section ---- */
.gd-buy-section { min-height: auto; }
.gd-buy-card {
  border: 1px solid rgba(224, 182, 74, 0.28);
  border-radius: 34px;
  background: rgba(24, 20, 16, 0.82);
  padding: 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75);
}
.gd-buy-frame { min-height: 220px; padding: 16px; }
.gd-buy-frame .gd-product-img { max-height: 200px; }
.gd-buy-title { margin: 0; font-size: 2rem; font-weight: 500; letter-spacing: 0.02em; }
.gd-muted { color: rgba(255, 255, 255, 0.62); font-size: 1rem; line-height: 1.4; }
.gd-price { color: var(--gd-gold); font-size: 2rem; }
.gd-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  background: var(--gd-gold);
  color: #000;
  padding: 0 26px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
.gd-cart-button:hover { background: #f0c85b; }
.gd-trust-row {
  border-top: 1px solid rgba(216, 173, 61, 0.22);
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

/* ---- Footer ---- */
.gd-footer {
  border-top: 1px solid rgba(216, 173, 61, 0.25);
  padding: 58px 0 30px;
  color: rgba(255, 255, 255, 0.55);
}
.gd-footer-title { margin-top: 16px; color: var(--gd-gold); font-size: 26px; }
.gd-footer-sub { color: rgba(216, 173, 61, 0.75); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; }
.gd-footer-col { display: grid; gap: 10px; align-content: start; font-size: 1rem; line-height: 1.8; }
.gd-footer-col a { color: rgba(255, 255, 255, 0.55); text-decoration: none; }
.gd-footer-col a:hover { color: var(--gd-gold); }
.gd-copyright { margin-top: 46px; text-align: center; color: rgba(255, 255, 255, 0.35); font-size: 0.95rem; }

/* ---- Modals ---- */
.gd-modal-content {
  background: #050505;
  border: 1px solid rgba(216, 173, 61, 0.22);
  border-radius: 26px;
}
.gd-modal-content .modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.gd-modal-title {
  flex: 1;
  margin: 0;
  color: var(--gd-gold);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}
.gd-ingredients-textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(216, 173, 61, 0.18);
  color: #f7ead1;
}
.gd-ingredients-textarea:focus {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--gd-gold);
  color: #f7ead1;
  box-shadow: 0 0 0 0.2rem rgba(224, 182, 74, 0.25);
}
.gd-nutrition-wrap { margin-top: 22px; }
.gd-nutrition-wrap h4 { margin: 0 0 12px; color: var(--gd-gold); font-size: 1.3rem; }
.gd-nutrition-table { --bs-table-color: #f7ead1; --bs-table-bg: transparent; }
.gd-nutrition-table th, .gd-nutrition-table td {
  border-color: rgba(224, 182, 74, 0.22);
  font-size: 0.9rem;
}
.gd-nutrition-table th { color: var(--gd-gold); }

.gd-suggestion-card {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  text-align: left;
  font: inherit;
  min-height: 300px;
  border: 1px solid rgba(224, 182, 74, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  padding: 22px 18px;
  height: 100%;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.gd-suggestion-card:focus-visible {
  outline: 2px solid var(--gd-gold);
  outline-offset: 3px;
}
.gd-suggestion-card:hover {
  border-color: var(--gd-gold);
  transform: translateY(-2px);
}
.gd-suggestion-card p { margin: 0; color: rgba(255, 247, 232, 0.68); font-size: 1rem; line-height: 1.35; }
.gd-suggestion-card strong {
  display: block;
  color: var(--gd-gold);
  font-size: 1.4rem;
  line-height: 1.15;
  font-weight: 400;
  margin: 6px 0 12px;
}
.gd-suggestion-tip { margin-top: 12px !important; color: var(--gd-gold) !important; }
.gd-suggestion-image img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
  margin-top: 10px;
}

/* ---- Reveal-on-load animation ---- */
.gd-reveal { animation: gd-fade-up 0.8s ease both; }
@keyframes gd-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

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

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .gd-bounce,
  .gd-reveal {
    animation: none !important;
  }

  .gd-suggestion-card:hover {
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .gd-section { padding: 64px 0; }

  .gd-hero .gd-down-link {
    position: static;
    transform: none;
    margin-top: 1.5rem !important;
  }
}
