/*
Theme Name: Cybe Demo Herbs Shop
Theme URI: https://cybehub.com.ng
Author: Cybe Hub Brand
Author URI: https://cybehub.com.ng
Description: A premium herbal wellness demo theme. Pairs with the Cybe Demo Herbs Shop Manager plugin for product images and contact details.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cybe-demo-herbs-shop
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest: #1a2c1e;
  --moss: #2d4a32;
  --sage: #6b8f71;
  --leaf: #a3c4a8;
  --cream: #f5f0e8;
  --gold: #c9a84c;
  --gold-light: #e2c97e;
  --bark: #3d2b1f;
  --text-light: #f0ebe0;
  --text-muted: #9db3a0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--forest);
  color: var(--text-light);
  overflow-x: hidden;
}

/* ── HERO NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 5%;
  background: rgba(26,44,30,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(163,196,168,0.15);
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: none;
}
.logo span { color: var(--leaf); font-style: italic; }
nav ul { list-style: none; display: flex; gap: 2.5rem; }
nav ul a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase;
  transition: color 0.3s;
}
nav ul a:hover { color: var(--gold-light); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(45,74,50,0.6) 0%, transparent 70%),
    linear-gradient(160deg, #0e1a10 0%, #1a2c1e 45%, #0d1f10 100%);
  padding: 8rem 5% 5rem;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(107,143,113,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-deco {
  position: absolute; opacity: 0.06; font-size: 18rem; top: -3rem; right: -4rem;
  pointer-events: none; user-select: none;
  animation: float 10s ease-in-out infinite;
}
.hero-deco2 {
  position: absolute; opacity: 0.04; font-size: 14rem; bottom: -2rem; left: -3rem;
  pointer-events: none; animation: float 13s ease-in-out infinite reverse;
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(8deg); }
}

.hero-tag {
  display: inline-block;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.4);
  padding: 0.35rem 1.2rem; border-radius: 2rem; margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300; line-height: 1.05;
  color: var(--cream);
  animation: fadeUp 0.9s 0.1s ease both;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p {
  max-width: 600px; margin: 2rem auto;
  font-size: 1rem; color: var(--text-muted); line-height: 1.8;
  font-weight: 300;
  animation: fadeUp 1s 0.2s ease both;
}
.btn-primary {
  display: inline-block; margin-top: 1rem;
  background: var(--gold); color: var(--forest);
  padding: 0.9rem 2.5rem; border-radius: 3rem;
  font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; font-weight: 500;
  transition: background 0.3s, transform 0.2s;
  animation: fadeUp 1s 0.3s ease both;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── SECTION WRAPPER ── */
section { padding: 6rem 5%; }
.section-label {
  font-size: 0.68rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.8rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.2;
  color: var(--cream);
  margin-bottom: 1.2rem;
}
.section-title em { font-style: italic; color: var(--gold); }
.divider {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem 0 3rem;
}

/* ── ABOUT ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.about-text p {
  color: var(--text-muted); line-height: 1.9; font-weight: 300;
  margin-bottom: 1.2rem;
}
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
}
.stat-card {
  background: rgba(45,74,50,0.3);
  border: 1px solid rgba(163,196,168,0.12);
  border-radius: 1rem;
  padding: 1.8rem; text-align: center;
}
.stat-card .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; color: var(--gold); line-height: 1;
}
.stat-card p { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.08em; margin-top: 0.4rem; }

/* ── PRODUCTS ── */
#products { background: rgba(10,20,12,0.5); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.product-card {
  background: linear-gradient(145deg, rgba(45,74,50,0.4), rgba(26,44,30,0.6));
  border: 1px solid rgba(163,196,168,0.14);
  border-radius: 1.2rem;
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
  position: relative;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,168,76,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.product-img {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, rgba(107,143,113,0.15), rgba(45,74,50,0.3));
  position: relative; overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%; object-fit: cover;
  position: relative; z-index: 1;
}
.product-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(26,44,30,0.8));
  z-index: 2;
}
.badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gold); color: var(--forest);
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.7rem; border-radius: 2rem; font-weight: 500;
  z-index: 3;
}
.product-body { padding: 1.5rem; }
.product-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; color: var(--cream); margin-bottom: 0.5rem;
}
.product-body .desc {
  font-size: 0.8rem; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 1.2rem;
}
.product-footer {
  display: flex; justify-content: space-between; align-items: center;
}
.price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem; color: var(--gold); font-weight: 600;
}
.price span { font-size: 0.75rem; color: var(--text-muted); font-family: 'Jost', sans-serif; font-weight: 300; }
.order-btn {
  background: transparent;
  border: 1px solid rgba(201,168,76,0.45);
  color: var(--gold); padding: 0.5rem 1.2rem; border-radius: 2rem;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; font-family: 'Jost', sans-serif;
  transition: background 0.3s, color 0.3s;
}
.order-btn:hover { background: var(--gold); color: var(--forest); }

/* ── BENEFITS ── */
.benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem;
}
.benefit-card {
  padding: 2rem 1.5rem;
  border-left: 2px solid rgba(201,168,76,0.3);
  transition: border-color 0.3s;
}
.benefit-card:hover { border-color: var(--gold); }
.benefit-icon { font-size: 2rem; margin-bottom: 1rem; }
.benefit-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: var(--cream); margin-bottom: 0.5rem;
}
.benefit-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; }

/* ── ORDER FORM ── */
#order { background: rgba(10,20,12,0.6); }
.form-wrap {
  max-width: 800px; margin: 0 auto;
  background: linear-gradient(145deg, rgba(45,74,50,0.25), rgba(26,44,30,0.5));
  border: 1px solid rgba(163,196,168,0.12);
  border-radius: 1.5rem;
  padding: 3rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 0.5rem;
}
input, select, textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(163,196,168,0.18);
  border-radius: 0.6rem;
  color: var(--cream);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem; font-weight: 300;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(201,168,76,0.55);
  background: rgba(255,255,255,0.07);
}
select option { background: var(--forest); color: var(--cream); }
textarea { resize: vertical; min-height: 120px; }
.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--forest);
  border: none; border-radius: 3rem;
  padding: 1rem; margin-top: 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; transition: opacity 0.3s, transform 0.2s;
}
.submit-btn:hover { opacity: 0.88; transform: translateY(-2px); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.form-note {
  text-align: center; margin-top: 1.2rem;
  font-size: 0.75rem; color: var(--text-muted);
}
.success-msg {
  display: none;
  background: rgba(107,143,113,0.2);
  border: 1px solid rgba(107,143,113,0.4);
  border-radius: 0.8rem; padding: 1.5rem; text-align: center;
  color: var(--leaf); margin-top: 1.5rem;
}

/* ── COMPANY INFO ── */
.company-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-card {
  display: flex; align-items: flex-start; gap: 1.2rem;
  background: rgba(45,74,50,0.2);
  border: 1px solid rgba(163,196,168,0.1);
  border-radius: 1rem; padding: 1.2rem 1.5rem;
}
.contact-card .icon {
  font-size: 1.5rem; flex-shrink: 0; margin-top: 0.1rem;
}
.contact-card h5 {
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.3rem;
}
.contact-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid rgba(163,196,168,0.1);
  padding: 2.5rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
footer .logo { font-size: 1.1rem; }
footer p { font-size: 0.75rem; color: var(--text-muted); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav ul { display: none; }
  .about-grid, .company-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 2rem 1.5rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
