/* Makieta ciastka-fana.pl — styl inspirowany OceanWP (oryginalny theme WP) */
:root {
  --brown: #4a2f1d;
  --brown-dark: #33200f;
  --caramel: #b07848;
  --beige: #f6f0e6;
  --cream: #fdfaf4;
  --text: #3a3a3a;
  --muted: #7a6a5c;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* --- header --- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid #e6ddd0;
  padding: 18px 0;
  position: sticky; top: 0; z-index: 50;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.logo { text-decoration: none; }
.logo .logo-name {
  font-size: 30px; font-weight: 800; letter-spacing: 2px;
  color: var(--brown); line-height: 1;
}
.logo .logo-tag { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 16px; text-decoration: none;
  color: var(--brown); font-weight: 600; font-size: 15px;
  border-radius: 4px;
}
.main-nav a:hover { background: var(--beige); }
.main-nav a.active { color: #fff; background: var(--caramel); }

/* --- hero --- */
.hero {
  background: linear-gradient(rgba(51,32,15,.55), rgba(51,32,15,.55)), var(--brown);
  color: #fff; text-align: center; padding: 110px 20px;
}
.hero.has-bg { background-size: cover; background-position: center; }
.hero h1 { font-size: 40px; font-weight: 700; max-width: 760px; margin: 0 auto 14px; line-height: 1.25; }
.hero p { font-size: 19px; max-width: 640px; margin: 0 auto 30px; color: #f0e6d9; }
.btn {
  display: inline-block; background: var(--caramel); color: #fff;
  padding: 13px 34px; border-radius: 4px; text-decoration: none;
  font-weight: 700; font-size: 16px;
}
.btn:hover { background: #96613a; }

/* --- sekcje --- */
.section { padding: 64px 0; }
.section.beige { background: var(--beige); }
.section h2 { color: var(--brown); font-size: 30px; margin-bottom: 8px; }
.section .lead { color: var(--muted); max-width: 640px; margin-bottom: 36px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* --- karty produktow --- */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.product-card {
  background: #fff; border: 1px solid #e8dfd2; border-radius: 8px;
  overflow: hidden; text-align: center;
  transition: box-shadow .15s ease;
}
.product-card:hover { box-shadow: 0 4px 14px rgba(74,47,29,.12); }
.product-card img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  display: block; background: var(--beige);
}
.product-card .name { padding: 10px 12px 14px; font-size: 14px; font-weight: 600; color: var(--brown); }

.category { margin-top: 44px; }
.category:first-of-type { margin-top: 0; }
.category h3 {
  color: var(--brown); font-size: 21px;
  border-bottom: 2px solid var(--caramel);
  display: inline-block; padding-bottom: 4px; margin-bottom: 20px;
}

/* --- kontakt --- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: #fff; border: 1px solid #e8dfd2; border-radius: 8px; padding: 28px 30px; }
.contact-card h3 { color: var(--brown); font-size: 18px; margin-bottom: 6px; }
.contact-card .company { font-weight: 700; font-size: 17px; }
.contact-card dl { margin-top: 14px; }
.contact-card dt { font-weight: 700; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; margin-top: 14px; }
.contact-card dd { margin-left: 0; font-size: 15px; }
.contact-card a { color: var(--caramel); }
.map-frame { width: 100%; height: 380px; border: 0; border-radius: 8px; }

/* --- footer --- */
.site-footer { background: var(--brown-dark); color: #cbb8a4; padding: 26px 0; font-size: 14px; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.site-footer a { color: #e8d5bd; text-decoration: none; }

@media (max-width: 760px) {
  .hero { padding: 70px 16px; }
  .hero h1 { font-size: 28px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .site-header .container { justify-content: center; }
}
