/* kwiatkikwiatki.pl — kwiaciarnia, specjalizacja flower boxy */
/* Palette: dusty rose #c7899e, sage green #8a9a5b, cream #faf5ef, dark #2c2c2c */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Nunito+Sans:wght@300;400;600;700&display=swap');

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

:root {
  --accent: #c7899e;
  --accent-dark: #a96b82;
  --green: #8a9a5b;
  --green-dark: #6b7a42;
  --cream: #faf5ef;
  --dark: #2c2c2c;
  --gray: #666;
  --light-gray: #f0ebe4;
  --white: #fff;
  --max-width: 1140px;
  --radius: 6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', Arial, sans-serif;
  font-weight: 400;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--dark);
}
h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* === HEADER === */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.site-logo {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-dark);
  letter-spacing: 0.5px;
}
.site-logo:hover { color: var(--green-dark); }

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

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

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

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

/* === SECTIONS === */
.section { padding: 60px 0; }
.section-alt { background: var(--white); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* === CARDS GRID === */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 20px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--gray); font-size: 0.95rem; }

/* === CONTENT PAGE === */
.page-header {
  background: var(--green);
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}
.page-header h1 { color: var(--white); }
.page-header p { opacity: 0.9; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.content-section { padding: 50px 0; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-text h2 { margin-bottom: 12px; }
.content-text p { margin-bottom: 16px; color: var(--gray); }
.content-text ul { margin: 12px 0 16px 20px; color: var(--gray); }
.content-text li { margin-bottom: 6px; }
.content-img { border-radius: var(--radius); overflow: hidden; }
.content-img img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }

/* === FEATURES === */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.feature-icon { font-size: 2.4rem; margin-bottom: 12px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--gray); font-size: 0.9rem; }

/* === FOOTER === */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 40px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* === CONTACT === */
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.contact-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.contact-card h3 { margin-top: 12px; margin-bottom: 8px; }
.contact-card p { color: var(--gray); font-size: 0.95rem; }
.contact-icon { font-size: 2rem; color: var(--accent); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .main-nav.open { display: flex; }
  .hero { min-height: 360px; }
  .hero-content h1 { font-size: 2rem; }
  .content-grid { grid-template-columns: 1fr; }
  .content-grid.reverse { direction: ltr; }
  .features { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
}
