/*
Theme Name: MYND Marketing
Theme URI: https://www.myndmarketing.com
Author: MYND Marketing
Author URI: https://www.myndmarketing.com
Description: WPC decking, cladding, fencing & railing brochure site for the Johor Bahru & Singapore market. Clean, responsive, SEO/AEO optimized.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: mynd-marketing
*/

:root {
  --green: #3a6b35;
  --green-dark: #294d26;
  --wood: #b5793b;
  --wood-light: #d9a86c;
  --ink: #20251f;
  --muted: #5d6b58;
  --bg: #ffffff;
  --bg-soft: #f4f1ea;
  --bg-soft-2: #eef2ea;
  --border: #e3ddd0;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(32, 37, 31, .08);
  --shadow-lg: 0 14px 40px rgba(32, 37, 31, .14);
  --max: 1180px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--wood); }

h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { color: var(--muted); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--green { background: var(--green); color: #fff; }
.section--green h2, .section--green p { color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 700; color: var(--wood); margin-bottom: 12px;
}
.section-head p { margin-top: 14px; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 50px;
  font-weight: 600; font-size: .95rem; cursor: pointer; border: 2px solid transparent;
  transition: all .2s; text-align: center;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.btn--wood { background: var(--wood); color: #fff; }
.btn--wood:hover { background: #9c6630; color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--green); }
.btn--outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }

/* ============================ Header ============================ */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand .logo-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--green), var(--wood));
  display: grid; place-items: center; color: #fff; font-weight: 800;
}
.brand small { display: block; font-size: .62rem; font-weight: 500; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav-links a:hover, .nav-links a.active, .nav-links .current-menu-item > a { color: var(--green); }
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; font-size: 1.6rem; color: var(--ink); }

/* ============================ Hero ============================ */
.hero {
  position: relative; color: #fff; text-align: left;
  background: linear-gradient(120deg, rgba(20,30,18,.82), rgba(41,77,38,.55)),
    url("img/decking/Decking-3.jpg") center/cover no-repeat;
  padding: 96px 0 104px;
}
.hero h1 { color: #fff; max-width: 760px; }
.hero p { color: rgba(255,255,255,.92); font-size: 1.15rem; max-width: 600px; margin: 20px 0 32px; }
.hero .pill {
  display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  padding: 6px 16px; border-radius: 50px; font-size: .82rem; font-weight: 600; margin-bottom: 22px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* trust strip */
.trust { background: var(--bg-soft-2); border-bottom: 1px solid var(--border); }
.trust .container { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 18px; padding: 22px; text-align: center; }
.trust-item { font-weight: 600; color: var(--green-dark); font-size: .95rem; }
.trust-item span { display: block; font-size: .76rem; color: var(--muted); font-weight: 500; }

/* certifications logo row */
.certs { padding: 28px 0; background: #fff; border-bottom: 1px solid var(--border); }
.certs .row { display: flex; flex-wrap: wrap; gap: 34px; justify-content: center; align-items: center; }
.certs img { height: 58px; width: auto; }
.certs .label { width: 100%; text-align: center; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }

/* ============================ Cards / grid ============================ */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .card-img { aspect-ratio: 16/10; background: var(--bg-soft); display: grid; place-items: center; overflow: hidden; }
.card .card-img svg { width: 100%; height: 100%; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 22px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { font-size: .94rem; margin-bottom: 14px; }
.card-link { font-weight: 600; font-size: .9rem; }

/* feature list */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature { text-align: center; padding: 26px 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.feature .ico { width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; background: var(--bg-soft-2); display: grid; place-items: center; font-size: 1.5rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { font-size: .88rem; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split img, .split .media { border-radius: var(--radius); box-shadow: var(--shadow); }
.split ul { list-style: none; margin-top: 18px; }
.split li { padding: 8px 0 8px 30px; position: relative; color: var(--muted); }
.split li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band .btn { margin-top: 22px; }

/* ============================ Page hero (inner) ============================ */
.page-hero {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  color: #fff; padding: 64px 0; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.9); max-width: 640px; margin: 12px auto 0; }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.8); margin-bottom: 10px; }
.breadcrumb a { color: rgba(255,255,255,.9); }

/* product detail rows */
.prod-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--border); }
.prod-row:nth-child(even) .prod-media { order: 2; }
.prod-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); aspect-ratio: 4/3; }
.prod-media svg { width: 100%; height: 100%; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media img { width: 100%; height: auto; display: block; }
.prod-info h2 { margin-bottom: 12px; }
.prod-info .specs { margin-top: 16px; border-collapse: collapse; width: 100%; font-size: .9rem; }
.prod-info .specs td { padding: 8px 10px; border-bottom: 1px solid var(--border); }
.prod-info .specs td:first-child { font-weight: 600; color: var(--ink); width: 42%; }
.tag { display: inline-block; background: var(--bg-soft-2); color: var(--green-dark); font-size: .76rem; font-weight: 600; padding: 4px 12px; border-radius: 50px; margin: 0 6px 6px 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: .95rem;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--green); border-color: var(--green); }
.info-card { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; }
.info-card h3 { margin-bottom: 16px; }
.info-line { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.info-line .ico { font-size: 1.2rem; }
.form-note { padding: 12px 16px; border-radius: 8px; font-weight: 600; margin-bottom: 18px; }
.form-note--ok { background: #e7f3e4; color: var(--green-dark); }
.form-note--err { background: #fbeaea; color: #9c2b2b; }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; padding: 18px 22px; }
.faq-item h3 { font-size: 1.02rem; margin-bottom: 6px; color: var(--green-dark); }
.faq-item p { font-size: .92rem; }

/* ============================ Footer ============================ */
.site-footer { background: var(--ink); color: #cdd2c8; padding: 56px 0 26px; }
.site-footer h4 { color: #fff; margin-bottom: 16px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 34px; }
.site-footer a { color: #cdd2c8; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 9px; font-size: .92rem; }
.footer-brand p { color: #9aa394; font-size: .92rem; margin-top: 12px; max-width: 280px; }
.footer-bottom { border-top: 1px solid #353b32; margin-top: 38px; padding-top: 20px; text-align: center; font-size: .85rem; color: #8a9182; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  background: #25d366; color: #fff; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.7rem; box-shadow: var(--shadow-lg);
}
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* ============================ Responsive ============================ */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column;
    align-items: flex-start; padding: 18px 22px; gap: 4px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 0; width: 100%; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: block; }
  .split, .grid-2, .grid-3, .grid-4, .features, .prod-row, .contact-grid { grid-template-columns: 1fr; }
  .prod-row:nth-child(even) .prod-media { order: 0; }
  .section { padding: 52px 0; }
}
