/* Fast Flowers — kwiaciarnia internetowa */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

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

:root {
  --accent: #e85d75;
  --accent-dark: #c94560;
  --text: #333;
  --text-light: #666;
  --bg: #fff;
  --bg-light: #faf7f5;
  --bg-dark: #2c2c2c;
  --border: #eee;
  --radius: 6px;
  --max-width: 1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}
h1 { font-size: 2.2rem; margin-bottom: 1rem; }
h2 { font-size: 1.6rem; margin-bottom: .8rem; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; }

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

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

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

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}
.logo span { color: var(--accent); }
.logo a { color: inherit; }
.logo a:hover { color: inherit; }

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

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

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 580px;
  padding: 60px 0;
}
.hero h1 { color: #fff; font-size: 2.6rem; margin-bottom: .6rem; }
.hero p { font-size: 1.15rem; line-height: 1.6; margin-bottom: 1.5rem; opacity: .95; }

.btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background .2s, transform .1s;
  font-size: .95rem;
}
.btn:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }

/* ---- SECTIONS ---- */
.section { padding: 60px 0; }
.section--alt { background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 1.8rem; }
.section-title p { color: var(--text-light); max-width: 600px; margin: .5rem auto 0; }

/* ---- CARDS GRID ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-body { padding: 20px; }
.card-body h3 { margin-bottom: .4rem; }
.card-body p { color: var(--text-light); font-size: .92rem; }

/* ---- FEATURES ---- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

/* ---- PRODUCT LIST ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: box-shadow .2s;
}
.product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-info { padding: 14px; }
.product-info h3 { font-size: 1rem; margin-bottom: .3rem; }
.product-info .price { color: var(--accent); font-weight: 700; font-size: 1.1rem; }

/* ---- TWO-COL LAYOUT ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.two-col img { border-radius: var(--radius); }

/* ---- CONTENT PAGE ---- */
.page-header {
  background: var(--bg-light);
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-content { padding: 48px 0; }
.page-content p { margin-bottom: 1rem; }
.page-content ul { margin: .5rem 0 1rem 1.5rem; }
.page-content li { margin-bottom: .4rem; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--bg-dark);
  color: #bbb;
  padding: 40px 0 24px;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.footer-col a { color: #bbb; }
.footer-col a:hover { color: var(--accent); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
  color: #888;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 12px; }

  .hero { min-height: 360px; }
  .hero h1 { font-size: 1.8rem; }
  .hero-content { padding: 40px 0; }

  .features { grid-template-columns: 1fr; gap: 24px; }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
}
