/* Kwiaciarnia Eden - nowy CSS wzorowany na oryginale */
/* Kolorystyka: zielona (#08C000 accent, #E3FFCD tło, gradient zielony menu) */
/* Font: Century Gothic / Tahoma */

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

body {
  background-color: #E3FFCD;
  font-family: Tahoma, Arial, sans-serif;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { text-decoration: none; color: inherit; }
a:hover { text-decoration: underline; }

/* Top bar */
.topbar {
  background: linear-gradient(#08C000 0%, #129200 50%, #0F8000 50%, #187A00 100%);
  border-bottom: 3px solid #00B907;
  padding: 8px 0;
  color: #fff;
  font-size: 11px;
}
.topbar .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.topbar-text {
  font-weight: bold;
}

/* Header */
.header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}
.header img {
  max-width: 400px;
  height: auto;
}
.header a { display: inline-block; }

/* Navigation */
nav {
  background: linear-gradient(#08C000 0%, #129200 50%, #0F8000 50%, #187A00 100%);
  border-bottom: 3px solid #00B907;
  border-top: 3px solid #008F06;
  box-shadow: 0 0 10px rgba(0,0,0,0.35);
  border-radius: 4px;
  max-width: 1100px;
  margin: 0 auto 30px;
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
}
nav li { margin: 0; }
nav a {
  display: block;
  color: #fff;
  text-shadow: 0 1px 1px #000;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
}
nav a:hover, nav a.active {
  background: linear-gradient(rgba(75,75,75,0.5) 0%, rgba(56,56,56,0.5) 50%, rgba(48,48,48,0.5) 50%, rgba(27,27,27,0.5) 100%);
  border-radius: 4px;
  text-decoration: none;
}

/* Main content area */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
main {
  flex: 1;
}

/* Green banner (homepage) */
.green-banner {
  background: linear-gradient(#08C000 0%, #129200 50%, #0F8000 50%, #187A00 100%);
  border-bottom: 3px solid #00B907;
  border-top: 3px solid #008F06;
  box-shadow: 0 0 10px rgba(0,0,0,0.35);
  margin-bottom: 40px;
  padding: 30px 0;
}
.green-banner .container {
  background: rgba(0,0,0,0.15);
  box-shadow: inset 0 0 10px 2px rgba(0,0,0,0.6);
  border-radius: 3px;
  padding: 30px;
}
.green-banner p {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-shadow: 0 1px 1px #000;
  line-height: 1.6;
}
.green-banner .signature {
  text-align: right;
  margin-top: 15px;
  font-size: 13px;
}

/* Content layout */
.content-layout {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.content-main {
  flex: 1;
  min-width: 0;
}
.content-sidebar {
  width: 280px;
  flex-shrink: 0;
}

/* Box styling */
.box {
  background: linear-gradient(#dfffc4 0%, #dfffc4 50%, #d5ffb5 50%, #d5ffb5 100%);
  border-radius: 3px;
  border: 3px solid #BCFF89;
  box-shadow: 0 0 20px -5px #000;
  padding: 25px;
  margin-bottom: 20px;
}
.box-main {
  border: 16px solid rgba(188,255,137,0);
}
.box h2 {
  font-size: 28px;
  text-transform: uppercase;
  font-family: 'Century Gothic', Arial, sans-serif;
  color: rgba(0,0,0,0.4);
  text-align: center;
  font-style: italic;
  margin-bottom: 20px;
}
.box h3 {
  font-size: 20px;
  font-family: 'Century Gothic', Arial, sans-serif;
  color: rgba(0,0,0,0.4);
  margin: 15px 0 8px;
}

/* Text content */
.text-content {
  font-size: 15px;
  font-family: Arial, sans-serif;
  color: rgba(70,70,70,0.6);
  line-height: 1.7;
  text-shadow: 0 1px 0 rgba(15,124,0,0.38);
}
.text-content b { color: rgba(70,70,70,0.7); }
.text-content p { margin-bottom: 12px; }

/* Oferta icons */
.oferta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}
.oferta-item img {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Sidebar */
.sidebar-hours {
  text-align: center;
  font-size: 18px;
  text-transform: uppercase;
  font-family: 'Century Gothic', Arial, sans-serif;
  color: rgba(0,0,0,0.4);
  line-height: 1.8;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 1px 1px 10px #76AF5B;
  transition: transform 0.2s;
}
.gallery-item:hover {
  transform: scale(1.03);
}
.gallery-item a {
  display: block;
  text-decoration: none;
}
.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.gallery-item .label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

/* Gallery sub-page photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 15px;
}
.photo-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 1px 1px 10px #76AF5B;
}
.back-link {
  display: inline-block;
  margin: 15px 0;
  color: rgba(70,70,70,0.6);
  font-size: 13px;
}
.back-link:hover { color: #08C000; }

/* Contact */
.contact-section {
  margin-bottom: 25px;
}
.contact-section h3 {
  font-size: 22px;
  font-family: 'Century Gothic', Arial, sans-serif;
  color: rgba(0,0,0,0.4);
  margin-bottom: 10px;
}
.contact-info {
  font-size: 15px;
  color: rgba(70,70,70,0.6);
  line-height: 1.8;
}

/* Slider (homepage) */
.slider {
  max-width: 850px;
  margin: 0 auto 30px;
  text-align: center;
}
.slider img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

/* Footer */
footer {
  background-image: url(images/stopka.png);
  background-size: cover;
  width: 100%;
  min-height: 80px;
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  padding-bottom: 15px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
footer .copy {
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  font-weight: bold;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.66);
}

/* Responsive */
@media (max-width: 900px) {
  .content-layout {
    flex-direction: column;
  }
  .content-sidebar {
    width: 100%;
  }
  nav ul {
    flex-wrap: wrap;
  }
  nav a {
    padding: 10px 18px;
    font-size: 12px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 600px) {
  .header img {
    max-width: 280px;
  }
  nav a {
    padding: 8px 12px;
    font-size: 11px;
  }
  .box h2 {
    font-size: 22px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
