/* Kwiaciarnia Majka — static one-pager */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;700;900&display=swap');

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

:root {
  --accent: #f1d204;
  --accent-dark: #d4b800;
  --text: #333;
  --text-light: #666;
  --bg: #fff;
  --bg-section: #f8f8f8;
  --bg-dark: #2b2b2b;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

h1, h2, h3 {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-weight: 700;
}

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

/* ---- Hero ---- */
.hero {
  background-size: cover;
  background-position: center;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 40px 20px;
}
.hero-content img.logo {
  max-width: 220px;
  margin: 0 auto 20px;
}
.hero-content h1 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.hero-content .tagline {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ---- Navbar ---- */
.navbar {
  background: var(--bg);
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar .logo-small img {
  height: 45px;
  width: auto;
}
.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}
.navbar nav ul li a {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text);
  letter-spacing: .5px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.navbar nav ul li a:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

/* ---- Sections ---- */
.section-title {
  text-align: center;
  margin-bottom: 30px;
}
.section-title h2 {
  font-size: 30px;
  margin-bottom: 10px;
  color: var(--text);
}
.section-title .line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto;
}

/* O firmie */
.section-about {
  padding: 60px 0;
  background: var(--bg);
}
.about-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-content p {
  margin-bottom: 14px;
  color: var(--text-light);
  text-align: justify;
}

/* Galeria kategorii */
.section-gallery {
  padding: 60px 0;
  background: var(--bg-section);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.gallery-item {
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
}
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.gallery-item .caption {
  padding: 12px 14px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  color: var(--text);
}

/* Zdjecia */
.section-photos {
  padding: 50px 0;
  background: var(--bg);
}
.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.photos-grid img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 3/4;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #aaa;
  padding: 30px 0;
  text-align: center;
  font-size: 14px;
}
.site-footer img.footer-logo {
  max-width: 80px;
  margin: 0 auto 10px;
  opacity: .7;
}
.site-footer a { color: #ddd; }
.site-footer a:hover { color: var(--accent); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero { min-height: 300px; }
  .hero-content h1 { font-size: 30px; }
  .hero-content .tagline { font-size: 16px; letter-spacing: 2px; }
  .hero-content img.logo { max-width: 160px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .section-about, .section-gallery, .section-photos {
    padding: 40px 0;
  }
  .section-title h2 { font-size: 24px; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .photos-grid { grid-template-columns: 1fr; }
  .navbar .logo-small img { height: 35px; }
}
