:root {
  --bg-color: #fdf6ec;
  --surface-color: #ffffff;
  --text-color: #2e1e0f;
  --muted-text: #6b5644;

  --brown-dark: #3a2410;
  --brown: #713c00;
  --brown-light: #8b5e3c;
  --gold: #e5b302;
  --gold-light: #f6d365;
  --cream: #fdf6ec;

  --error-color: #e63946;
  --success-color: #2f7a4d;

  --shadow: 0 4px 14px rgba(58, 36, 16, 0.12);
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  padding-top: 76px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Sail', cursive;
  color: var(--brown);
  line-height: 1.2;
  margin-top: 0;
}

a {
  color: var(--brown);
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Navbar ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(253, 246, 236, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(58, 36, 16, 0.1);
  z-index: 1000;
}

.nav-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--brown-dark);
  text-decoration: none;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background-color: var(--gold);
  color: var(--brown-dark);
}

.nav-links a.cta {
  background-color: var(--brown);
  color: var(--cream);
  border: 2px solid var(--brown);
}

.nav-links a.cta:hover {
  background-color: var(--brown-dark);
  border-color: var(--brown-dark);
}

.hamburger {
  display: none;
  font-size: 28px;
  color: var(--brown-dark);
  cursor: pointer;
  background: none;
  border: none;
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    background-color: var(--surface-color);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    text-align: center;
    margin: 4px 0;
  }

  .hamburger {
    display: block;
  }
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  background-color: var(--brown);
  color: var(--cream);
  border: 2px solid var(--brown);
  padding: 12px 28px;
  border-radius: 8px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow);
}

.btn:hover {
  background-color: var(--brown-dark);
  border-color: var(--brown-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--brown);
}

.btn-outline:hover {
  background-color: var(--brown);
  color: var(--cream);
}

/* ============ Hero ============ */
.hero {
  background: radial-gradient(circle at 20% 20%, var(--gold-light) 0%, transparent 45%),
              linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: var(--cream);
  padding: 90px 24px 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(253, 246, 236, 0.08) 2px, transparent 2px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero-logo {
  width: 220px;
  height: auto;
  margin: 0 auto 24px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}

.hero h1 {
  color: var(--cream);
  font-size: 48px;
  margin-bottom: 12px;
}

.hero p.tagline {
  font-size: 20px;
  color: var(--gold-light);
  margin-bottom: 32px;
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-outline {
  color: var(--cream);
  border-color: var(--cream);
}

.hero .btn-outline:hover {
  background-color: var(--cream);
  color: var(--brown-dark);
}

/* ============ Sections ============ */
section {
  padding: 64px 24px;
}

section.alt {
  background-color: var(--surface-color);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--muted-text);
}

/* ============ Cards / Grid ============ */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  background-color: var(--surface-color);
  border: 1px solid rgba(58, 36, 16, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 10px;
}

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}

/* ============ Schedule List ============ */
.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 560px;
  margin: 0 auto;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(58, 36, 16, 0.12);
}

.schedule-list li:last-child {
  border-bottom: none;
}

.schedule-day {
  font-weight: 700;
  color: var(--brown);
}

.schedule-note {
  text-align: center;
  color: var(--muted-text);
  margin-top: 20px;
  font-size: 15px;
}

/* ============ Menu ============ */
.menu-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--surface-color);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}

.menu-table th,
.menu-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(58, 36, 16, 0.08);
}

.menu-table th {
  background-color: var(--brown);
  color: var(--cream);
  font-family: 'Playfair Display', serif;
}

.menu-table td.price {
  text-align: center;
  white-space: nowrap;
}

.menu-table tr:last-child td {
  border-bottom: none;
}

.menu-note {
  background-color: var(--gold-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  color: var(--brown-dark);
  font-size: 15px;
}

.menu-flat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.menu-flat-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(58, 36, 16, 0.15);
}

/* ============ Forms ============ */
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-weight: 700;
  font-size: 15px;
}

.field .optional {
  font-weight: 400;
  color: var(--muted-text);
  font-style: italic;
}

.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 2px solid rgba(58, 36, 16, 0.2);
  border-radius: 8px;
  background-color: var(--surface-color);
  color: var(--text-color);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brown);
}

.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: var(--error-color);
}

.field-error {
  color: var(--error-color);
  font-size: 13px;
  display: none;
}

.field-error.show {
  display: block;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#form-status {
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 600;
  display: none;
}

#form-status.show {
  display: block;
}

#form-status.success {
  background-color: #dcefe1;
  color: var(--success-color);
  border: 1px solid var(--success-color);
}

#form-status.error {
  background-color: #fbe2e4;
  color: var(--error-color);
  border: 1px solid var(--error-color);
}

/* ============ Contact / Info blocks ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

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

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-item .icon-badge {
  margin-bottom: 0;
  flex-shrink: 0;
}

/* ============ Footer ============ */
footer {
  background-color: var(--brown-dark);
  color: var(--cream);
  padding: 48px 24px 24px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 820px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
}

.footer-content h4 {
  color: var(--gold-light);
  margin-bottom: 12px;
}

.footer-content a {
  color: var(--cream);
  text-decoration: none;
}

.footer-content a:hover {
  color: var(--gold-light);
}

.footer-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-content ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(253, 246, 236, 0.15);
  font-size: 14px;
  color: rgba(253, 246, 236, 0.7);
}

/* ============ Page header (non-home pages) ============ */
.page-header {
  background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: var(--cream);
  text-align: center;
  padding: 64px 24px 48px;
}

.page-header h1 {
  color: var(--cream);
  font-size: 42px;
  margin-bottom: 8px;
}

.page-header p {
  color: var(--gold-light);
  font-size: 18px;
}
