/* ===== WIELAND HYDROPONICS — SHARED STYLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --soil: #2C1810; --leaf: #3A5A28; --leaf-light: #5B8A3C; --moss: #6B7F4A;
  --water: #4A7C8A; --water-light: #7AB5C4; --cream: #F5F0E8; --sand: #E8DFD0;
  --warm: #D4A574; --terracotta: #C4724E; --parchment: #FAF7F2;
  --text: #2C2418; --text-light: #6B5E4F;
}
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--parchment); color: var(--text); line-height: 1.7; font-weight: 300; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); pointer-events: none; z-index: 9999; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ===== NAV ===== */
nav { position: fixed; top: 0; width: 100%; z-index: 100; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; transition: all 0.4s ease; background: rgba(245, 240, 232, 0.95); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(44, 24, 16, 0.06); }
.nav-logo { font-family: 'DM Serif Display', serif; font-size: 1.3rem; color: var(--soil); text-decoration: none; letter-spacing: 0.02em; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-light); font-size: 0.82rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px; background: var(--warm); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--leaf); }
.nav-links a.active { color: var(--leaf); font-weight: 500; }
.nav-cart { position: relative; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-cart svg { width: 22px; height: 22px; stroke: var(--text-light); fill: none; stroke-width: 1.8; transition: stroke 0.3s; }
.nav-cart:hover svg { stroke: var(--leaf); }
.cart-count { position: absolute; top: -4px; right: -6px; background: var(--terracotta); color: white; font-size: 0.65rem; font-weight: 600; width: 17px; height: 17px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Outfit', sans-serif; }
.cart-count:empty { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--soil); transition: all 0.3s; }

/* ===== HERO (home-only, dark bg version) ===== */
.hero-dark { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: linear-gradient(165deg, #1a2e12 0%, #2a4520 30%, #1e3318 60%, #162810 100%); }
.hero-dark::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 20% 80%, rgba(74, 124, 138, 0.15) 0%, transparent 70%), radial-gradient(ellipse 60% 50% at 80% 20%, rgba(91, 138, 60, 0.12) 0%, transparent 60%); }
.hero-dark .hero-pattern { position: absolute; inset: 0; opacity: 0.06; background-image: radial-gradient(circle at 25% 75%, var(--water-light) 1px, transparent 1px), radial-gradient(circle at 75% 25%, var(--leaf-light) 1px, transparent 1px); background-size: 60px 60px, 45px 45px; }
.hero-dark .hero-content { position: relative; z-index: 2; max-width: 800px; padding: 2rem; }
.hero-dark .hero-badge { display: inline-block; font-family: 'Caveat', cursive; font-size: 1.15rem; color: var(--warm); margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.8s 0.3s forwards; }
.hero-dark h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2.8rem, 7vw, 5rem); color: var(--cream); line-height: 1.08; margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.8s 0.5s forwards; }
.hero-dark h1 em { font-style: italic; color: var(--water-light); }
.hero-dark .hero-sub { font-size: 1.1rem; color: rgba(245, 240, 232, 0.7); max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.8; opacity: 0; animation: fadeUp 0.8s 0.7s forwards; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { padding: 8rem 2rem 4rem; background: var(--cream); text-align: center; }
.page-hero .section-label { margin-bottom: 0.5rem; }
.page-hero .section-title { margin-bottom: 1rem; }
.page-hero p { max-width: 550px; margin: 0 auto; color: var(--text-light); font-size: 1.05rem; }

/* ===== SHARED SECTION STYLES ===== */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-family: 'Caveat', cursive; font-size: 1.1rem; color: var(--terracotta); margin-bottom: 0.5rem; }
.section-title { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 3rem); color: var(--soil); line-height: 1.15; margin-bottom: 1.5rem; }

/* ===== QUICK ACTION CARDS (home) ===== */
.actions { background: var(--parchment); padding: 5rem 2rem; }
.actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
.action-card { background: white; border-radius: 16px; padding: 2.2rem; border: 1px solid rgba(44,24,16,0.06); transition: all 0.35s ease; text-decoration: none; color: var(--text); display: flex; flex-direction: column; gap: 1rem; }
.action-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(44,24,16,0.1); }
.action-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.action-icon-green { background: rgba(58,90,40,0.1); }
.action-icon-blue { background: rgba(74,124,138,0.1); }
.action-icon-warm { background: rgba(212,165,116,0.15); }
.action-icon-terra { background: rgba(196,114,78,0.1); }
.action-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.3rem; color: var(--soil); }
.action-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }
.action-arrow { font-size: 0.85rem; color: var(--terracotta); font-weight: 500; letter-spacing: 0.04em; margin-top: auto; }

/* ===== PRODUCT CARDS (shop) ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.product-card { background: white; border-radius: 16px; overflow: hidden; border: 1px solid rgba(44,24,16,0.06); transition: all 0.35s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(44,24,16,0.1); }
.product-card-img { height: 220px; overflow: hidden; position: relative; background: linear-gradient(135deg, #7ab55c 0%, #4a8a2e 100%); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 1.8rem; }
.product-card-body h3 { font-family: 'DM Serif Display', serif; font-size: 1.3rem; color: var(--soil); margin-bottom: 0.4rem; }
.product-card-body .price { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: var(--leaf); margin-bottom: 0.6rem; }
.product-card-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1.2rem; }
.badge { display: inline-block; background: rgba(58,90,40,0.1); color: var(--leaf); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 20px; margin-bottom: 0.8rem; }
.badge-soon { background: rgba(212,165,116,0.15); color: var(--terracotta); }

/* ===== GUIDE CARDS ===== */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.guide-card { background: white; border-radius: 16px; padding: 2rem; border: 1px solid rgba(44,24,16,0.06); text-decoration: none; color: var(--text); text-align: center; transition: all 0.35s ease; }
.guide-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(44,24,16,0.08); }
.guide-card-icon { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 1.2rem; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; overflow: hidden; }
.guide-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.guide-card h3 { font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--soil); margin-bottom: 0.4rem; }
.guide-card p { font-size: 0.82rem; color: var(--text-light); line-height: 1.5; }

/* ===== GUIDE DETAIL PAGE ===== */
.guide-detail { max-width: 800px; margin: 0 auto; }
.guide-infographic { border-radius: 16px; overflow: hidden; margin-bottom: 2rem; background: var(--cream); min-height: 300px; }
.guide-infographic img { width: 100%; display: block; }
.guide-body { padding: 0 1rem; }
.guide-body p { font-size: 1.05rem; color: var(--text-light); margin-bottom: 1.2rem; }
.guide-back { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--terracotta); text-decoration: none; font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em; margin-bottom: 2rem; }
.guide-back:hover { color: var(--leaf); }

/* ===== FORMS ===== */
.order-form { background: white; border-radius: 20px; padding: 2.5rem; border: 1px solid rgba(44,24,16,0.06); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.85rem 1.1rem; border: 1.5px solid rgba(44,24,16,0.12); border-radius: 10px; font-family: 'Outfit', sans-serif; font-size: 0.95rem; color: var(--text); background: var(--parchment); transition: border-color 0.3s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--leaf-light); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-note { text-align: center; font-size: 0.8rem; color: var(--text-light); margin-top: 1rem; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 2rem; border-radius: 50px; text-decoration: none; font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 0.9rem; letter-spacing: 0.04em; transition: all 0.35s ease; cursor: pointer; border: none; }
.btn-primary { background: var(--warm); color: var(--soil); }
.btn-primary:hover { background: var(--terracotta); color: white; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(196,114,78,0.3); }
.btn-outline { border: 1.5px solid rgba(44,24,16,0.15); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--leaf); color: var(--leaf); transform: translateY(-2px); }
.btn-dark-outline { border: 1.5px solid rgba(245,240,232,0.35); color: var(--cream); background: transparent; }
.btn-dark-outline:hover { border-color: var(--warm); color: var(--warm); transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.82rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-add-cart { background: var(--leaf); color: white; }
.btn-add-cart:hover { background: var(--leaf-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(58,90,40,0.25); }

/* ===== CART DRAWER ===== */
.cart-overlay { position: fixed; inset: 0; background: rgba(44,24,16,0.4); z-index: 200; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: -420px; width: 400px; max-width: 90vw; height: 100vh; background: var(--parchment); z-index: 201; transition: right 0.35s ease; display: flex; flex-direction: column; box-shadow: -8px 0 30px rgba(44,24,16,0.15); }
.cart-drawer.open { right: 0; }
.cart-header { padding: 1.5rem 2rem; border-bottom: 1px solid rgba(44,24,16,0.08); display: flex; justify-content: space-between; align-items: center; }
.cart-header h3 { font-family: 'DM Serif Display', serif; font-size: 1.3rem; color: var(--soil); }
.cart-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-light); padding: 4px; }
.cart-items { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--text-light); font-size: 0.95rem; }
.cart-item { display: flex; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid rgba(44,24,16,0.06); }
.cart-item-img { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; background: var(--cream); flex-shrink: 0; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h4 { font-size: 0.9rem; font-weight: 500; color: var(--soil); margin-bottom: 0.2rem; }
.cart-item-info .cart-item-price { font-size: 0.85rem; color: var(--leaf); font-weight: 500; }
.cart-item-qty { display: flex; align-items: center; gap: 0.5rem; }
.cart-item-qty button { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(44,24,16,0.12); background: white; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; color: var(--text); transition: all 0.2s; }
.cart-item-qty button:hover { border-color: var(--leaf); color: var(--leaf); }
.cart-item-qty span { font-size: 0.9rem; font-weight: 500; min-width: 20px; text-align: center; }
.cart-footer { padding: 1.5rem 2rem; border-top: 1px solid rgba(44,24,16,0.08); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cart-total span:first-child { font-size: 0.95rem; color: var(--text-light); }
.cart-total span:last-child { font-family: 'DM Serif Display', serif; font-size: 1.4rem; color: var(--soil); }

/* ===== UNDER CONSTRUCTION BANNER ===== */
.construction-banner { background: linear-gradient(135deg, var(--warm) 0%, var(--terracotta) 100%); color: white; text-align: center; padding: 1rem 2rem; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.03em; }

/* ===== ABOUT COMPACT ===== */
.about-compact { background: var(--cream); }
.about-grid-compact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-img { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(145deg, var(--leaf) 0%, #2a4a1e 100%); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-content p { font-size: 1rem; color: var(--text-light); margin-bottom: 1rem; }
.about-stats-row { display: flex; gap: 2rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(44,24,16,0.1); }
.about-stat .stat-number { font-family: 'DM Serif Display', serif; font-size: 1.8rem; color: var(--leaf); }
.about-stat .stat-label { font-size: 0.75rem; color: var(--text-light); letter-spacing: 0.05em; text-transform: uppercase; }

/* ===== MARKET STRIP ===== */
.market-strip { background: var(--soil); color: var(--cream); padding: 4rem 2rem; }
.market-strip-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 3rem; flex-wrap: wrap; }
.market-strip h2 { font-family: 'DM Serif Display', serif; font-size: 1.8rem; }
.market-info-items { display: flex; gap: 3rem; }
.market-info-item { display: flex; gap: 0.8rem; align-items: center; }
.market-info-item .icon { font-size: 1.3rem; }
.market-info-item .detail { font-size: 0.9rem; color: rgba(245,240,232,0.7); }
.market-info-item .detail strong { color: var(--cream); display: block; font-weight: 500; }

/* ===== FOOTER ===== */
footer { background: #1a1410; color: rgba(245,240,232,0.5); padding: 3rem 2rem 1.5rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(245,240,232,0.08); }
.footer-brand-name { font-family: 'DM Serif Display', serif; font-size: 1.3rem; color: var(--cream); margin-bottom: 0.6rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,240,232,0.3); margin-bottom: 0.8rem; }
.footer-col a { display: block; color: rgba(245,240,232,0.5); text-decoration: none; font-size: 0.85rem; margin-bottom: 0.5rem; transition: color 0.3s; }
.footer-col a:hover { color: var(--warm); }
.footer-bottom { display: flex; justify-content: space-between; font-size: 0.75rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid-compact { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .market-strip-inner { flex-direction: column; text-align: center; }
  .market-info-items { flex-direction: column; gap: 1.5rem; }
}
@media (max-width: 700px) {
  section { padding: 3.5rem 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(245,240,232,0.98); backdrop-filter: blur(12px); padding: 1.5rem 2rem; gap: 1.2rem; box-shadow: 0 8px 20px rgba(44,24,16,0.08); }
  .form-row { grid-template-columns: 1fr; }
  .actions-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; text-align: center; }
  .about-stats-row { flex-wrap: wrap; }
  .page-hero { padding: 7rem 1.5rem 3rem; }
}
