
html, body {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
   font-family: 'Inter', 'Poppins', sans-serif;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}


/* Custom Header Slider Styles */
#slider .slide {
    z-index: 1;
}
#slider .slide.opacity-100 {
    z-index: 2;
}

/* Dropdown Menu Animation */
.group:hover .group-hover\:block {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Logo Sizing */
nav img {
    max-height: 150px;
    object-fit: contain;
}


.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;

  width: 52px;
  height: 52px;
  border-radius: 9999px;

  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 12px 30px rgba(22,163,74,0.35),
    0 0 0 6px rgba(34,197,94,0.15);

  cursor: pointer;
  transition: all .25s ease;
}

.carousel-btn.prev { left: -18px; }
.carousel-btn.next { right: -18px; }

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow:
    0 16px 40px rgba(22,163,74,0.45),
    0 0 0 8px rgba(34,197,94,0.2);
}

.carousel-btn svg {
  stroke-width: 2.5;
}


  table th {
    background-color: #cadacf; /* green-50 */
  }

  table tr:nth-child(odd) td {
    background-color: #f8fafc;
  }

  table tr:hover th,
  table tr:hover td {
    background-color: inherit;
  }

/* --- 基础与背景配置 --- */
body {
    background-color: #f8fafc;
    overflow-x: hidden;
}

/* 局部背景纹理 - 只在主要内容区显示 */
.bg-dots-container {
    background-image: radial-gradient(#22c55e 0.8px, transparent 0.8px);
    background-size: 40px 40px;
    opacity: 0.15;
}

/* 动态背景色块动画 */
@keyframes blob-float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 40px) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.animate-blob {
    animation: blob-float 18s infinite ease-in-out;
}

/* --- 核心组件样式 --- */

/* 英雄区斜切修饰 */
.hero-clip {
    clip-path: ellipse(150% 100% at 50% 0%);
}

/* 玻璃拟态面板 */
.glass-panel {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 50px -12px rgba(22, 101, 52, 0.05);
}

/* 表格样式增强 */
.specs-table th {
    font-weight: 500;
    color: #6b7280; /* text-gray-500 */
}

.specs-table td {
    font-weight: 600;
    color: #1f2937; /* text-gray-800 */
}

/* 交互卡片提升效果 */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
}

/* --- Footer 专用样式 (确保无背景干扰) --- */
.site-footer {
    background-color: #0f172a; /* 纯色 Slate-900 */
    position: relative;
    z-index: 20;
}


.hydroponic-compare-cards {
  margin: 60px 0;
}

.hydroponic-compare-cards h2 {
  margin-bottom: 8px;
}

.compare-desc {
  max-width: 820px;
  margin-bottom: 32px;
  color: #555;
}

.compare-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.compare-card {
  border: 1px solid #e5e7eb;
  padding: 24px;
  border-radius: 10px;
  background-color: #fff;
  transition: all 0.2s ease;
}

.compare-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.compare-card h3 {
  margin-bottom: 16px;
  font-size: 18px;
}

.compare-card ul {
  padding-left: 18px;
  margin: 0;
}

.compare-card li {
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 768px) {
  .compare-card-grid {
    grid-template-columns: 1fr;
  }
}



.display-serif {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f3d2e; /* 深绿色 */
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.25); /* 黑色遮罩，45% 透明 */
}

.navbar.fixed-top {
  z-index: 1050; /* Bootstrap dropdown 默认是 1000 */
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease;
}


/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #1ebb57;  /* WhatsApp Green */
  color: white;
  border-radius: 50%;  /* Circle shape */
  padding: 20px;  /* Increased padding for a more rounded button */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 30px;
  width: 60px;  /* Fixed width to keep the circle size consistent */
  height: 60px; /* Fixed height to match the width */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128C7E; /* Darker Green for Hover */
}
