/* =========================
   RESET
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
p {
  margin: 0;
}

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

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

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* =========================
   VARIABLES
========================= */
:root {
  --parchment-1: #e2d2b2;
  --parchment-2: #ccb184;
  --wood-1: #6b3f21;
  --wood-2: #3a1f0f;
  --wood-3: #24130b;
  --gold: #d8bc79;
  --gold-soft: #f0dfb1;
  --cream: #f5ecd7;
  --dark: #120c08;
  --shadow: rgba(0, 0, 0, 0.4);
}

/* =========================
   GLOBAL
========================= */
body {
  background: var(--dark);
  color: var(--cream);
  font-family: "Cormorant Garamond", serif;
  overflow-x: hidden;
}

/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, var(--parchment-1), var(--parchment-2));
  border-top: 2px solid rgba(55, 32, 19, 0.65);
  border-bottom: 2px solid rgba(55, 32, 19, 0.45);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.8;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.15), transparent 30%),
    radial-gradient(circle at bottom, rgba(90,60,35,0.12), transparent 40%);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  width: min(100% - 1rem, 1400px);
  min-height: 64px;
  margin: 0 auto;
  padding: 0.35rem 0;
}

.brand-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 0.6rem;
  position: relative;
  z-index: 2;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 0.9rem;
  color: #f2e2bc;
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  background: linear-gradient(to bottom, var(--wood-1), var(--wood-2));
  border: 2px solid #3a2114;
  border-radius: 10px;
  box-shadow:
    0 4px 10px rgba(0,0,0,0.16),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.map-link:hover {
  filter: brightness(1.05);
}

.top-sign-wrap {
  justify-self: center;
  position: relative;
  z-index: 2;
}

.top-sign {
  position: relative;
  min-width: 230px;
  padding: 0.7rem 1.2rem;
  text-align: center;
  color: #f2e2bc;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(to bottom, #5c3922, #2c180f);
  border: 2px solid #24130b;
  border-radius: 0.35rem;
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.top-sign::before,
.top-sign::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 2px;
  background: rgba(127, 88, 49, 0.55);
}

.top-sign::before {
  left: -20px;
}

.top-sign::after {
  right: -20px;
}

.menu-toggle {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: 0.35rem;
  background: linear-gradient(to bottom, #67412a, #3a2215);
  border: 2px solid #3a2114;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.16);
  position: relative;
  z-index: 2;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: #f1e1bc;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  display: none;
  width: min(100% - 1rem, 1400px);
  margin: 0 auto;
  padding: 0 0 0.75rem;
  background: #70665d;
}

.site-nav.open {
  display: block;
  pointer-events: auto;
}

.site-nav a {
  display: block;
  padding: 0.9rem 0.3rem;
  color: #ffffff;
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(70, 42, 25, 0.12);
  text-decoration: none;
}


/* =========================
   CONTACT PAGE
========================= */
.hero,
.page-hero {
  padding: 72px 20px;
  text-align: center;
}

.hero h1,
.page-hero h1,
.hero h2,
.page-hero h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #d4a14a;
}

.hero p,
.page-hero p {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.65;
  color: #e8dcc7;
}

main,
section.content-wrap {
  padding: 32px 20px 64px;
}

.content-card,
.menu-item,
.cart,
.form-card,
.admin-card {
  background: #1b1715;
  padding: 22px;
  border-radius: 14px;
  margin: 0 auto 18px;
  max-width: 1100px;
  border: 1px solid rgba(212, 161, 74, 0.25);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.content-card h2 {
  color: #d4a14a;
  margin-top: 0;
}

.content-card p {
  line-height: 1.55;
}

button,
.cta {
  background: #d4a14a;
  color: #111;
  border: none;
  padding: 11px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
}

button:hover,
.cta:hover {
  filter: brightness(1.05);
}

.site-footer {
  background: #1a120d;
  padding: 22px 20px;
  text-align: center;
  border-top: 1px solid rgba(212, 161, 74, 0.25);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: #0f0f0f;
  color: #fff;
  margin-top: 6px;
  margin-bottom: 14px;
}

label {
  display: block;
  font-weight: 700;
}

.site-footer-small {
  background: #090909;
  color: #ffffff;
  text-align: center;
  padding: 18px 12px;
  font-size: 14px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-small {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 6px;
}

.page-hero {
  background: linear-gradient(180deg, #26170f 0%, #121212 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   MOBILE HEADER
========================= */
@media (max-width: 768px) {
  .header-inner {
    min-height: 60px;
    padding: 0.25rem 0.5rem;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .brand-left {
    padding-left: 0;
  }

  .map-link {
    min-height: 34px;
    padding: 0.4rem 0.7rem;
    font-size: 0.7rem;
  }

  .top-sign {
    min-width: 170px;
    padding: 0.55rem 0.85rem;
    font-size: .91rem;
  }

  .top-sign::before,
  .top-sign::after {
    width: 12px;
  }

  .top-sign::before {
    left: -14px;
  }

  .top-sign::after {
    right: -14px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    margin-right: 0;
  }
}

.page-hero {
  background: linear-gradient(180deg, #26170f 0%, #121212 100%);
}

.page-hero h1 {
  font-family: "Cinzel", serif;
}

.contact-grid,
.content-card,
.site-footer,
.site-footer-small {
  font-family: "Cormorant Garamond", serif;
}
