/* Restoran Park — glavna stylesheet datoteka */
@import url("../fonts/fonts.css");

:root {
  --bg: oklch(97% 0.012 75);
  --text: oklch(24% 0.02 40);
  --muted: oklch(46% 0.02 45);
  --border: oklch(87% 0.014 70);
  --section: oklch(93% 0.016 70);
  --card: oklch(99% 0.004 70);
  --primary: oklch(55% 0.15 35);
  --primary-dark: oklch(46% 0.16 32);
  --accent: oklch(48% 0.08 125);
  --dark: oklch(24% 0.02 40);
  --dark-2: oklch(35% 0.02 40);
  --dark-3: oklch(50% 0.02 40);
  --dark-text: oklch(90% 0.008 70);
  --dark-muted: oklch(75% 0.01 70);
  --dark-muted-2: oklch(65% 0.01 70);
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Work Sans', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif; }
p { margin: 0 0 16px; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea { font-family: 'Work Sans', Arial, sans-serif; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 1000px; margin: 0 auto; padding: 0 28px; }
.container-text { max-width: 900px; margin: 0 auto; padding: 0 28px; }
.container-legal { max-width: 760px; margin: 0 auto; padding: 0 28px; }

section.section { padding: 64px 28px; }
section.section-alt { background: var(--section); padding: 64px 28px; }
.py-sm { padding-top: 36px; padding-bottom: 36px; }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(99% 0.004 70);
  border-bottom: 1px solid var(--border);
  padding: 14px 28px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.brand { background: none; border: none; cursor: pointer; text-align: left; padding: 0; display: flex; flex-direction: column; text-decoration: none; }
.brand-name { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 700; color: var(--primary); line-height: 1; }
.brand-sub { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.main-nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.main-nav a {
  background: none; border: none; cursor: pointer; font-size: 14px; color: var(--text);
  padding: 6px 8px; text-decoration: none; border-radius: 4px; white-space: nowrap;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--section); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 4px; padding: 8px 12px; cursor: pointer; font-size: 20px; line-height: 1; }
.cart-btn {
  position: relative; background: var(--primary); color: #fff; border: none; border-radius: 4px;
  padding: 9px 16px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block;
}

/* Buttons */
.btn { display: inline-block; border: none; border-radius: 4px; padding: 13px 26px; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; text-align: center; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: none; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--section); }
.btn-accent { background: none; color: var(--accent); border: 1px solid var(--accent); }
.btn-accent:hover { background: var(--section); }
.btn-sm { padding: 9px 18px; font-size: 13px; border-radius: 4px; border: 1px solid var(--border); background: none; cursor: pointer; text-decoration: none; color: var(--text); display: inline-block; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Hero */
.hero { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; padding: 64px 28px; max-width: 1160px; margin: 0 auto; }
.hero-copy { flex: 1 1 380px; }
.hero-copy h1 { font-size: 52px; font-weight: 700; margin: 0 0 16px; line-height: 1.1; }
.hero-copy p { font-size: 17px; color: var(--muted); max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { flex: 1 1 380px; width: 100%; }
.hero-media img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius); }

.page-title { font-size: 44px; font-weight: 700; margin: 0 0 18px; }
.page-title-lg { font-size: 44px; font-weight: 700; margin: 0 0 30px; }
.page-lead { font-size: 16px; color: var(--muted); max-width: 680px; margin: 0 0 28px; }

/* Feature strip */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; text-align: center; }
.feature-grid .feature-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.feature-grid .feature-desc { font-size: 14px; color: var(--muted); }

/* Cards */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.card img { height: 170px; width: 100%; object-fit: cover; }
.card-body { padding: 18px; }
.card-title { font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.card-desc { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.card-price { font-weight: 700; color: var(--primary); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.grid-2-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.section-heading { font-size: 34px; font-weight: 700; margin: 0 0 8px; text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin: 0 0 36px; }

/* Split media/copy */
.split { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.split-media { flex: 1 1 340px; }
.split-media img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius); }
.split-copy { flex: 1 1 340px; }
.split-copy h2 { font-size: 32px; font-weight: 700; margin: 0 0 14px; }
.split-copy p { color: var(--muted); margin: 0 0 20px; }

/* Testimonials */
.testimonial { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.testimonial-text { font-size: 15px; margin-bottom: 12px; }
.testimonial-name { font-weight: 600; font-size: 14px; color: var(--accent); }

/* Info tiles */
.tile { background: var(--section); border-radius: var(--radius); padding: 18px; }
.tile-title { font-weight: 600; margin-bottom: 6px; }
.tile-desc { font-size: 14px; color: var(--muted); }
.tile-center { text-align: center; padding: 24px; }
.tile-center .tile-heading { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.tile-center p { font-size: 14px; color: var(--muted); margin: 0 0 14px; }

/* CTA */
.cta { max-width: 1160px; margin: 0 auto; padding: 64px 28px; text-align: center; }
.cta h2 { font-size: 32px; font-weight: 700; margin: 0 0 14px; }
.cta p { color: var(--muted); margin: 0 0 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Menu */
.menu-category { margin-bottom: 42px; }
.menu-category h2 { font-size: 28px; font-weight: 600; border-bottom: 2px solid var(--border); padding-bottom: 8px; margin: 0 0 18px; }
.menu-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--section); }
.menu-item-main { flex: 1; }
.menu-item-name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.menu-item-name { font-weight: 600; font-size: 16px; }
.menu-item-desc { font-size: 14px; color: var(--muted); margin-top: 4px; }
.menu-item-side { text-align: right; flex-shrink: 0; }
.menu-item-price { font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.badge { font-size: 11px; padding: 2px 8px; border-radius: 3px; }
.badge-delivery { background: var(--accent); color: #fff; }
.badge-instore { background: var(--border); color: var(--muted); }
.btn-add { background: var(--primary); color: #fff; border: none; border-radius: 4px; padding: 7px 14px; font-size: 13px; cursor: pointer; }

/* Cart */
.cart-line { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--section); flex-wrap: wrap; }
.cart-line-name { font-weight: 600; }
.cart-line-price { font-size: 13px; color: var(--muted); }
.qty-group { display: flex; align-items: center; gap: 10px; }
.qty-btn { width: 28px; height: 28px; border: 1px solid var(--border); background: #fff; border-radius: 4px; cursor: pointer; }
.cart-line-total { width: 70px; text-align: right; font-weight: 600; }
.cart-remove { background: none; border: none; color: var(--primary); cursor: pointer; font-size: 13px; }
.cart-summary { padding-top: 18px; text-align: right; }
.cart-summary-row { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.cart-summary-total { font-weight: 700; font-size: 18px; }
.checkout-box { background: var(--section); border-radius: var(--radius); padding: 24px; }
.checkout-box h2 { font-size: 22px; font-weight: 600; margin: 0 0 16px; }
.form-grid { display: grid; gap: 12px; margin-bottom: 16px; }
.form-grid input, .form-grid textarea, .field { padding: 10px 12px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; font-family: 'Work Sans', sans-serif; width: 100%; }
textarea.field { min-height: 70px; resize: vertical; }
.radio-row { display: flex; gap: 18px; margin-bottom: 18px; font-size: 14px; flex-wrap: wrap; }
.radio-row label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.form-note { font-size: 12px; color: var(--muted); margin: 14px 0 0; }
.empty-cart { text-align: center; padding: 40px 0; }
.empty-cart p { color: var(--muted); margin: 0 0 18px; }
.thankyou-box { background: var(--section); border-radius: var(--radius); padding: 32px; text-align: center; }
.thankyou-box .h { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.thankyou-box p { color: var(--muted); margin: 0 0 6px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.gallery-grid img, .gallery-grid figure { height: 200px; width: 100%; object-fit: cover; border-radius: var(--radius); margin: 0; }
.gallery-grid figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 6px; }

/* Blog */
.blog-post { display: flex; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; border-bottom: 1px solid var(--section); padding-bottom: 30px; }
.blog-post img { flex: 0 0 220px; width: 220px; height: 150px; object-fit: cover; border-radius: var(--radius); }
.blog-post-body { flex: 1 1 300px; }
.blog-date { font-size: 13px; color: var(--accent); margin-bottom: 6px; }
.blog-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.blog-excerpt { font-size: 14px; color: var(--muted); margin: 0; }

/* FAQ */
.faq-item { padding: 18px 0; border-bottom: 1px solid var(--section); }
.faq-q { font-weight: 600; font-size: 16px; margin-bottom: 6px; }
.faq-a { font-size: 14px; color: var(--muted); }

/* Contact */
.contact-grid { display: flex; gap: 48px; flex-wrap: wrap; }
.contact-info { flex: 1 1 300px; }
.contact-block { margin-bottom: 20px; }
.contact-block .label { font-weight: 600; margin-bottom: 4px; }
.contact-block .value { color: var(--muted); }
.contact-form-col { flex: 1 1 320px; }
.map-frame { width: 100%; height: 260px; border: 0; border-radius: var(--radius); }

/* Legal pages */
.legal h1 { font-size: 38px; font-weight: 700; margin: 0 0 24px; }
.legal h2 { font-size: 20px; font-weight: 600; margin: 24px 0 10px; }
.legal p { color: var(--muted); margin: 0 0 16px; }
.legal-box { background: var(--section); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.legal-box p { margin: 0 0 6px; color: var(--muted); }
.legal-box p.strong { font-weight: 600; color: var(--text); }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 36px; }
.step-num { font-weight: 700; font-size: 20px; color: var(--primary); margin-bottom: 6px; }
.step-desc { font-size: 14px; color: var(--muted); }

/* Pricing packages */
.package { background: var(--section); border-radius: var(--radius); padding: 24px; }
.package-name { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.package-price { font-weight: 700; color: var(--primary); font-size: 22px; margin-bottom: 14px; }
.package-desc { font-size: 14px; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-text); padding: 56px 28px 24px; }
.footer-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-bottom: 32px; }
.footer-brand { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-line { font-size: 14px; color: var(--dark-muted); margin-bottom: 4px; }
.footer-heading { font-weight: 600; color: #fff; margin-bottom: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { background: none; border: none; color: var(--dark-muted); text-align: left; padding: 0; cursor: pointer; font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.social-row { display: flex; gap: 10px; }
.social-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--dark-2); display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; text-decoration: none; }
.footer-bottom { max-width: 1160px; margin: 0 auto; border-top: 1px solid var(--dark-2); padding-top: 20px; font-size: 13px; color: var(--dark-muted-2); }

/* Cookie banner */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; background: var(--dark); color: #fff;
  padding: 16px 28px; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; z-index: 100;
}
.cookie-banner span { font-size: 13px; max-width: 640px; }
.cookie-actions { display: flex; gap: 10px; }
.btn-cookie-info { background: none; color: #fff; border: 1px solid var(--dark-3); border-radius: 4px; padding: 8px 16px; font-size: 13px; cursor: pointer; }
.btn-cookie-accept { background: var(--primary); color: #fff; border: none; border-radius: 4px; padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer; }
.hidden { display: none !important; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  .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 8px; }
  .hero-copy h1 { font-size: 38px; }
}
