/* ===========================
   ROOT & RESET
=========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green: #2d6a4f;
  --green-light: #40916c;
  --green-dark: #1b4332;
  --green-bg: #d8f3dc;
  --accent: #52b788;
  --text-dark: #1a1a2e;
  --text-mid: #444;
  --text-light: #777;
  --white: #ffffff;
  --off-white: #f8f9f6;
  --border: #e8e8e8;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 96px 0;
}

/* ===========================
   TYPOGRAPHY
=========================== */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  background: var(--green-bg);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===========================
   BUTTONS
=========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,106,79,0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-dark);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--green);
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid var(--green);
  transition: var(--transition);
}

.btn-outline-dark:hover {
  background: var(--green);
  color: var(--white);
}

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.navbar.scrolled .logo {
  color: var(--text-dark);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--white); }

.navbar.scrolled .nav-links a {
  color: var(--text-mid);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .hamburger span {
  background: var(--text-dark);
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, var(--green-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-shape {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 80px 24px;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.25);
  margin-bottom: 20px;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero .btn-primary {
  background: var(--white);
  color: var(--green-dark);
}

.hero .btn-primary:hover {
  background: var(--off-white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.hero .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.hero .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-serif);
}

.stat span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}

.hero-image {
  display: flex;
  justify-content: center;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
}

.hero-img-wrapper img {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.hero-badge-float {
  position: absolute;
  bottom: 28px;
  left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.hero-badge-float i {
  color: #fbbf24;
  font-size: 1.3rem;
}

.hero-badge-float strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.hero-badge-float span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ===========================
   PRODUCTS
=========================== */
.products {
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-card.featured {
  box-shadow: var(--shadow-sm);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 280px;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-icon:hover {
  background: var(--green);
  color: var(--white);
}

.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

.product-tag.popular {
  background: #f59e0b;
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.product-info > p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green);
  font-family: var(--font-serif);
}

.btn-add {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-add:hover {
  background: var(--green-dark);
}

.view-all-wrap {
  text-align: center;
  margin-top: 48px;
}

/* ===========================
   WHY US
=========================== */
.why-us {
  background: var(--off-white);
}

.why-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.why-text > p {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--green-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  font-size: 1.1rem;
}

.feature-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.why-image {
  position: relative;
}

.why-image img {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.why-card-float {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-md);
}

.why-card-float i {
  color: var(--green);
  font-size: 1.6rem;
}

.why-card-float strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.why-card-float span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ===========================
   TESTIMONIALS
=========================== */
.testimonials {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testi-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.testi-card:hover {
  border-color: var(--green-bg);
  box-shadow: var(--shadow-sm);
}

.testi-card.featured-testi {
  background: var(--green);
  border-color: transparent;
}

.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testi-stars i {
  color: #fbbf24;
  font-size: 0.9rem;
}

.testi-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-card.featured-testi p {
  color: rgba(255,255,255,0.9);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.testi-card.featured-testi .testi-author strong {
  color: var(--white);
}

.testi-author span {
  font-size: 0.78rem;
  color: var(--text-light);
}

.testi-card.featured-testi .testi-author span {
  color: rgba(255,255,255,0.7);
}

/* ===========================
   BLOG
=========================== */
.blog {
  background: var(--off-white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-img {
  position: relative;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 220px;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.06);
}

.blog-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}

.blog-body {
  padding: 24px;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.blog-date i {
  color: var(--green);
}

.blog-body h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-body p {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 0.87rem;
  font-weight: 600;
  transition: var(--transition);
}

.read-more:hover {
  gap: 10px;
}

/* ===========================
   NEWSLETTER
=========================== */
.newsletter {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  padding: 80px 0;
}

.newsletter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.newsletter-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 8px;
}

.newsletter-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex: 1;
  max-width: 480px;
  min-width: 280px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 100px;
  border: none;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  outline: none;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: var(--transition);
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.55);
}

.newsletter-form input:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.18);
}

.newsletter .btn-primary {
  background: var(--white);
  color: var(--green-dark);
  white-space: nowrap;
}

.newsletter .btn-primary:hover {
  background: var(--green-bg);
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom p i {
  color: #ef4444;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ===========================
   SCROLL TO TOP
=========================== */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--green-dark);
  transform: translateY(-4px);
}

/* ===========================
   ANIMATIONS
=========================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE – TABLET
=========================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding: 100px 24px 60px;
  }

  .hero-text p { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-img-wrapper {
    max-width: 440px;
    margin: 0 auto;
  }

  .hero-img-wrapper img { height: 380px; }

  .hero-badge-float {
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    white-space: nowrap;
  }

  .why-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-image img { height: 380px; }

  .why-card-float {
    left: 16px;
    bottom: -16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .products-grid,
  .testimonials-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===========================
   RESPONSIVE – MOBILE
=========================== */
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }

  /* Navbar */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--green-dark);
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 1.4rem;
    color: var(--white) !important;
  }

  .hamburger { display: flex; z-index: 1000; }

  /* Products */
  .products-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Newsletter */
  .newsletter-container { flex-direction: column; text-align: center; }
  .newsletter-form { flex-direction: column; max-width: 100%; }
  .newsletter-form input, .newsletter .btn-primary {
    border-radius: var(--radius-sm);
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links { justify-content: center; }

  /* Hero */
  .hero-stats { gap: 24px; }
  .hero-stats .stat strong { font-size: 1.3rem; }

  /* Why us */
  .why-card-float { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns a { text-align: center; justify-content: center; }
  .hero-img-wrapper img { height: 280px; }
  .hero-badge-float { position: static; transform: none; margin: 16px auto 0; width: fit-content; }
  .why-features { gap: 20px; }
}
