/* Miasto Kwiatów — kwiaciarnia Kraków Centrum */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Nunito+Sans:wght@400;600;700&display=swap');

:root {
  --accent: #d4596a;
  --accent-dark: #b8455a;
  --text: #3a3a3a;
  --text-light: #6b6b6b;
  --bg: #fdfbf9;
  --bg-alt: #f5f0eb;
  --white: #ffffff;
  --header-bg: #3a3a3a;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Crimson Text', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

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); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }

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

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

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

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

.site-logo {
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.5px;
}
.site-logo:hover { color: var(--accent); }

.main-nav { display: flex; gap: 8px; list-style: none; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--accent);
  color: var(--white);
}

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

/* Hero */
.hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 20px;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  margin-bottom: 0.6rem;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 550px;
  margin: 0 auto 1.5rem;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-1px); }

/* Page hero (subpages) */
.page-hero {
  height: 320px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero .hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}
.page-hero h1 {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: 2.4rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* Content sections */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 1.5rem;
}

.card {
  background: var(--white);
  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(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }

.card-body { padding: 20px; }
.card-body h3 { margin-bottom: 0.5rem; }
.card-body p { color: var(--text-light); font-size: 0.95rem; }

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.two-col img { border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

/* List styled */
.check-list { list-style: none; margin-top: 1rem; }
.check-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 1.02rem;
}
.check-list li::before {
  content: '\2714';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Info boxes (contact page) */
.info-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.info-box {
  background: var(--white);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.info-box h3 { color: var(--accent); margin-bottom: 0.5rem; }

/* Footer */
.site-footer {
  background: var(--header-bg);
  color: rgba(255,255,255,0.7);
  padding: 32px 0;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--accent); }
.footer-nav { list-style: none; display: flex; justify-content: center; gap: 20px; margin-bottom: 12px; }
.footer-copy { margin-top: 8px; }

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    padding: 12px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; }

  .hero { height: 360px; }
  .hero-content h1 { font-size: 2rem; }
  .page-hero { height: 240px; }
  .page-hero h1 { font-size: 1.8rem; }

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

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .footer-nav { flex-direction: column; gap: 8px; }
}
