/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:   #faf8f3;
  --sand:    #f0ead8;
  --accent:  #c0392b;
  --accent2: #e67e22;
  --dark:    #2c2416;
  --mid:     #5a4a35;
  --light:   #9c8b72;
  --white:   #ffffff;
  --shadow:  0 4px 24px rgba(44,36,22,.10);
  --radius:  14px;
  --font-script: 'Satisfy', cursive;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── NAV ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
#navbar.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-script);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .02em;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent2); }
.fb-btn {
  background: #1877f2;
  color: var(--white) !important;
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .85rem !important;
  transition: background .2s !important;
}
.fb-btn:hover { background: #0f5bbf !important; }

.burger {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,.20) 0%,
      rgba(0,0,0,.05) 40%,
      rgba(0,0,0,.40) 100%
    ),
    url("hero-bg.jpg") center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Fallback gradient gdy brak zdjęcia */
#hero.no-photo {
  background: linear-gradient(180deg,
    #0a2850 0%,
    #0d4a6e 30%,
    #1a7a6e 55%,
    #c8a050 78%,
    #d4b060 100%
  );
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255,255,255,.06) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='120' viewBox='0 0 1440 120'%3E%3Cpath fill='rgba(255,255,255,0.04)' d='M0,60 C240,100 480,20 720,60 C960,100 1200,20 1440,60 L1440,120 L0,120Z'/%3E%3Cpath fill='rgba(255,255,255,0.03)' d='M0,80 C300,40 600,110 900,70 C1100,45 1280,90 1440,75 L1440,120 L0,120Z'/%3E%3C/svg%3E") bottom / 100% auto no-repeat;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 100%);
}
.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 2rem 1.5rem;
  z-index: 1;
}
.hero-sub {
  font-size: .95rem;
  font-weight: 300;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: .75rem;
}
.hero-content h1 {
  font-family: var(--font-script);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,.85);
  margin-bottom: 2.5rem;
  font-style: italic;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: .85rem 2.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(192,57,43,.4);
}
.btn-primary:hover {
  background: #a93226;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(192,57,43,.5);
}
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ── ABOUT ── */
#about {
  padding: 6rem 0 5rem;
  background: var(--cream);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--dark);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.about-text h2 em {
  color: var(--accent);
  font-style: italic;
}
.about-text p {
  color: var(--mid);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}
.chips span {
  background: var(--sand);
  border: 1px solid rgba(192,57,43,.15);
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--mid);
}
.img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── MENU ── */
#menu {
  padding: 5rem 0 6rem;
  background: var(--sand);
}
.section-title {
  font-family: var(--font-script);
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-align: center;
  color: var(--dark);
  margin-bottom: .4rem;
}
.section-sub {
  text-align: center;
  color: var(--light);
  font-size: .9rem;
  margin-bottom: 2.5rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* TABS */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.tab {
  background: var(--cream);
  border: 1.5px solid rgba(192,57,43,.2);
  color: var(--mid);
  padding: .5rem 1.2rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  font-family: var(--font-sans);
}
.tab:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* PANELS */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.panel-note {
  text-align: center;
  font-size: .9rem;
  color: var(--light);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* MENU GRID */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 12px rgba(44,36,22,.07);
  transition: transform .2s, box-shadow .2s;
  border-left: 3px solid transparent;
}
.menu-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(44,36,22,.13);
}
.menu-card.highlight {
  border-left-color: var(--accent2);
  background: #fffdf7;
}
.menu-card-info h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .2rem;
}
.menu-card-info p {
  font-size: .8rem;
  color: var(--light);
}
.menu-card-price {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--mid);
  white-space: nowrap;
  text-align: right;
}
.menu-card-price strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}
.menu-card-price::after {
  content: ' PLN';
  font-size: .75rem;
  font-weight: 400;
  color: var(--light);
}

/* DODATKI */
.dodatki-bar {
  margin-top: 3rem;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.dodatki-bar h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--accent2);
  white-space: nowrap;
}
.dodatki-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.dodatki-items span {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
}
.dodatki-items strong {
  color: var(--white);
}

/* ── CONTACT ── */
#contact {
  padding: 5rem 0;
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.contact-icon { font-size: 2.2rem; margin-bottom: .8rem; }
.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: .6rem;
  color: var(--dark);
}
.contact-card p {
  color: var(--mid);
  font-size: .95rem;
  margin-bottom: .4rem;
}
.contact-hint { font-style: italic; color: var(--light) !important; }
.contact-card .btn-primary { margin-top: 1rem; font-size: .85rem; padding: .7rem 1.5rem; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.4);
  text-align: center;
  padding: 1.5rem;
  font-size: .8rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .burger { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--dark);
    padding: 1.5rem;
    gap: 1.2rem;
    text-align: center;
  }
  .nav-links.open { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img { order: -1; }
  .tab-bar { gap: .4rem; }
  .tab { font-size: .8rem; padding: .4rem .9rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .dodatki-bar { flex-direction: column; align-items: flex-start; gap: 1rem; }
}
