*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #1a1a1a;
  --paper: #f8f7f4;
  --wood: #6b4226;
  --wood-light: #a67c52;
  --steel: #2c2c2c;
  --muted: #7a7a72;
  --rule: #d4d0c8;
  --display: 'Instrument Serif', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --gutter: 4rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 1.25rem;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
nav .logo img {
  height: 70px;
  display: block;
}
nav .nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
nav .nav-links a {
  font-family: var(--body);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
nav .nav-links a:hover,
nav .nav-links a.active {
  border-bottom-color: var(--wood);
}

/* HERO — split layout (index) */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem 4rem var(--gutter);
}
.hero-text .eyebrow,
.hero-content .eyebrow {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 1rem;
}
.hero-content .eyebrow { color: var(--wood-light); }
.hero-text h1,
.hero-content h1 {
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--steel);
}
.hero-content h1 {
  color: #fff;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.4rem;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 2rem;
}

/* hero image — never crop, show full image */
.hero-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  padding: 1rem;
}
.hero-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* HERO — overlay layout (kawiarnia) */
.hero-overlay {
  position: relative;
  min-height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-overlay .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.1) 60%,
    transparent 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem var(--gutter);
  color: #fff;
  max-width: 700px;
}
.hero-content p {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

/* SECTIONS — aligned with hero text via --gutter */
section {
  padding: 5rem var(--gutter);
}
section.dark {
  background: var(--steel);
  color: var(--paper);
}
.section-title {
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 400;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: var(--muted);
  font-size: 1.3rem;
  max-width: 600px;
  margin-bottom: 3rem;
}
section.dark .section-subtitle { color: #b0aca4; }

/* FLYER */
.flyer-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.flyer-section a img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  display: block;
}

/* VIDEO */
.videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery a {
  display: block;
  overflow: hidden;
  border-radius: 4px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.gallery a:hover img {
  transform: scale(1.02);
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.contact-card {
  background: var(--paper);
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.contact-card .card-icon {
  flex-shrink: 0;
}
.contact-card .card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--wood);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-card .card-body {}
.contact-card .label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood-light);
  margin-bottom: 0.3rem;
}
.contact-card a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule);
  font-size: 1.3rem;
}
.contact-card a:hover {
  color: var(--wood);
  text-decoration-color: var(--wood);
}
.contact-card p {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
}

/* FOOTER — aligned with sections */
footer {
  border-top: 1px solid var(--rule);
  padding: 1.5rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  color: var(--muted);
}
footer .socials {
  display: flex;
  gap: 1.5rem;
}
footer .socials a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
}
footer .socials a:hover { color: var(--wood); }

/* RESPONSIVE */
@media (max-width: 800px) {
  :root { --gutter: 1.5rem; }
  body { font-size: 1.1rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-img { min-height: auto; }
  .hero-text { padding: 3rem var(--gutter); }
  .hero-content { padding: 2rem var(--gutter); }
  .flyer-section { grid-template-columns: 1fr; }
  .videos { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 0.5rem; }
  nav .logo img { height: 50px; }
}
