body {
  margin: 0;
  font-family: Arial, sans-serif;
}

header {
  background-color: #4caf50;
  color: white;
  padding: 15px 0;
  position: relative;
  z-index: 5;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

/* Прихований чекбокс */
#menu-toggle {
  display: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.cta-button {
  background-color: #ff9800;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
}

/* ======== Мобільна версія ======== */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #4caf50;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  /* ✅ Меню відкривається при checked */
  #menu-toggle:checked ~ nav ul {
    max-height: 400px;
    padding: 15px 0;
  }

  .burger {
    display: flex;
  }

  .cta-button {
    display: none;
  }

  /* Анімація бургеру */
  #menu-toggle:checked ~ .burger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #menu-toggle:checked ~ .burger span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .burger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

.hero {
  background: url("images/hero.webp") center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* затемнення для контрасту */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons a {
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  margin: 0 10px;
  transition: background 0.3s ease;
}

.btn-primary {
  background-color: #ff9800;
  color: white;
}

.btn-primary:hover {
  background-color: #e68900;
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: #4caf50;
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-buttons a {
    display: block;
    margin: 10px auto;
  }
}

.about {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
}

.about-content {
  max-width: 600px;
}

.about-content h2 {
  font-size: 2rem;
  color: #4caf50;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat h3 {
  font-size: 2rem;
  color: #ff9800;
  margin: 0;
}

.stat p {
  margin: 5px 0 0;
  font-size: 1rem;
  color: #555;
}

/* Адаптивність */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .stats {
    justify-content: center;
    gap: 20px;
  }
}

.categories {
  padding: 80px 20px;
  background-color: #ffffff;
}

.categories-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.categories-container h2 {
  font-size: 2rem;
  color: #4caf50;
  margin-bottom: 40px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.category-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.category-card h3 {
  font-size: 1.3rem;
  color: #333;
  margin: 15px 0 10px;
}

.category-card p {
  font-size: 1rem;
  color: #555;
  padding: 0 15px 15px;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Адаптивність */
@media (max-width: 768px) {
  .categories-container h2 {
    font-size: 1.8rem;
  }
  .category-card img {
    height: 180px;
  }
}

.tips {
  padding: 80px 20px;
  background-color: #f0f8f5;
}

.tips-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.tips-container h2 {
  font-size: 2rem;
  color: #4caf50;
  margin-bottom: 40px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.tip-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.tip-card h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 10px;
}

.tip-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Адаптивність */
@media (max-width: 768px) {
  .tips-container h2 {
    font-size: 1.8rem;
  }
  .tip-card {
    text-align: center;
  }
}

.testimonials {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-container h2 {
  font-size: 2rem;
  color: #4caf50;
  margin-bottom: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.testimonial-meta span {
  font-weight: bold;
  color: #ff9800;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Адаптивність */
@media (max-width: 768px) {
  .testimonials-container h2 {
    font-size: 1.8rem;
  }
  .testimonial-card {
    text-align: center;
  }
}

footer {
  background-color: #4caf50;
  color: white;
  padding: 60px 20px 20px;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-brand,
.footer-links,
.footer-contact,
.footer-social {
  flex: 1 1 220px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a,
.footer-social a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover,
.footer-social a:hover {
  color: #ff9800;
}

.footer-contact p {
  margin: 5px 0;
}

.footer-social .social-icons {
  display: flex;
  gap: 15px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 15px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Адаптивність */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .footer-social .social-icons {
    justify-content: center;
  }
}
.contact-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.contact-page h1 {
  font-size: 2rem;
  color: #4caf50;
  margin-bottom: 20px;
}

.contact-page p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #555;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-form label {
  font-weight: bold;
  color: #333;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  padding: 12px 20px;
  background-color: #4caf50;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #45a049;
}

.contact-info p {
  margin: 10px 0;
  color: #555;
}

/* Адаптивність */
@media (max-width: 768px) {
  .contact-page {
    padding: 40px 15px;
  }

  .contact-form button {
    width: 100%;
  }
}

.about-page {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
}

.about-content {
  max-width: 500px;
}

.about-content h1 {
  font-size: 2rem;
  color: #4caf50;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555;
}

.stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat h3 {
  font-size: 1.8rem;
  color: #ff9800;
  margin: 0;
}

.stat p {
  margin-top: 5px;
  font-size: 1rem;
  color: #555;
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .about-content h1 {
    font-size: 1.8rem;
  }

  .stats {
    justify-content: center;
    gap: 20px;
  }
}

.garden-categories {
  padding: 60px 20px;
  background-color: #f0f8f5;
}

.categories-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.garden-categories h2 {
  font-size: 2rem;
  color: #4caf50;
  text-align: center;
  margin-bottom: 40px;
}

.category-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item img {
  width: 150px; /* трохи менша картинка */
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
}

.category-info h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.category-info p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
  .category-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .category-item img {
    width: 100%;
    max-width: 300px;
  }

  .category-info h3 {
    font-size: 1.3rem;
  }

  .category-info p {
    font-size: 0.95rem;
  }
}

.policy-page {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 30px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-container h1 {
  font-size: 2rem;
  color: #4caf50;
  margin-bottom: 20px;
  text-align: center;
}

.policy-container h2 {
  font-size: 1.3rem;
  color: #333;
  margin-top: 20px;
  margin-bottom: 10px;
}

.policy-container p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

.policy-container ul {
  list-style: disc;
  padding-left: 20px;
  color: #555;
}

.policy-container ul li {
  margin-bottom: 10px;
}
.cookie-banner-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.cookie-toggle {
  display: none; /* приховуємо чекбокс */
}

.cookie-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: #4caf50;
  color: white;
  padding: 15px 20px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer; /* клік по всьому банеру закриває його */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 60%;
  font-size: 0.95rem;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex: 1 1 35%;
  justify-content: flex-end;
}

.cookie-buttons span {
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
}

.accept {
  background-color: #ff9800;
  color: white;
}

.accept:hover {
  background-color: #e68900;
}

.decline {
  background-color: white;
  color: #4caf50;
}

.decline:hover {
  background-color: #f0f0f0;
}

/* Закриваємо банер, якщо чекбокс активний */
.cookie-toggle:checked + .cookie-banner {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}

/* Мобільна адаптивність */
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .cookie-buttons {
    justify-content: center;
    flex: 1 1 100%;
  }
}
