/* LUKOVSKÁ PIZZERIE — hlavní styly */

@import url('https://fonts.googleapis.com/css2?family=Domine:wght@500;600;700&family=Mulish:wght@400;500;600;700;800&display=swap');

:root{
  --color-bg: oklch(97% 0.014 75);
  --color-text: oklch(24% 0.03 40);
  --color-primary: oklch(56% 0.16 35);
  --color-primary-hover: oklch(46% 0.15 35);
  --color-dark: oklch(24% 0.03 40);
  --color-footer-bg: oklch(20% 0.025 40);
  --color-footer-border: oklch(35% 0.02 40);
  --color-muted-1: oklch(45% 0.03 40);
  --color-muted-2: oklch(40% 0.03 40);
  --color-muted-3: oklch(35% 0.03 40);
  --color-muted-4: oklch(32% 0.03 40);
  --color-card-bg: oklch(99% 0.005 80);
  --color-section-bg: oklch(94% 0.02 70);
  --color-border: oklch(90% 0.02 70);
  --color-border-2: oklch(88% 0.02 70);
  --color-border-3: oklch(85% 0.02 70);
  --color-green: oklch(52% 0.08 130);
  --color-green-text: oklch(40% 0.06 130);
  --color-success: oklch(45% 0.09 130);
  --font-serif: 'Domine', Georgia, serif;
  --font-sans: 'Mulish', Arial, sans-serif;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a{ color: var(--color-primary); text-decoration: none; }
a:hover{ color: var(--color-primary-hover); text-decoration: underline; }
::selection{ background: oklch(56% 0.16 35 / 0.25); }
img{ max-width: 100%; display: block; }

h1, h2, h3{ font-family: var(--font-serif); }

.wrap{ max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- TOP BAR ---------- */
.topbar{
  background: var(--color-dark);
  color: oklch(94% 0.01 75);
  font-size: 13px;
}
.topbar-inner{
  max-width: 1160px; margin: 0 auto; padding: 6px 24px;
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
}
.topbar a{ color: oklch(80% 0.1 60); }

/* ---------- NAV ---------- */
.nav{
  position: sticky; top: 0; z-index: 30;
  background: oklch(97% 0.014 75 / 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border-2);
}
.nav-inner{
  max-width: 1160px; margin: 0 auto; padding: 14px 24px;
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
}
.brand{ display: flex; align-items: center; gap: 10px; cursor: pointer; }
.brand-mark{
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 18px;
  flex-shrink: 0;
}
.brand-name{ font-family: var(--font-serif); font-weight: 700; font-size: 19px; line-height: 1.1; }
.brand-name small{ display: block; font-size: 12px; font-weight: 500; letter-spacing: 2px; color: var(--color-muted-2); }

.nav-links{ display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.nav-link{
  cursor: pointer; padding: 6px 2px; font-weight: 600; font-size: 14px;
  color: var(--color-muted-2); border-bottom: 2px solid transparent;
}
.nav-link.active{ color: var(--color-primary); border-bottom: 2px solid var(--color-primary); }

.cart-btn{
  position: relative; cursor: pointer; background: var(--color-primary); color: #fff;
  padding: 10px 16px; border-radius: 4px; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px; border: none;
  font-family: inherit;
}
.cart-btn:hover{ background: var(--color-primary-hover); }
.cart-badge{
  background: #fff; color: var(--color-primary); border-radius: 50%;
  min-width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
  font-size: 12px; padding: 0 4px;
}

/* ---------- CART DRAWER ---------- */
.cart-overlay{
  position: fixed; inset: 0; background: oklch(20% 0.02 40 / 0.45); z-index: 50;
  display: none; justify-content: flex-end;
}
.cart-overlay.open{ display: flex; }
.cart-panel{
  width: min(420px, 100%); background: oklch(99% 0.005 80); height: 100%;
  padding: 28px 24px; overflow-y: auto; box-shadow: -8px 0 30px oklch(20% 0.02 40 / 0.2);
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn{ from{ opacity: 0; transform: translateY(6px); } to{ opacity: 1; transform: translateY(0); } }
.cart-header{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.cart-header h3{ font-size: 22px; margin: 0; }
.cart-close{ cursor: pointer; font-size: 22px; color: var(--color-muted-2); background: none; border: none; }
.cart-empty{ color: var(--color-muted-1); }
.cart-item{ display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--color-border); align-items: flex-start; }
.cart-item-name{ font-weight: 700; font-size: 15px; }
.cart-item-price{ font-size: 13px; color: var(--color-muted-1); margin-top: 2px; }
.qty-row{ display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty-btn{
  width: 26px; height: 26px; border: 1px solid var(--color-border-3); border-radius: 4px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: #fff; font-family: inherit;
}
.cart-item-total{ text-align: right; }
.cart-item-total .amount{ font-weight: 700; }
.cart-remove{ font-size: 12px; color: var(--color-primary); cursor: pointer; background: none; border: none; padding: 0; }
.cart-summary-row{ display: flex; justify-content: space-between; font-size: 14px; color: var(--color-muted-1); margin-bottom: 4px; }
.cart-total-row{
  display: flex; justify-content: space-between; font-family: var(--font-serif); font-size: 19px; font-weight: 700;
  padding-top: 10px; border-top: 1px solid var(--color-border-2); margin: 10px 0 16px;
}
.btn{
  display: inline-block; background: var(--color-primary); color: #fff; text-align: center;
  padding: 13px; border-radius: 4px; font-weight: 700; cursor: pointer; border: none;
  font-family: inherit; font-size: 14px; width: 100%;
}
.btn:hover{ background: var(--color-primary-hover); color: #fff; text-decoration: none; }
.btn-inline{ width: auto; padding: 14px 28px; }
.btn-outline{ background: transparent; border: 1px solid #fff; color: #fff; }
.btn-outline:hover{ background: rgba(255,255,255,0.1); color: #fff; }
.btn-white{ background: #fff; color: var(--color-green-text); }
.btn-white:hover{ background: #f2f2f2; color: var(--color-green-text); }

/* ---------- HERO ---------- */
.hero{
  width: 100%; height: 520px; position: relative;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
}
.hero-overlay{ position: absolute; inset: 0; background: oklch(15% 0.02 40 / 0.5); }
.hero-content{ position: relative; text-align: center; max-width: 720px; padding: 0 24px; color: #fff; }
.hero-content h1{ font-size: 48px; line-height: 1.15; margin: 0 0 16px; }
.hero-content p{ font-size: 18px; line-height: 1.6; opacity: 0.95; margin: 0 0 28px; }
.hero-actions{ display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.page-hero{ max-width: 900px; margin: 0 auto; padding: 48px 24px; }
.page-hero.wide{ max-width: 1160px; }

/* ---------- FEATURES ---------- */
.features{
  max-width: 1160px; margin: 0 auto; padding: 48px 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px;
}
.feature{ text-align: center; padding: 20px; }
.feature-icon{ font-size: 30px; margin-bottom: 8px; }
.feature-title{ font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.feature-text{ font-size: 14px; color: var(--color-muted-1); line-height: 1.5; }

/* ---------- SECTIONS ---------- */
.section-alt{ background: var(--color-section-bg); padding: 56px 24px; }
.section-head{ display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.section-head h2{ font-size: 30px; margin: 0; }
.link-arrow{ cursor: pointer; font-weight: 700; }

.grid-cards{ display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px; }
.card{ background: var(--color-card-bg); border-radius: 6px; overflow: hidden; box-shadow: 0 2px 10px oklch(30% 0.02 40 / 0.06); }
.card-photo{ width: 100%; height: 150px; object-fit: cover; }
.card-body{ padding: 16px; }
.card-title{ font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.card-desc{ font-size: 13px; color: var(--color-muted-1); line-height: 1.5; min-height: 38px; }
.card-foot{ display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.price{ font-weight: 800; }
.add-btn{
  background: var(--color-primary); color: #fff; padding: 8px 14px; border-radius: 4px;
  font-size: 13px; font-weight: 700; cursor: pointer; border: none; font-family: inherit;
}
.add-btn:hover{ background: var(--color-primary-hover); }

.story{ max-width: 1160px; margin: 0 auto; padding: 56px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.story img{ height: 320px; width: 100%; object-fit: cover; border-radius: 6px; }
.story h2{ font-size: 30px; margin: 0 0 14px; }
.story p{ font-size: 15px; line-height: 1.7; color: var(--color-muted-4); margin: 0 0 14px; }

.lunch-banner{ background: var(--color-green); color: #fff; padding: 48px 24px; }
.lunch-banner-inner{ max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.lunch-banner h2{ font-size: 26px; margin: 0 0 8px; }
.lunch-banner p{ margin: 0; opacity: 0.9; font-size: 15px; }

.testimonials{ max-width: 1160px; margin: 0 auto; padding: 56px 24px; }
.testimonials h2{ font-size: 28px; margin: 0 0 28px; text-align: center; }
.testimonial{ background: var(--color-card-bg); padding: 22px; border-radius: 6px; border: 1px solid var(--color-border); }
.stars{ color: var(--color-primary); margin-bottom: 8px; }
.testimonial p{ font-size: 14px; line-height: 1.6; color: var(--color-muted-3); margin: 0 0 10px; }
.testimonial .author{ font-weight: 700; font-size: 13px; }

.cta-band{ background: var(--color-dark); color: #fff; padding: 48px 24px; text-align: center; }
.cta-band h2{ font-size: 28px; margin: 0 0 10px; }
.cta-band p{ margin: 0 0 22px; opacity: 0.85; }

/* ---------- MENU PAGE ---------- */
.menu-page{ max-width: 1160px; margin: 0 auto; padding: 48px 24px; }
.menu-page > p.lead{ color: var(--color-muted-1); margin: 0 0 28px; }
.tabs{ display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.tab{
  cursor: pointer; padding: 10px 18px; border-radius: 20px; font-size: 14px; font-weight: 700;
  background: var(--color-section-bg); color: var(--color-muted-2); border: none; font-family: inherit;
}
.tab.active{ background: var(--color-primary); color: #fff; }
.menu-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 18px; }
.menu-item{
  background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 6px; padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.menu-item-head{ display: flex; justify-content: space-between; gap: 10px; }
.menu-item-head .name{ font-family: var(--font-serif); font-weight: 700; font-size: 16px; }
.menu-item-head .price{ font-weight: 800; white-space: nowrap; }
.menu-item-desc{ font-size: 13px; color: var(--color-muted-1); line-height: 1.5; flex: 1; }
.menu-item .add-btn{ align-self: flex-start; padding: 8px 16px; }
.menu-note{ margin-top: 36px; padding: 18px 20px; background: var(--color-section-bg); border-radius: 6px; font-size: 13px; color: var(--color-muted-4); line-height: 1.6; }
.menu-category{ display: none; }
.menu-category.active{ display: block; }

/* ---------- ABOUT ---------- */
.about-photo{ width: 100%; height: 280px; object-fit: cover; border-radius: 6px; margin-bottom: 28px; }
.about-text p{ font-size: 16px; line-height: 1.8; color: var(--color-muted-4); margin: 0 0 18px; }
.stat-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 20px; margin-top: 32px; }
.stat-box{ text-align: center; padding: 18px; background: var(--color-section-bg); border-radius: 6px; }
.stat-num{ font-family: var(--font-serif); font-weight: 700; font-size: 28px; color: var(--color-primary); }
.stat-label{ font-size: 13px; color: var(--color-muted-1); }

/* ---------- DELIVERY ---------- */
.two-col{ display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }
.info-box{ background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 6px; padding: 22px; }
.info-box h3{ margin: 0 0 12px; }
.info-box ul{ margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.9; color: var(--color-muted-3); }
.info-box p{ font-size: 14px; line-height: 1.8; color: var(--color-muted-3); margin: 0; }
.pay-box{ background: var(--color-section-bg); border-radius: 6px; padding: 22px; margin-bottom: 32px; }
.pay-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 14px; font-size: 14px; color: var(--color-muted-3); }
.hours-table{ background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 6px; overflow: hidden; }
.hours-row{ display: flex; justify-content: space-between; padding: 10px 18px; font-size: 14px; border-bottom: 1px solid var(--color-border-2); }
.hours-row:last-child{ border-bottom: none; }

/* ---------- CONTACT ---------- */
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.map-embed{ width: 100%; height: 260px; border: 0; border-radius: 6px; margin-bottom: 20px; }
.contact-info{ font-size: 15px; line-height: 2; color: var(--color-muted-4); }
.form-box{ background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 6px; padding: 24px; }
.form-box h3{ margin: 0 0 14px; }
.form-field{ padding: 11px; border: 1px solid var(--color-border-3); border-radius: 4px; font-family: inherit; font-size: 14px; width: 100%; }
.form-col{ display: flex; flex-direction: column; gap: 12px; }
.form-hint{ font-size: 12px; color: var(--color-muted-1); }
.success-msg{ color: var(--color-success); font-weight: 700; }

/* ---------- BLOG ---------- */
.blog-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 22px; }
.blog-card{ background: var(--color-card-bg); border: 1px solid var(--color-border); border-radius: 6px; overflow: hidden; }
.blog-photo{ width: 100%; height: 140px; object-fit: cover; }
.blog-card .card-body h3{ font-size: 17px; margin: 0 0 8px; }
.blog-card .card-body p{ font-size: 14px; line-height: 1.6; color: var(--color-muted-3); margin: 0; }

/* ---------- FAQ ---------- */
.faq-page{ max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.faq-item{ border-bottom: 1px solid var(--color-border-2); padding: 16px 0; cursor: pointer; }
.faq-q{ display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; background: none; border: none; width: 100%; text-align: left; font-family: inherit; cursor: pointer; padding: 0; color: inherit; }
.faq-a{ font-size: 14px; line-height: 1.7; color: var(--color-muted-3); margin: 10px 0 0; display: none; }
.faq-item.open .faq-a{ display: block; }

/* ---------- CHECKOUT ---------- */
.checkout-page{ max-width: 700px; margin: 0 auto; padding: 48px 24px; }
.order-summary{ background: var(--color-section-bg); border-radius: 6px; padding: 18px; margin-bottom: 22px; }
.order-line{ display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; }
.order-total{ display: flex; justify-content: space-between; font-weight: 800; padding-top: 10px; margin-top: 8px; border-top: 1px solid var(--color-border-3); }
.checkout-done{ text-align: center; padding: 40px 0; }
.checkout-done .icon{ font-size: 44px; margin-bottom: 12px; }
.checkout-done p{ color: var(--color-muted-3); }

/* ---------- LEGAL ---------- */
.legal-page{ max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.legal-page h1{ font-size: 32px; margin: 0 0 24px; }
.legal-body{ font-size: 14px; line-height: 1.8; color: var(--color-muted-4); }
.legal-body h3{ font-size: 16px; }
.impressum-box{ font-size: 14px; line-height: 2; color: var(--color-muted-4); background: var(--color-section-bg); padding: 24px; border-radius: 6px; }

/* ---------- FOOTER ---------- */
.site-footer{ background: var(--color-footer-bg); color: oklch(85% 0.015 70); padding: 44px 24px 24px; margin-top: auto; }
.footer-grid{ max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 28px; }
.footer-col .col-title{ font-weight: 700; color: #fff; margin-bottom: 10px; font-size: 14px; }
.footer-col p{ font-size: 13px; line-height: 1.7; opacity: 0.8; margin: 0; }
.footer-links{ display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.footer-links a{ color: oklch(85% 0.015 70); opacity: 0.85; }
.footer-links a:hover{ opacity: 1; }
.footer-contact{ font-size: 13px; line-height: 1.9; opacity: 0.85; }
.footer-bottom{ max-width: 1160px; margin: 28px auto 0; padding-top: 18px; border-top: 1px solid var(--color-footer-border); font-size: 12px; opacity: 0.6; }
.brand-footer{ font-family: var(--font-serif); font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 10px; }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--color-footer-bg);
  color: #fff; padding: 16px 24px; box-shadow: 0 -4px 20px oklch(0% 0 0 / 0.2); display: none;
}
.cookie-banner.visible{ display: block; }
.cookie-inner{ max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cookie-inner p{ margin: 0; font-size: 13px; line-height: 1.5; max-width: 640px; opacity: 0.9; }
.cookie-actions{ display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn-outline{ border: 1px solid oklch(60% 0.02 70); padding: 9px 16px; border-radius: 4px; font-size: 13px; cursor: pointer; background: transparent; color: #fff; font-family: inherit; }
.cookie-btn-solid{ background: var(--color-primary); padding: 9px 18px; border-radius: 4px; font-size: 13px; font-weight: 700; cursor: pointer; border: none; color: #fff; font-family: inherit; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 720px){
  .hero-content h1{ font-size: 32px; }
  .story, .two-col, .contact-grid{ grid-template-columns: 1fr; }
  .story img{ height: 220px; }
}
