/* Stokrotka Kwiaciarnia — custom CSS (based on WP pkt_2016_v0.7 theme colors) */
/* Colors: accent green #81d742, button lime #B0C647, Lobster + Lato fonts */

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #333;
  background: #fff;
}

a { color: #81d742; text-decoration: none; }
a:hover { color: #6bc22e; text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: 'Lobster', cursive;
  color: #333;
  margin-top: 0;
}

h1 { font-size: 2rem; margin-bottom: 1rem; }
h2 { font-size: 1.6rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }

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

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

/* ── Header ── */
.site-header {
  background: #fff;
  border-bottom: 3px solid #81d742;
  padding: 12px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.site-title {
  font-family: 'Lobster', cursive;
  font-size: 1.8rem;
  margin: 0;
}
.site-title a {
  color: #333;
  text-decoration: none;
}
.site-title a:hover { color: #81d742; }

/* ── Navigation ── */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}
.main-nav li a {
  display: block;
  padding: 8px 16px;
  color: #333;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.main-nav li a:hover,
.main-nav li a.active {
  background: #81d742;
  color: #fff;
  border-color: #81d742;
}

/* ── Hero / Slider ── */
.hero {
  position: relative;
  overflow: hidden;
  max-height: 450px;
}
.hero img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  padding: 30px 40px;
}
.hero-overlay h1 {
  font-family: 'Lobster', cursive;
  color: #fff;
  font-size: 2.5rem;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

/* ── Content ── */
.content {
  padding: 40px 0;
}
.content p {
  margin-bottom: 1em;
}

/* ── Page header (subpages) ── */
.page-header-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* ── Two-column layout ── */
.two-col {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.two-col .col-main { flex: 2; }
.two-col .col-side { flex: 1; }
.two-col .col-side img {
  width: 100%;
  border-radius: 6px;
}

/* ── Offer list ── */
.offer-list {
  list-style: none;
  padding: 0;
  margin: 1.5em 0;
}
.offer-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid #eee;
}
.offer-list li::before {
  content: "✿";
  position: absolute;
  left: 0;
  color: #81d742;
  font-size: 1.1em;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin: 20px 0;
}
.gallery-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.2s;
}
.gallery-grid img:hover {
  transform: scale(1.05);
}

/* ── Gallery categories header ── */
.gallery-intro {
  background: #f8f8f8;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 25px;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
}

/* ── Aktualnosci cards ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin: 20px 0;
}
.news-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.news-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-card .card-body {
  padding: 15px;
}
.news-card h3 {
  font-family: 'Lobster', cursive;
  margin: 0 0 8px;
  font-size: 1.2rem;
}

/* ── CTA Button ── */
.btn-cta {
  display: inline-block;
  background: #B0C647;
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-cta:hover {
  background: #9ab53d;
  color: #fff;
  text-decoration: none;
}

/* ── Contact section ── */
.contact-info {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  margin: 20px 0;
}
.contact-info p {
  margin: 0.4em 0;
}

/* ── Footer ── */
.site-footer {
  background: #333;
  color: #aaa;
  padding: 25px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
}
.site-footer a {
  color: #81d742;
}
.site-footer a:hover { color: #fff; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-header .container { flex-direction: column; gap: 10px; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; }
  .two-col { flex-direction: column; }
  .hero img { height: 250px; }
  .hero-overlay h1 { font-size: 1.6rem; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .news-grid { grid-template-columns: 1fr; }
}
