/* ============================================================
   "Jak u Mamy" — style główne
   Ciepła, domowa kuchnia: kremowy papier + czekoladowy brąz.
   Odtworzone z oryginalnego projektu (Tailwind/oklch) na czysty CSS.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700&family=Cormorant+Garamond:wght@500;600;700&family=Dancing+Script:wght@600;700&display=swap');

:root {
  --radius: 0.5rem;
  --radius-lg: var(--radius);
  --radius-2xl: calc(var(--radius) + 8px);

  --background: #fbf7f0;
  --foreground: #5a4636;

  --card: #fdfbf6;
  --primary: #4a3626;
  --primary-foreground: #fbf7f0;

  --secondary: #ece2d2;
  --secondary-foreground: #4a3626;

  --muted: #ece2d2;
  --muted-foreground: #8d7a63;

  --accent: #b39b7d;
  --accent-foreground: #3f3122;

  --destructive: #b23b2e;
  --border: #e2d5c1;

  --font-sans: 'Mulish', ui-sans-serif, system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', ui-serif, Georgia, serif;
  --font-script: 'Dancing Script', 'Cormorant Garamond', cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  background-image:
    radial-gradient(circle at 20% 18%, #fdf4e4 0%, transparent 55%),
    radial-gradient(circle at 82% 12%, #fbf0e2 0%, transparent 50%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap-sm { max-width: 48rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap-md { max-width: 56rem; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(226,213,193,0.7);
  background: rgba(251,247,240,0.85);
  backdrop-filter: blur(8px);
}
.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.75rem 1.25rem; max-width: 72rem; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo { height: 52px; width: auto; display: block; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 0.6rem;
  border: 1px solid var(--border); background: var(--card); color: var(--foreground);
  font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.nav-toggle:hover { background: var(--secondary); }
@media (min-width: 768px) { .nav-toggle { display: none; } }

.nav-links { display: none; align-items: center; gap: 1.75rem; font-size: 0.9rem; font-weight: 500; color: var(--muted-foreground); }
.nav-links a:hover { color: var(--foreground); }
.nav-links a.active { color: var(--foreground); }
@media (min-width: 768px) { .nav-links { display: flex; } }

@media (max-width: 767px) {
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--border);
    box-shadow: 0 15px 25px -10px rgba(74,54,38,0.2);
    padding: 0.25rem 1.25rem 0.75rem;
    z-index: 40;
  }
  .nav-links.open a {
    padding: 0.85rem 0; border-bottom: 1px solid rgba(226,213,193,0.6); color: var(--foreground);
  }
  .nav-links.open a:last-child { border-bottom: none; }
}

.btn-phone {
  border-radius: 999px; background: var(--primary); color: var(--primary-foreground);
  padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; white-space: nowrap;
}
.btn-phone:hover { background: #5a4331; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 999px; padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 600;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: #5a4331; }
.btn-outline { background: var(--card); border: 1px solid var(--border); color: var(--foreground); }
.btn-outline:hover { background: var(--secondary); }

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; padding: 4rem 1.25rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; padding: 6rem 1.25rem; } }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(179,155,125,0.4); background: rgba(236,226,210,0.6);
  border-radius: 999px; padding: 0.35rem 1rem; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-foreground);
  margin-bottom: 1rem;
}
h1.hero-title {
  font-family: var(--font-serif); font-weight: 600; font-size: 3rem; line-height: 1.05;
  letter-spacing: -0.02em; color: var(--foreground); margin: 0;
}
h1.hero-title .script { display: block; font-family: var(--font-script); font-weight: 700; font-size: 3.75rem; color: var(--primary); }
@media (min-width: 640px) { h1.hero-title { font-size: 3.75rem; } h1.hero-title .script { font-size: 4.5rem; } }
.hero-lede { margin-top: 1.5rem; max-width: 28rem; font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.hero-signoff { margin-top: 2rem; display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--muted-foreground); }
.hero-signoff .script { font-family: var(--font-script); font-size: 1.25rem; color: var(--primary); }
.hero-image-wrap { position: relative; }
.hero-image {
  overflow: hidden; border-radius: 2rem; border: 1px solid var(--border);
  box-shadow: 0 25px 50px -12px rgba(74,54,38,0.1);
}
.hero-carousel { position: relative; height: 420px; width: 100%; }
@media (min-width: 640px) { .hero-carousel { height: 520px; } }
.hero-slide {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; height: 100%; width: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-tag {
  position: absolute; bottom: -1.25rem; left: -1.25rem; display: none;
  border-radius: 1rem; border: 1px solid var(--border); background: var(--card);
  padding: 1rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
}
@media (min-width: 640px) { .hero-tag { display: block; } }
.hero-tag .script { font-family: var(--font-script); font-size: 1.5rem; color: var(--primary); }
.hero-tag p { margin: 0; font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- Sections ---------- */
section { scroll-margin-top: 5rem; }
.section-title { margin-bottom: 2.5rem; text-align: center; }
.divider { display: flex; align-items: center; justify-content: center; gap: 0.75rem; color: var(--accent); margin-bottom: 0.75rem; }
.divider .line { height: 1px; width: 2.5rem; background: rgba(179,155,125,0.5); }
.section-title h2, .section-title h1 {
  font-family: var(--font-serif); font-weight: 600; font-size: 2.25rem;
  letter-spacing: -0.02em; color: var(--foreground); margin: 0;
}
@media (min-width: 640px) { .section-title h2, .section-title h1 { font-size: 3rem; } }

/* ---------- Danie dnia ---------- */
.daily-section {
  border-top: 1px solid rgba(226,213,193,0.7);
  background: rgba(236,226,210,0.35);
  padding: 4.5rem 1.25rem 3.5rem;
}

.daily-header { text-align: center; margin-bottom: 3rem; }
.daily-eyebrow {
  font-family: var(--font-script); font-weight: 600; font-size: 1.5rem;
  color: var(--primary); margin: 0 0 0.15rem;
}
.daily-header h2 {
  font-family: var(--font-serif); font-weight: 600; font-size: 2.25rem;
  letter-spacing: -0.02em; color: var(--foreground); margin: 0;
}
@media (min-width: 640px) { .daily-header h2 { font-size: 3rem; } }
.daily-header .divider { margin-top: 0.75rem; }
.daily-note {
  margin: 0.75rem 0 0; color: var(--muted-foreground); font-size: 1rem;
}

.daily-columns { display: grid; gap: 2.5rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .daily-columns { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.daily-column h3 {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem;
  color: var(--foreground); margin: 0 0 1.5rem;
}
.daily-icon { font-size: 1.4rem; }

.daily-items { display: flex; flex-direction: column; gap: 1.1rem; }

.daily-item {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--card); border-radius: 1.25rem; padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 14px rgba(74,54,38,0.07);
  outline: 1px solid var(--border); outline-offset: 6px;
}

.daily-item-info { min-width: 0; }
.daily-item-name {
  margin: 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.15rem; color: var(--foreground);
}
.daily-item-desc { margin: 0.2rem 0 0; font-size: 0.85rem; color: var(--muted-foreground); }

.daily-item-price {
  flex-shrink: 0; background: var(--primary); color: var(--primary-foreground);
  font-weight: 700; font-size: 0.95rem; padding: 0.6rem 1.1rem; border-radius: 999px; white-space: nowrap;
}

.daily-empty { text-align: center; color: var(--muted-foreground); font-size: 0.9rem; margin: 0; }

.daily-empty-all {
  max-width: 32rem; margin: 0 auto; text-align: center;
  font-family: var(--font-serif); font-size: 1.25rem; color: var(--muted-foreground);
  border: 1px dashed var(--border); border-radius: 1rem; padding: 2.5rem 1.5rem; background: var(--card);
}

.about {
  border-top: 1px solid rgba(226,213,193,0.7); border-bottom: 1px solid rgba(226,213,193,0.7);
  background: rgba(253,251,246,0.6);
}
.about-grid { display: grid; gap: 2.5rem; padding: 4rem 1.25rem; max-width: 72rem; margin: 0 auto; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.about p { font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); }
.about-image { overflow: hidden; border-radius: 2rem; border: 1px solid var(--border); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.about-image img { height: 360px; width: 100%; object-fit: cover; }
@media (min-width: 640px) { .about-image img { height: 440px; } }
.signoff { margin-top: 2rem; display: flex; align-items: center; gap: 0.75rem; }
.signoff .script { font-family: var(--font-script); font-size: 1.5rem; color: var(--primary); }

/* ---------- Menu ---------- */
.menu-section { padding: 5rem 1.25rem; max-width: 72rem; margin: 0 auto; }
.menu-note { max-width: 36rem; margin: -1.5rem auto 3rem; text-align: center; color: var(--muted-foreground); }
.menu-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
.menu-card {
  border: 1px solid var(--border); outline: 1px solid var(--border); outline-offset: 6px;
  border-radius: 1rem; background: var(--card); padding: 1.5rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
@media (min-width: 640px) { .menu-card { padding: 2rem; } }
.menu-card header { margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.75rem; }
.menu-card h3 {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: 0.03em; color: var(--primary); margin: 0;
}
.menu-card ul { display: flex; flex-direction: column; gap: 1rem; }
.menu-row { display: flex; align-items: baseline; gap: 0.75rem; }
.menu-row .name-wrap { min-width: 0; flex: 1; }
.menu-row .name { font-weight: 500; color: var(--foreground); margin: 0; }
.menu-row .desc { font-size: 0.875rem; color: var(--muted-foreground); margin: 0.15rem 0 0; }
.menu-row .dots { flex: 1; border-bottom: 1px dotted rgba(226,213,193,0.8); margin-bottom: 0.2rem; transform: translateY(-2px); }
.menu-row .price { white-space: nowrap; font-weight: 600; color: var(--primary); }
.menu-empty { text-align: center; color: var(--muted-foreground); padding: 2rem; border: 1px dashed var(--border); border-radius: 1rem; }
.menu-signoff { margin-top: 3rem; text-align: center; font-family: var(--font-script); font-size: 1.875rem; color: var(--primary); }

/* ---------- Hours ---------- */
.hours-section { border-top: 1px solid rgba(226,213,193,0.7); background: rgba(253,251,246,0.6); padding: 5rem 1.25rem; }
.hours-list { max-width: 28rem; margin: 0 auto; border-radius: 1rem; border: 1px solid var(--border); background: var(--card); overflow: hidden; }
.hours-list li { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.25rem; border-bottom: 1px solid rgba(226,213,193,0.7); }
.hours-list li:last-child { border-bottom: none; }
.hours-list .day { font-weight: 500; color: var(--foreground); }
.hours-list .time { color: var(--muted-foreground); }
.hours-list .time.closed { font-weight: 500; color: rgba(178,59,46,0.8); }
.hours-note { margin-top: 1rem; text-align: center; font-size: 0.875rem; color: var(--muted-foreground); }

/* ---------- Contact ---------- */
.contact-section { border-top: 1px solid rgba(226,213,193,0.7); padding: 5rem 1.25rem; }
.contact-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem; border-radius: 1rem;
  border: 1px solid var(--border); background: var(--card); padding: 1rem;
}
.contact-item:hover { background: var(--secondary); }
.contact-icon {
  display: grid; place-items: center; height: 2.75rem; width: 2.75rem; border-radius: 999px;
  background: rgba(74,54,38,0.1); color: var(--primary); flex-shrink: 0;
}
.contact-icon svg { height: 1.25rem; width: 1.25rem; }
.contact-item .label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted-foreground); }
.contact-item .value { font-weight: 600; color: var(--foreground); }
.map-frame { margin-top: 1.5rem; overflow: hidden; border-radius: 1rem; border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.map-frame iframe { height: 16rem; width: 100%; border: 0; }

/* ---------- Rental hall boxes ---------- */
.rental-box { border-radius: 2rem; border: 1px solid var(--border); background: var(--card); padding: 2rem; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
@media (min-width: 640px) { .rental-box { padding: 3rem; } }
.rental-intro { max-width: 42rem; margin: 0 auto; text-align: center; font-size: 1.125rem; line-height: 1.7; color: var(--muted-foreground); }
.rental-grid { margin-top: 2.5rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .rental-grid { grid-template-columns: repeat(3, 1fr); } }
.rental-card { border-radius: 1rem; border: 1px solid var(--border); background: var(--background); padding: 1.25rem; text-align: center; }
.rental-card .icon { margin: 0 auto; display: grid; place-items: center; height: 3rem; width: 3rem; border-radius: 999px; background: rgba(74,54,38,0.1); color: var(--primary); }
.rental-card h3 { margin: 1rem 0 0; font-family: var(--font-serif); font-weight: 600; font-size: 1.25rem; color: var(--primary); }
.rental-card p { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--muted-foreground); }
.rental-cta { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.rental-cta p { margin: 0; color: var(--muted-foreground); }
.rental-cta .actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(226,213,193,0.7); background: var(--background); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 2.5rem 1.25rem; text-align: center; max-width: 72rem; margin: 0 auto; }
.footer-logo { height: 68px; width: auto; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.25rem 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.footer-meta a:hover { color: var(--foreground); }
.footer-meta .dot { color: var(--accent); }
.footer-social {
  display: grid; place-items: center; height: 2.5rem; width: 2.5rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card); color: var(--primary);
}
.footer-social:hover { background: var(--secondary); }
.footer-copy { font-size: 0.75rem; color: var(--muted-foreground); }
.footer-fine { max-width: 28rem; font-size: 0.7rem; line-height: 1.6; color: rgba(141,122,99,0.7); }
.footer-credit { font-size: 0.65rem; color: rgba(141,122,99,0.5); }
.footer-credit a { text-decoration: underline dotted; }
.footer-credit a:hover { color: var(--foreground); }

/* ---------- Menu skeleton loading (not used server-side, kept for future AJAX) ---------- */
.skeleton { background: var(--muted); border-radius: 0.25rem; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
