/* kwiatykwiatki.pl - kwiaciarnia, specjalizacja wiazanki pogrzebowe */
/* Palette: deep green #2d5a3d, muted gold #c9a84c, cream #faf6ef, dark #2b2b2b */

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

body {
  font-family: 'Lora', Georgia, serif;
  color: #2b2b2b;
  background: #faf6ef;
  line-height: 1.7;
  font-size: 17px;
}

a { color: #2d5a3d; text-decoration: none; transition: color 0.2s; }
a:hover { color: #c9a84c; }

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

/* --- HEADER --- */
.site-header {
  background: #2d5a3d;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
}

.site-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.site-logo:hover { color: #c9a84c; }

.main-nav { display: flex; gap: 8px; list-style: none; }
.main-nav a {
  color: rgba(255,255,255,0.88);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 15px;
  font-family: 'Open Sans', Arial, sans-serif;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s; }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #2d5a3d;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 40px 24px;
  max-width: 700px;
}
.hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.hero-content p {
  font-size: 19px;
  margin-bottom: 24px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.btn-primary {
  display: inline-block;
  background: #c9a84c;
  color: #fff;
  padding: 14px 36px;
  border-radius: 4px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.2s;
}
.btn-primary:hover { background: #b8953e; color: #fff; }

/* --- SECTIONS --- */
.section { padding: 64px 24px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: #2d5a3d;
}
.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 17px;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- CARDS GRID --- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  margin-bottom: 10px;
  color: #2d5a3d;
}
.card-body p { color: #555; font-size: 15px; }

/* --- ABOUT / TEXT BLOCKS --- */
.text-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.text-image.reverse { direction: rtl; }
.text-image.reverse > * { direction: ltr; }
.text-block h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  color: #2d5a3d;
  margin-bottom: 16px;
}
.text-block p { margin-bottom: 14px; color: #444; }
.text-block img { border-radius: 8px; }

/* --- CONTENT PAGE --- */
.page-header {
  background: #2d5a3d;
  padding: 48px 24px;
  text-align: center;
}
.page-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px;
  color: #fff;
  margin-bottom: 8px;
}
.page-header p { color: rgba(255,255,255,0.8); font-size: 17px; }

.content-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px;
}
.content-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  color: #2d5a3d;
  margin-top: 36px;
  margin-bottom: 14px;
}
.content-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 21px;
  color: #2d5a3d;
  margin-top: 28px;
  margin-bottom: 10px;
}
.content-body p { margin-bottom: 16px; color: #444; }
.content-body ul { margin-bottom: 16px; padding-left: 24px; color: #444; }
.content-body li { margin-bottom: 6px; }
.content-body img {
  border-radius: 8px;
  margin: 24px 0;
  width: 100%;
}

/* Featured image on content page */
.featured-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
}

/* --- FOOTER --- */
.site-footer {
  background: #2b2b2b;
  color: rgba(255,255,255,0.7);
  padding: 40px 24px;
  text-align: center;
  font-size: 14px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: #c9a84c; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; list-style: none; }
.footer-copy { margin-top: 8px; color: rgba(255,255,255,0.5); }

/* --- CONTACT INFO --- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}
.contact-card {
  background: #fff;
  padding: 32px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.contact-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #2d5a3d;
  margin-bottom: 12px;
  font-size: 20px;
}
.contact-card p { color: #555; font-size: 15px; margin-bottom: 4px; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #2d5a3d;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; }

  .hero { min-height: 340px; }
  .hero-content h1 { font-size: 30px; }
  .hero-content p { font-size: 16px; }

  .text-image { grid-template-columns: 1fr; gap: 24px; }
  .text-image.reverse { direction: ltr; }

  .section { padding: 40px 16px; }
  .section-title { font-size: 26px; }

  .page-header h1 { font-size: 28px; }
  .content-body { padding: 32px 16px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .site-logo { font-size: 20px; }
  .hero-content h1 { font-size: 26px; }
  .cards { grid-template-columns: 1fr; }
  .footer-nav { flex-direction: column; gap: 8px; }
}
