/* Restavracija Park — site stylesheet */

:root {
  --bg: #faf7f2;
  --bg-alt: #f2ecdf;
  --text: #362a1f;
  --text-muted: #6b5c4d;
  --border: #e8e0d2;
  --dark: #241c15;
  --dark-border: #3c3226;
  --accent: #b5502e;
  --accent-dark: #963f22;
  --accent-soft: #f3ddd1;
  --white: #ffffff;
  --success: #2f7d4f;
  --font-serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', serif;
  --font-sans: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(36, 28, 21, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-serif); margin: 0; color: var(--text); }
p { margin: 0 0 14px; }
ul { margin: 0; }
::selection { background: var(--accent-soft); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.container-legal { max-width: 780px; margin: 0 auto; padding: 0 24px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 800; font-size: 15px;
  padding: 15px 30px; border-radius: 6px; border: none; cursor: pointer;
  text-decoration: none; line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-alt); color: var(--text); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #362a1f; color: #fff; }
.btn-sm { padding: 10px 16px; font-size: 13px; border-radius: 6px; }
.btn-block { width: 100%; }

/* Cookie banner */
#cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 500;
  background: var(--dark); color: #f4efe8; padding: 18px 24px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.25);
}
#cookie-banner[hidden] { display: none; }
#cookie-banner p { max-width: 720px; font-size: 14px; margin: 0; }
#cookie-banner a { color: #e3b795; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button { font-family: inherit; font-size: 14px; padding: 10px 18px; border-radius: 4px; cursor: pointer; }
#cookie-decline { background: transparent; color: #eee7dd; border: 1px solid #6b5c4d; }
#cookie-accept { background: var(--accent); color: #fff; border: none; font-weight: 700; padding: 10px 20px; }

/* Overlay + cart drawer */
#overlay {
  position: fixed; inset: 0; background: rgba(20,15,10,0.45); z-index: 400;
}
#overlay[hidden] { display: none; }
#cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 92vw);
  background: #fff; z-index: 450; box-shadow: -12px 0 32px rgba(0,0,0,0.18);
  display: flex; flex-direction: column; transform: translateX(0);
}
#cart-drawer[hidden] { display: none; }
.cart-head {
  padding: 20px 22px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-head h2 { font-size: 20px; }
#cart-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text-muted); }
.cart-body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.cart-empty { padding: 40px 10px; text-align: center; color: var(--text-muted); }
.cart-success { padding: 30px 10px; text-align: center; }
.cart-success .mark { font-size: 40px; margin-bottom: 12px; color: var(--success); }
.cart-success .title { font-family: var(--font-serif); font-size: 20px; margin-bottom: 8px; }
.cart-success .desc { color: var(--text-muted); font-size: 14px; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f1ece2; }
.cart-item .thumb { width: 56px; height: 56px; flex-shrink: 0; border-radius: 6px; object-fit: cover; background: var(--bg-alt); }
.cart-item .info { flex: 1; }
.cart-item .name { font-weight: 700; font-size: 14px; }
.cart-item .price { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.cart-item .qty-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-btn { width: 24px; height: 24px; border-radius: 4px; border: 1px solid var(--border); background: #fff; cursor: pointer; line-height: 1; }
.cart-item .qty-val { font-size: 13px; min-width: 16px; text-align: center; }
.cart-item .remove { margin-left: auto; background: none; border: none; color: var(--accent); font-size: 12px; cursor: pointer; text-decoration: underline; }
.cart-item .line-total { font-weight: 700; font-size: 14px; white-space: nowrap; }
.cart-footer { padding: 18px 22px; border-top: 1px solid var(--border); }
.cart-total-row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 14px; }
.cart-total-row strong { font-weight: 800; }
.checkout-fields { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.cart-legal { font-size: 11px; color: var(--text-muted); margin-top: 10px; text-align: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 300;
  background: rgba(250, 247, 242, 0.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand { cursor: pointer; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-weight: 800; font-size: 24px; color: #3a2c1e; }
.brand-tag { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.main-nav a {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: #3a2c1e;
  padding: 8px 12px; border-radius: 6px; text-decoration: none;
}
.main-nav a:hover { background: var(--bg-alt); text-decoration: none; }
.main-nav a.active { color: var(--accent); font-weight: 800; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.phone-link { font-size: 13px; font-weight: 700; color: #3a2c1e; white-space: nowrap; }
#cart-toggle {
  position: relative; background: var(--dark); color: #fff; border: none;
  padding: 10px 16px; border-radius: 6px; font-family: inherit; font-weight: 700; font-size: 13px; cursor: pointer;
}
.cart-badge {
  position: absolute; top: -7px; right: -7px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 800; width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.cart-badge[hidden] { display: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 6px; padding: 8px 10px; cursor: pointer; font-size: 18px; }

/* Hero */
.hero {
  position: relative; padding: 70px 24px 0; overflow: hidden;
  background: linear-gradient(180deg, #f2e6d8, var(--bg));
}
.hero-inner {
  position: relative; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  padding-bottom: 50px;
}
.hero-eyebrow {
  display: inline-block; padding: 6px 16px; border-radius: 100px; background: var(--accent-soft);
  color: var(--accent-dark); font-size: 12px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; margin: 0 0 20px; line-height: 1.1; }
.hero p.lead { font-size: 18px; color: var(--text-muted); max-width: 520px; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 360px; object-fit: cover; }

/* Sections */
.section { padding: 70px 24px; }
.section-tight { padding: 60px 24px; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #eee5da; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 30px; margin-bottom: 8px; }
.section-head p { color: var(--text-muted); margin: 0; }

.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-stats { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); text-align: center; }

.feature-card {
  cursor: pointer; background: #fff; border-radius: 12px; padding: 30px 24px;
  border: 1px solid var(--border); transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none; color: inherit; display: block;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.feature-card .icon { font-size: 30px; margin-bottom: 14px; }
.feature-card .title { font-family: var(--font-serif); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.feature-card .desc { font-size: 14px; color: var(--text-muted); }

.banquet-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  max-width: 1000px; margin: 0 auto;
}
.banquet-cta h2 { font-size: 26px; margin-bottom: 8px; color: #fff; }
.banquet-cta p { color: #cbb9a3; font-size: 15px; margin: 0; max-width: 600px; }

.dish-card, .product-card {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: #fff;
  display: flex; flex-direction: column;
}
.dish-card img, .product-card img { height: 160px; width: 100%; object-fit: cover; }
.dish-body, .product-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.dish-title-row { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 6px; gap: 10px; }
.dish-title-row .price { color: var(--accent); white-space: nowrap; }
.dish-desc, .product-desc { font-size: 13px; color: var(--text-muted); flex: 1; margin-bottom: 14px; }
.product-badge { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); margin-bottom: 6px; }
.product-name { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price { font-weight: 800; font-size: 16px; }
.add-to-cart {
  background: var(--dark); color: #fff; border: none; padding: 10px 16px; border-radius: 6px;
  font-family: inherit; font-weight: 700; font-size: 13px; cursor: pointer;
}
.add-to-cart:hover { background: #362a1f; }

.testimonial-card {
  background: #fff; border-radius: 12px; padding: 24px; border: 1px solid var(--border);
}
.stars { color: var(--accent); font-size: 15px; margin-bottom: 10px; }
.quote { font-size: 14px; font-style: italic; color: #4a392a; margin-bottom: 14px; }
.author { font-size: 13px; font-weight: 700; }

.stat-num { font-family: var(--font-serif); font-size: 32px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* Photo grid (gallery) */
.photo-grid img { border-radius: 10px; height: 160px; width: 100%; object-fit: cover; }
.photo-grid figure { margin: 0; }
.photo-grid figcaption { font-size: 12px; color: var(--text-muted); margin-top: 6px; text-align: center; }

/* Info cards */
.info-card { background: var(--bg-alt); border-radius: 12px; padding: 22px; }
.info-card .title { font-weight: 800; font-family: var(--font-serif); margin-bottom: 8px; }
.info-card .desc { font-size: 14px; color: var(--text-muted); }

/* Menu */
.menu-category { margin-bottom: 40px; }
.menu-category h2 { font-size: 22px; border-bottom: 2px solid var(--accent); padding-bottom: 8px; margin-bottom: 18px; }
.menu-item { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.menu-item .name { font-weight: 700; font-size: 15px; }
.menu-item .desc { font-size: 13px; color: var(--text-muted); }
.menu-item .price { font-weight: 800; white-space: nowrap; color: var(--accent); }
.menu-note { background: var(--bg-alt); border-radius: 12px; padding: 24px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* Forms */
.form-panel { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 26px; }
.form-panel h3 { margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.field label { font-size: 13px; font-weight: 700; color: var(--text); }
input, textarea, select {
  padding: 11px 13px; border-radius: 6px; border: 1px solid var(--border);
  font-family: inherit; font-size: 14px; width: 100%; background: #fff; color: var(--text);
}
textarea { resize: vertical; }
.form-success { color: var(--success); font-weight: 700; padding: 20px 0; text-align: center; }
.form-error { color: var(--accent-dark); font-weight: 700; padding: 10px 0; text-align: center; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.required-mark { color: var(--accent); }

/* Two column layout */
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.two-col.contact-cols { grid-template-columns: 1fr 1fr; }
@media (max-width: 800px) {
  .two-col, .two-col.contact-cols { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media img { height: 260px; }
}

.address-block { font-size: 15px; }
.address-block .name { font-weight: 800; margin-bottom: 6px; }
.address-block .hours-title { margin-top: 14px; font-weight: 700; }

/* Steps */
.step-card { text-align: center; padding: 24px 16px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.step-num {
  width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 50%; background: var(--accent);
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.step-title { font-weight: 700; margin-bottom: 6px; }
.step-desc { font-size: 13px; color: var(--text-muted); }

/* Legal pages */
.legal-content { font-size: 15px; color: #4a392a; display: flex; flex-direction: column; gap: 16px; }
.legal-content h1 { font-size: 34px; margin-bottom: 10px; }

/* Footer */
.site-footer { background: var(--dark); color: #cbbfae; padding: 60px 24px 30px; }
.footer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 34px; }
.footer-col-title { font-weight: 800; color: #fff; margin-bottom: 12px; font-size: 14px; }
.footer-brand { font-family: var(--font-serif); font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-address { font-size: 13px; line-height: 1.7; }
.footer-links { font-size: 13px; display: flex; flex-direction: column; gap: 6px; }
.footer-links a { color: #cbbfae; }
.footer-bottom {
  max-width: 1180px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--dark-border);
  font-size: 12px; color: #9c8f7c; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

@media (max-width: 900px) {
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; order: 3; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 12px; }
  .nav-toggle { display: inline-flex; }
  .header-inner { position: relative; }
}
