/* Przystanek Kwiaty — style.css */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&family=Source+Sans+3:wght@300;400;600&display=swap');

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

:root {
  --accent: #6b4c3b;
  --accent-light: #a07860;
  --bg: #faf8f5;
  --bg-alt: #f0ebe4;
  --text: #3a3a3a;
  --text-light: #6e6e6e;
  --white: #fff;
  --green: #5a7a52;
  --green-light: #e8f0e5;
  --shadow: 0 2px 12px rgba(0,0,0,.08);
  --radius: 6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  color: var(--accent);
  line-height: 1.3;
}
h1 { font-size: 2.4rem; margin-bottom: .6em; }
h2 { font-size: 1.8rem; margin-bottom: .5em; }
h3 { font-size: 1.3rem; margin-bottom: .4em; }

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }

img { max-width: 100%; height: auto; display: block; }

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

/* ===== HEADER ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow);
}
header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo {
  font-family: 'Lora', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--accent);
}
.logo span { color: var(--green); }

nav ul { list-style: none; display: flex; gap: 28px; }
nav a {
  font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .5px;
  color: var(--text); padding: 4px 0;
  border-bottom: 2px solid transparent; transition: all .2s;
}
nav a:hover, nav a.active { color: var(--accent); border-bottom-color: var(--accent); }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; transition: .3s;
}

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: 440px; display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(.55);
}
.hero-content {
  position: relative; z-index: 1;
  color: var(--white); max-width: 600px; padding: 60px 0;
}
.hero-content h1 { color: var(--white); font-size: 2.8rem; }
.hero-content p { font-size: 1.15rem; margin-bottom: 1.5em; opacity: .92; }

.btn {
  display: inline-block; padding: 12px 32px;
  background: var(--accent); color: var(--white);
  font-weight: 600; font-size: .95rem; border-radius: var(--radius);
  transition: background .2s;
}
.btn:hover { background: var(--accent-light); color: var(--white); }

/* ===== SECTIONS ===== */
section.content-section { padding: 60px 0; }
section.alt-bg { background: var(--bg-alt); }

.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { margin-bottom: .3em; }
.section-title p { color: var(--text-light); font-size: 1.05rem; }

/* ===== CARDS GRID ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }

.card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 20px; }
.card-body h3 { margin-bottom: .3em; }
.card-body p { color: var(--text-light); font-size: .95rem; }

/* ===== TWO COLUMNS ===== */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }
.two-col .text h2 { margin-bottom: .5em; }
.two-col .text p { margin-bottom: 1em; }

/* ===== FEATURES LIST ===== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature {
  text-align: center; padding: 30px 20px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
}
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature h3 { margin-bottom: .3em; font-size: 1.1rem; }
.feature p { color: var(--text-light); font-size: .9rem; }

/* ===== FUNERAL WREATH SECTION ===== */
.wreath-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.wreath-type {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border-left: 4px solid var(--green); box-shadow: var(--shadow);
}
.wreath-type h3 { color: var(--green); margin-bottom: .4em; }
.wreath-type p { color: var(--text-light); font-size: .95rem; }

/* ===== CONTACT ===== */
.contact-info {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px;
}
.contact-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); text-align: center;
}
.contact-card h3 { margin-bottom: .4em; }
.contact-card p { color: var(--text-light); }

/* ===== FOOTER ===== */
footer {
  background: var(--accent); color: rgba(255,255,255,.8);
  padding: 30px 0; text-align: center; font-size: .9rem;
}
footer a { color: var(--white); text-decoration: underline; }
footer a:hover { color: var(--green-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .hero { min-height: 340px; }
  .hero-content h1 { font-size: 2rem; }
  .two-col { grid-template-columns: 1fr; }
  .two-col img { order: -1; }

  nav ul { display: none; }
  nav.open ul {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--white); box-shadow: var(--shadow);
    padding: 12px 0;
  }
  nav.open ul li a { display: block; padding: 12px 24px; }
  .menu-toggle { display: block; }

  header .container { position: relative; }
  section.content-section { padding: 40px 0; }
}
