/*
Theme Name: Nu-century OnePage Theme
Theme URI: https://example.com
Author: Nu-Century Productions
Description: One-page WordPress theme for Enadi Hibiscus Tea Blend. Editable via Customizer, media-ready, responsive.
Version: 1.0
Text Domain: nu-century-onepage
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Poppins:wght@300;400;600&display=swap');

:root {
  --enadi-green: #2e8b57;
  --enadi-gold: #d4af37;
  --bg: #fbfbf5;
  --text: #1f2d24;
  --muted: #666b66;
  --card-bg: #ffffff;
  --max-width: 1200px;
}

/* Reset & base */
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, 'Noto Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--enadi-green); text-decoration: none; }
img { max-width: 100%; display: block; }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent;
  transition: background .36s ease, box-shadow .36s ease;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,0);
}
.site-header.solid {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}
.site-brand { display: flex; align-items: center; gap: 16px; padding: 10px 20px; }
.logo { max-height: 68px; width: auto; display: block; border-radius: 8px; }
.site-title { font-weight: 700; font-size: 1.05rem; }
.site-slogan { color: var(--muted); font-size: 0.92rem; }

/* Nav */
.site-nav { margin-left: auto; display: flex; gap: 16px; align-items: center; }
.site-nav a { color: var(--muted); font-weight: 600; }

/* Hero */
.hero-section {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.hero-left { flex: 1; }
.hero-right { flex: 1; display: flex; align-items: center; justify-content: center; }
.hero-title {
  font-size: 36px;
  margin: 0 0 12px;
  color: var(--enadi-green);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.hero-lead { color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.hero-cta { display: flex; gap: 12px; }
.btn {
  background: var(--enadi-green);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  display: inline-block;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(46,139,87,0.10);
  transition: transform .22s;
}
.btn:hover { transform: translateY(-4px); }
.btn-outline { background: transparent; color: var(--enadi-green); border: 1px solid rgba(0,0,0,0.06); }

/* Hero image */
.hero-image {
  max-width: 420px;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  transform: translateZ(0);
}

/* ✅ HERO SLIDESHOW — inserted below .hero-image */
.hero-slider,
.hero,
.slideshow,
.hero-images {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.hero-slider img,
.hero img,
.slideshow img,
.hero-images img,
.slide-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider img:first-child,
.hero img:first-child,
.slideshow img:first-child,
.hero-images img:first-child,
.slide-item:first-child {
  opacity: 1;
}

/* Sections */
.section { padding: 48px 0; }
.section h2 { font-size: 26px; color: var(--enadi-green); margin-bottom: 12px; }
.section p { color: var(--muted); line-height: 1.7; }

/* Ingredients grid */
.ingredients-grid { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; }
.ing-card {
  background: var(--card-bg);
  padding: 14px;
  border-radius: 12px;
  min-width: 180px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  text-align: center;
}

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.value-card {
  background: linear-gradient(180deg, #fff, #fbfbfb);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  transition: transform .28s ease;
}
.value-card:hover { transform: translateY(-8px); }

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.product-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .28s ease;
  border: 1px solid rgba(0,0,0,0.03);
}
.product-card:hover { transform: translateY(-8px); }
.product-thumb { height: 220px; object-fit: cover; }

/* Why Choose Enadi (5 cards) */
.why-section { padding: 48px 0; text-align: center; }
.why-section .section-title { font-size: 28px; margin-bottom: 8px; color: var(--enadi-green); }
.why-section .section-desc { max-width: 860px; margin: 0 auto 22px; color: var(--muted); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 18px;
  align-items: stretch;
  justify-items: center;
}

.why-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  transition: transform .28s ease, box-shadow .28s ease;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.why-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }

.why-thumb { width:100%; height:160px; overflow:hidden; }
.why-thumb img { width:100%; height:100%; object-fit:cover; display:block; }

.why-body { padding:16px; text-align:left; flex:1; display:flex; flex-direction:column; }
.why-body h4 { margin:0 0 8px; font-size:1.05rem; color:var(--text); }
.why-excerpt { color:var(--muted); font-size:0.95rem; line-height:1.6; margin-top:auto; }

/* Clients Section */
.clients-section { background: #fafafa; padding: 80px 0; }
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.client-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.client-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.client-thumb img { width: 80px; height: 80px; object-fit: contain; margin-bottom: 10px; }
.client-name { font-size: 1rem; color: #333; font-weight: 600; }

/* Summary table */
.summary-table { margin-top: 20px; width: 100%; border-collapse: collapse; }
.summary-table th, .summary-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

/* Contact */
.contact-grid { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.contact-form { flex: 1; min-width: 280px; }
.contact-info { flex: 0 0 320px; min-width: 240px; }

/* Footer */
.site-footer { padding: 28px 0; text-align: center; color: var(--muted); margin-top: 36px; }

/* WhatsApp FAB */
.fab-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(180deg,var(--enadi-green), #25c95a);
  color: #fff;
  border-radius: 50px;
  padding: 10px 18px;
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(46,139,87,0.14);
  cursor: pointer;
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fab-whatsapp:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px rgba(46,139,87,0.2);
}
.fab-whatsapp svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.fab-whatsapp span { font-size: 0.9rem; line-height: 1; }
@media (max-width: 480px) {
  .fab-whatsapp span { display: none; }
  .fab-whatsapp { padding: 14px; width: 48px; height: 48px; }
  .fab-whatsapp svg { width: 24px; height: 24px; }
}

/* Leaf particles */
.leaf-canvas { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

/* Reveal helpers */
.reveal { opacity: 0; transform: translateY(18px); transition: all .8s cubic-bezier(.2,.9,.2,1); }
.reveal.show { opacity: 1; transform: translateY(0); }

/* Floating soft parallax */
.hero-image-wrap { transform: translateZ(0); will-change: transform; transition: transform 0.6s ease; }
.hero-image.floaty { transform: translateY(-8px); }

/* Milestones */
.milestones { margin-top: 20px; }
.milestone-list { list-style: none; padding: 0; }
.milestone-list li {
  background: #fff;
  border-left: 4px solid var(--enadi-gold);
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #444;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Float animation */
@keyframes floaty { 0% { transform: translateY(0) } 50% { transform: translateY(-8px) } 100% { transform: translateY(0) } }
.leafy { animation: floaty 6s ease-in-out infinite; }


:root { --enadi-green:#2e8b57; }

.reviews-section {
  padding:80px 0;
  background:#f6faf7;
  text-align:center;
}

.reviews-grid {
  display:grid;
  gap:32px;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  width:100%;
  max-width:1200px;
  margin:0 auto;
}

.review-card {
  background:#fff;
  border-radius:16px;
  padding:22px 18px;
  box-shadow:0 4px 18px rgba(0,0,0,0.08);
  border-top:4px solid var(--enadi-green);
  transition:.3s;
}

.review-card:hover {
  transform:translateY(-6px);
  box-shadow:0 8px 28px rgba(0,0,0,0.12);
}

.review-img img {
  width:90px;
  height:90px;
  object-fit:cover;
  border-radius:50%;
  border:3px solid var(--enadi-green);
  margin-bottom:14px;
}
.review-name {
  font-weight:600;
  margin-bottom:10px;
}
.review-text {
  color:#555;
  font-size:.95rem;
  max-width:90%;
  margin:0 auto;
}

/* -------------------------------
   GLOBAL CARD SECTIONS VERTICAL STACK
---------------------------------*/

/* Generic container for all card lists */
.products-grid,
.why-grid,
.clients-grid,
.values-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* Ensure cards inside all lists stretch full width */
.products-grid .product-card,
.why-grid .why-card,
.clients-grid .client-card,
.values-grid .value-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    flex-direction: column !important;
}

/* Preserve hover effects */
.products-grid .product-card:hover,
.why-grid .why-card:hover,
.clients-grid .client-card:hover,
.values-grid .value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

/* Make images fully responsive inside cards */
.products-grid .product-card img,
.why-grid .why-card img,
.clients-grid .client-card img,
.values-grid .value-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease-out, filter 0.45s ease-out;
}

/* Optional: reduce gap on smaller screens */
@media(max-width:768px){
    .products-grid .product-card img,
    .why-grid .why-card img,
    .clients-grid .client-card img,
    .values-grid .value-card img {
        height: auto !important;
    }
}
@media(max-width:650px){
    .products-grid,
    .why-grid,
    .clients-grid,
    .values-grid {
        gap: 20px !important;
    }
}

/* Responsive tweaks */
@media (max-width:1100px) {
  .products-grid { grid-template-columns: repeat(3,1fr); }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .hero-section { flex-direction: column-reverse; gap: 18px; }
  .hero-image { max-width: 320px; }
  .site-nav { display: none; }
}
@media (max-width:700px) {
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 24px; }
  .hero-image { max-width: 280px; }
  .site-brand { padding: 10px; }
}
@media (max-width:480px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero-left { text-align: center; }
  .hero-right { justify-content: center; }
  .fab-whatsapp { right: 12px; bottom: 12px; padding: 10px 14px; }
  .fab-whatsapp span { display: none; }
}
