:root {
  --bg: #ffffff;
  --bg-soft: #fff9f3;
  --brand-gold: #e7b84a;
  --brand-orange: #f0853b;
  --brand-cream: #fff8ef;
  --text: #2b2b2b;
  --muted: #7a6b61;
}

/* Palette classes: assign one to <body> to switch accents quickly */
.palette-warm {
  --bg: #ffffff;
  --bg-soft: #fff9f3;
  --brand-gold: #e7b84a;
  --brand-orange: #f0853b;
  --brand-cream: #fff8ef;
  --text: #2b2b2b;
  --muted: #7a6b61;
}

.palette-teal {
  --bg: #ffffff;
  --bg-soft: #f4fffb;
  --brand-gold: #2aa198; /* primary teal */
  --brand-orange: #198f7a; /* secondary teal */
  --brand-cream: #f0fff9;
  --text: #163233;
  --muted: #4c6b66;
}

.palette-berry {
  --bg: #ffffff;
  --bg-soft: #fff5fb;
  --brand-gold: #c14a7a; /* berry */
  --brand-orange: #ff6f9a; /* accent */
  --brand-cream: #fff3f7;
  --text: #2b1f2b;
  --muted: #7a5f6f;
}

/* Subtle decorative background (non-animated) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: radial-gradient(ellipse at 10% 10%, rgba(224,169,45,0.04) 0%, transparent 20%),
    radial-gradient(ellipse at 90% 90%, rgba(240,133,59,0.03) 0%, transparent 22%),
    linear-gradient(135deg, rgba(250,250,250,0.6), rgba(255,255,255,0.55));
  mix-blend-mode: normal;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  scroll-behavior: smooth;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.45rem 0.75rem;
  background: var(--brand-gold);
  color: #fff;
  border-radius: 6px;
  z-index: 120;
}

.three-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at top right, rgba(231, 184, 74, 0.08), transparent 40%),
    radial-gradient(circle at bottom left, rgba(240, 133, 59, 0.06), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 244, 0.98));
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(180, 150, 110, 0.14);
}

.nav-wrap {
  width: min(1100px, 92%);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

/* Ensure nav-wrap is positioned for absolute mobile menu */
.nav-wrap {
  position: relative;
}

/* Medium breakpoint: show hamburger and use dropdown menu */
@media (max-width: 1024px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.6rem);
    background: var(--bg-soft);
    border: 1px solid rgba(170,140,100,0.08);
    padding: 0.6rem;
    border-radius: 10px;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 220px;
    max-width: 380px;
    box-shadow: 0 10px 30px rgba(40,30,20,0.06);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    background: transparent;
  }
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.08rem;
  color: var(--brand-gold);
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  list-style: none;
}

.menu-toggle {
  display: none;
  border: 0;
  background: #ffe4bf;
  color: var(--text);
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.nav-links a {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: all 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--brand-orange);
  color: #fff;
}

.hero {
  min-height: 72vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem 2rem;
}

.hero .parallax {
  max-width: 920px;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4.4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--brand-gold);
}

.hero p {
  color: var(--muted);
  max-width: 760px;
  margin: auto;
  font-size: clamp(1rem, 2vw, 1.3rem);
}

.typing {
  color: var(--brand-orange);
  font-weight: 700;
}

.cta-group {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  min-height: 44px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.btn-primary {
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-orange));
  color: var(--text);
}

.btn-secondary {
  border-color: var(--brand-gold);
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
}

.section {
  width: min(1100px, 92%);
  margin: 0 auto 5rem;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  margin-bottom: 1.2rem;
}

.section-title span {
  color: var(--brand-gold);
}

.glass {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(200, 160, 100, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(80, 60, 40, 0.06);
}

.parallax {
  transform: translateY(0);
  transition: transform 0.08s linear;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card:not(.glass) {
  padding: 1.2rem;
  background: var(--brand-cream);
  border-radius: 12px;
}

.contact-form-wide {
  grid-column: span 2;
}

.card h3 {
  color: var(--brand-gold);
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--muted);
  line-height: 1.55;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(111, 90, 73, 0.25);
  padding: 0.75rem 0;
  gap: 1rem;
}

.menu-item strong {
  color: #3f2f21;
}

.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.photo {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(200, 160, 110, 0.12);
  background: #fff;
}

.photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo:hover img {
  transform: scale(1.08);
}

form {
  display: grid;
  gap: 0.85rem;
}

input,
textarea {
  background: #ffffff;
  color: var(--text);
  border: 1px solid rgba(170, 140, 100, 0.12);
  border-radius: 10px;
  padding: 0.8rem;
  font: inherit;
  box-shadow: 0 2px 8px rgba(90, 70, 50, 0.03);
}

:where(button, a, input, textarea):focus-visible {
  outline: 3px solid rgba(224,169,45,0.18);
  outline-offset: 3px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.status-msg {
  font-size: 0.95rem;
  color: var(--brand-gold);
}

footer {
  margin-top: 3rem;
  padding: 1.2rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid rgba(180, 150, 110, 0.10);
}

@media (max-width: 760px) {
  .nav-wrap {
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.85rem 0;
  }

  .logo {
    font-size: 1.05rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.45rem;
    background: #fff7ea;
    border: 1px solid rgba(224, 169, 45, 0.25);
    border-radius: 12px;
    padding: 0.8rem;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    display: block;
    text-align: center;
    background: #fffefb;
  }

  .hero {
    min-height: 68vh;
  }

  .section {
    margin-bottom: 2.5rem;
  }

  .photo img {
    height: 200px;
  }

  .contact-form-wide {
    grid-column: span 1 !important;
  }
}
