/* Website Builder — Gostilna Marko (RESTAURANT) — Warm bistro earth tones */
:root {
  --color-bg: #faf6f0;
  --color-surface: #ffffff;
  --color-surface-soft: #f4ece1;
  --color-text: #2a2118;
  --color-muted: #6b5f52;
  --color-accent: #a8462c;
  --color-accent-hover: #8f3a24;
  --color-gold: #c99a4b;
  --color-border: #e6dac9;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --radius: 0.5rem;
  --shadow: 0 1px 3px rgba(60, 40, 20, 0.12);
  --max-width: 72rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(100% - 2rem, var(--max-width)); margin-inline: auto; }

/* Header / nav */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 40;
}
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 0; }
.site-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
}
.site-brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 1.25rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--color-text); font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--color-accent); }
.nav-toggle {
  display: none; background: none; border: none; font-size: 1.6rem;
  cursor: pointer; color: var(--color-text);
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; gap: 0.75rem; background: var(--color-surface);
    position: absolute; top: 100%; left: 0; right: 0; padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links.is-open { display: flex; }
}

/* Hero */
.hero {
  padding: var(--space-2xl) 0;
  background: linear-gradient(135deg, #3b2412 0%, #6b4526 60%, #a8462c 100%);
  color: #fff;
}
.hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.12; margin: 0 0 var(--space-md); font-family: var(--font-display); }
.hero p { font-size: 1.15rem; max-width: 40rem; color: #f3e7d6; }
.hero .btn { background: var(--color-gold); color: #2a2118; }
.hero .btn:hover { background: #e8b75f; }

.section { padding: var(--space-xl) 0; }
.section-title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 var(--space-md); }
.grid { display: grid; gap: var(--space-lg); }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* Cards */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; font-family: var(--font-display); }

/* Placeholder imagery for dishes */
.img-placeholder {
  background: linear-gradient(135deg, #e8d9c3 0%, #c99a4b 100%);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(42, 33, 24, 0.55); font-style: italic; padding: 2.5rem 1rem; text-align: center;
}

/* Pricing table */
.pricing-demo-notice {
  background: #fdf1dc;
  border: 1px solid var(--color-gold);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  margin: 0 0 var(--space-xl);
  color: #6b5c33;
}
.pricing-table { width: 100%; border-collapse: collapse; background: var(--color-surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.pricing-table th, .pricing-table td { text-align: left; padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--color-border); }
.pricing-table thead { background: var(--color-surface-soft); }
.pricing-table thead th { font-family: var(--font-display); font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.65rem 1.2rem; border-radius: var(--radius);
  background: var(--color-accent); color: #fff; font-weight: 600; border: none; cursor: pointer;
}
.btn:hover { background: var(--color-accent-hover); text-decoration: none; color: #fff; }

/* Reviews */
.reviews { background: var(--color-surface-soft); }
.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow);
}
.stars { color: var(--color-gold); font-size: 1.1rem; letter-spacing: 2px; }
.review-card .review-name { font-weight: 700; margin-bottom: 0.25rem; }
.review-card p { margin: 0.5rem 0 0; }

/* Contact form */
.contact-form { max-width: 40rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-xl); box-shadow: var(--shadow); }
.form-group { margin-bottom: var(--space-md); }
.form-group label { display: block; margin-bottom: var(--space-sm); font-weight: 600; }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.65rem 0.75rem; border: 1px solid var(--color-border);
  border-radius: var(--radius); font-family: inherit; font-size: 1rem; background: #fff;
}
.form-error { color: #b3282d; font-size: 0.85rem; margin-top: 0.3rem; }
.form-msg { padding: var(--space-md); border-radius: var(--radius); margin-top: var(--space-md); }
.form-msg.ok { background: #eaf7ec; color: #1d6b2a; }
.form-msg.err { background: #fdeaea; color: #b3282d; }

/* Footer */
.site-footer { margin-top: var(--space-2xl); padding: var(--space-xl) 0; border-top: 1px solid var(--color-border); background: #2a2118; color: #cfc0ad; font-size: 0.9rem; }
.site-footer a { color: var(--color-gold); }
.site-footer__columns { display: grid; gap: var(--space-lg); margin-bottom: var(--space-lg); }
@media (min-width: 720px) { .site-footer__columns { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer__title { font-weight: 700; color: #fff; font-family: var(--font-display); }
.site-footer .social-icons { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.social-icon { display: inline-flex; color: var(--color-gold); }
.social-icon svg { display: block; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: var(--space-lg); margin-top: var(--space-lg); }
.legal-links { display: inline; list-style: none; padding: 0; margin: 0; }
.legal-links li { display: inline; }
.legal-links li + li::before { content: " · "; }

/* Legal / prose */
.prose { max-width: 46rem; }
.prose h2 { font-family: var(--font-display); margin-top: var(--space-xl); }
