/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  color: #222222;
  background-color: #ffffff;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Colors */
:root {
  --primary: #04B1B5;
  --dark: #000000;
  --light: #ffffff;
}

/* Layout helpers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: 60px 0;
}

/* Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: var(--dark);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar-logo img {
  width: 200px;
  height: 64px;
  object-fit: contain;
}

.navbar-menu {
  display: flex;
  gap: 20px;
}

.navbar-menu a {
  color: var(--light);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 3px;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  background-color: var(--primary);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background-color: var(--light);
  border-radius: 2px;
}

/* Side overlay menu */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 998;
}

.mobile-overlay-inner {
  position: absolute;
  left: 0;
  top: 0;
  width: 260px;
  max-width: 80%;
  height: 100%;
  background-color: var(--dark);
  padding: 20px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-overlay.open .mobile-overlay-inner {
  transform: translateX(0);
}

.mobile-close {
  background: none;
  border: none;
  color: var(--light);
  font-size: 28px;
  cursor: pointer;
  margin-bottom: 20px;
  float: right;
}

.mobile-overlay ul {
  list-style: none;
}

.mobile-overlay li {
  margin: 12px 0;
}

.mobile-overlay a {
  color: var(--light);
  font-size: 18px;
}

/* Hero */
.hero {
  position: relative;
  background: url('https://images.unsplash.com/photo-1670689334896-8fa8291daa27?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: var(--light);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 34px;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 3px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--light);
  border-color: var(--light);
}

.btn-primary:hover {
  background-color: #03959a;
}

.btn-outline:hover {
  background-color: var(--light);
  color: var(--dark);
}

/* Sections */
.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: var(--dark);
}

.section-title p {
  color: #666;
}

/* Product cards - equal height */
.products-row,
.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.product-card {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 4px;
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(25% - 15px);
  min-height: 400px;
}

.product-image {
  width: 100%;
  height: 140px;
  margin-bottom: 10px;
  overflow: hidden;
  border-radius: 3px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 14px;
  margin-bottom: 10px;
}

.product-highlights {
  margin: 0 0 10px 16px;
  font-size: 13px;
}

.product-highlights li {
  margin-bottom: 4px;
}

.product-card .btn-primary {
  margin-top: auto;
}

/* Partners */
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.partner-item {
  min-width: 140px;
  text-align: center;
  padding: 10px 15px;
  border-radius: 4px;
  border: 1px solid #eee;
  background-color: #fafafa;
}

/* Virtual plant */
.virtual-plant-hero {
  background-color: #f5f7f7;
  padding: 60px 0 40px;
}

/* About */
.about-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 15px;
  border-radius: 3px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-details p {
  margin-bottom: 8px;
}

/* Map */
.map-wrapper {
  width: 100%;
  height: 260px;
  background-color: #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.map-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quick links / footer-top */
.footer-top {
  background-color: #f4f4f4;
  padding: 40px 0;
  margin-top: 40px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.footer-columns h4 {
  margin-bottom: 10px;
  color: var(--dark);
}

.footer-columns ul {
  list-style: none;
}

.footer-columns li {
  margin-bottom: 6px;
}

.footer-columns a {
  color: #555;
}

.footer-columns a:hover {
  color: var(--primary);
}

.social-links a {
  display: inline-block;
  margin-right: 10px;
  color: var(--primary);
}

/* Footer bottom */
footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 15px 0;
  font-size: 13px;
}

.footer-bottom-content {
  text-align: center;
  display: block;
}

.footer-bottom-content p {
  margin: 3px 0;
}

.footer-bottom-content a {
  color: var(--primary);
}

/* Floating buttons */
#backToTop {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: var(--primary);
  color: var(--dark);
  font-size: 18px;
  cursor: pointer;
  display: none;
  z-index: 990;
}

#whatsapp-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 990;
}

#whatsapp-button img {
  width: 28px;
  height: 28px;
}

/* Utility */
.text-center {
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .product-card {
    flex: 1 1 calc(50% - 10px);
  }

  .about-wrapper,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .product-card {
    flex: 1 1 calc(100% - 10px);
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 60vh;
  }
}
