/*
Theme Name: Budz Delight
Theme URI: https://budzdelight.co.za/
Author: Budz Delight
Author URI: https://budzdelight.co.za/
Description: A modern, responsive one-page business website for Budz Delight.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: budz-delight
Tags: one-column, custom-logo, custom-menu, featured-images, full-width-template, theme-options
*/

:root {
      --bg: #09130f;
      --bg-soft: #0e1d16;
      --panel: rgba(21, 40, 30, .78);
      --green: #a8f06a;
      --green-2: #74c94c;
      --cream: #f2f4e9;
      --muted: #a9b7aa;
      --line: rgba(213, 240, 207, .14);
      --max: 1160px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      background: var(--bg);
      color: var(--cream);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
    }
    a { color: inherit; text-decoration: none; }
    button, a { -webkit-tap-highlight-color: transparent; }
    .noise {
      position: fixed; inset: 0; pointer-events: none; z-index: 5; opacity: .035;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
    }
    .wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
    .site-header {
      position: absolute; top: 0; left: 0; right: 0; z-index: 20;
      border-bottom: 1px solid rgba(255,255,255,.08);
      background: rgba(7, 17, 12, .42); backdrop-filter: blur(14px);
    }
    .nav { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: -.045em; font-size: 1.22rem; }
    .brand-mark {
      width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center;
      color: #102016; background: var(--green); box-shadow: 0 0 26px rgba(168,240,106,.18);
    }
    .brand-mark svg { width: 23px; height: 23px; }
    .brand small { display: block; color: var(--muted); font-size: .58rem; font-weight: 650; letter-spacing: .19em; text-transform: uppercase; margin-top: -3px; }
    .nav-links { display: flex; align-items: center; gap: 34px; color: #d2ddcf; font-size: .88rem; font-weight: 600; }
    .nav-links a { transition: color .2s ease; }
    .nav-links a:hover { color: var(--green); }
    .nav-cta, .button {
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      min-height: 48px; padding: 0 20px; border-radius: 999px;
      background: var(--green); color: #102016; font-weight: 800; font-size: .9rem;
      border: 1px solid transparent; transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    }
    .nav-cta:hover, .button:hover { transform: translateY(-2px); background: #bbff7d; box-shadow: 0 12px 34px rgba(168,240,106,.17); }
    .button.secondary { background: transparent; border-color: rgba(228,245,222,.27); color: var(--cream); }
    .button.secondary:hover { border-color: var(--green); color: var(--green); background: rgba(168,240,106,.06); box-shadow: none; }
    .menu-toggle { display: none; background: transparent; border: 1px solid var(--line); color: white; border-radius: 12px; width: 44px; height: 44px; font-size: 1.2rem; }

    .hero {
      position: relative; min-height: 760px; display: flex; align-items: center; isolation: isolate;
      padding: 150px 0 100px; overflow: hidden;
      background:
        radial-gradient(ellipse at 78% 34%, rgba(110,195,71,.19), transparent 33%),
        radial-gradient(ellipse at 10% 80%, rgba(51,111,64,.22), transparent 38%),
        linear-gradient(115deg, #08120d 2%, #0d2016 56%, #0a1710 100%);
    }
    .hero::before {
      content: ""; position: absolute; z-index: -1; width: 610px; height: 610px; right: max(-100px, calc((100vw - 1400px)/2)); top: 125px;
      border: 1px solid rgba(190,245,164,.15); border-radius: 50%; box-shadow: 0 0 0 42px rgba(190,245,164,.025), 0 0 0 90px rgba(190,245,164,.018);
    }
    .hero::after {
      content: ""; position: absolute; z-index: -1; width: 360px; height: 500px; right: 9%; top: 170px;
      border-radius: 52% 48% 58% 42%; transform: rotate(27deg);
      background: linear-gradient(145deg, rgba(168,240,106,.15), rgba(49,110,61,.02));
      border: 1px solid rgba(168,240,106,.2); filter: blur(.2px);
    }
    .hero-content { max-width: 720px; position: relative; z-index: 2; }
    .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
    .eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--green); }
    h1 { margin: 22px 0 22px; font-size: clamp(3.5rem, 8vw, 6.9rem); line-height: .96; letter-spacing: -.075em; font-weight: 850; max-width: 780px; }
    h1 span { color: var(--green); }
    .hero-copy { max-width: 535px; margin: 0; color: #bdcbbd; font-size: clamp(1rem, 1.6vw, 1.17rem); }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
    .hero-note { display: flex; align-items: center; gap: 11px; margin-top: 54px; color: #9eae9f; font-size: .78rem; letter-spacing: .04em; }
    .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(168,240,106,.1); }
    .hero-stamp { position: absolute; right: 7%; bottom: 14%; width: 138px; height: 138px; border-radius: 50%; border: 1px solid rgba(168,240,106,.38); display: grid; place-items: center; text-align: center; color: var(--green); transform: rotate(12deg); background: rgba(9,19,15,.35); }
    .hero-stamp strong { font-size: 1.1rem; line-height: 1.1; letter-spacing: -.04em; }
    .hero-stamp span { display: block; font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; margin-top: 7px; }

    section { padding: 110px 0; }
    .section-head { max-width: 650px; margin-bottom: 48px; }
    .section-head h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); letter-spacing: -.065em; line-height: 1.03; margin: 16px 0; }
    .section-head p { color: var(--muted); margin: 0; font-size: 1.03rem; }
    .about { background: #0c1912; position: relative; }
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
    .about-visual {
      min-height: 430px; position: relative; overflow: hidden; border-radius: 28px;
      background: radial-gradient(circle at 50% 48%, rgba(168,240,106,.20), transparent 28%), linear-gradient(145deg, #172e20, #0b1710 70%);
      border: 1px solid rgba(205,239,190,.13); display: grid; place-items: center;
    }
    .about-visual::before, .about-visual::after { content: ""; position: absolute; border: 1px solid rgba(168,240,106,.17); border-radius: 50%; width: 330px; height: 330px; }
    .about-visual::after { width: 440px; height: 440px; }
    .visual-word { z-index: 1; color: var(--green); font-size: clamp(3.2rem, 8vw, 5.8rem); font-weight: 900; letter-spacing: -.09em; transform: rotate(-9deg); text-shadow: 0 15px 55px rgba(0,0,0,.3); }
    .visual-caption { position: absolute; bottom: 25px; left: 28px; z-index: 2; color: #bacbb7; font-size: .72rem; letter-spacing: .17em; text-transform: uppercase; }
    .about-copy h2 { font-size: clamp(2.5rem, 4vw, 4rem); letter-spacing: -.07em; line-height: 1.02; margin: 15px 0 23px; }
    .about-copy h2 span { color: var(--green); }
    .about-copy p { color: var(--muted); margin: 0 0 18px; }
    .values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
    .value { border-top: 1px solid var(--line); padding-top: 15px; }
    .value strong { display: block; color: var(--cream); font-size: .95rem; }
    .value span { color: #8fa091; font-size: .78rem; }

    .pillars { background: var(--bg); }
    .pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .pillar {
      min-height: 250px; padding: 30px; border-radius: 22px; background: linear-gradient(145deg, rgba(25,49,34,.88), rgba(14,27,19,.84));
      border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease;
    }
    .pillar:hover { transform: translateY(-6px); border-color: rgba(168,240,106,.45); }
    .pillar-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; color: var(--green); background: rgba(168,240,106,.09); font-size: 1.25rem; margin-bottom: 35px; }
    .pillar h3 { margin: 0 0 9px; font-size: 1.25rem; letter-spacing: -.03em; }
    .pillar p { color: var(--muted); font-size: .91rem; margin: 0; }

    .contact { padding: 105px 0; background: linear-gradient(140deg, #14291b, #0c1912 65%, #0a140e); }
    .contact-panel { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: start; }
    .contact h2 { font-size: clamp(2.7rem, 5vw, 4.5rem); line-height: .98; letter-spacing: -.075em; margin: 17px 0 20px; }
    .contact h2 span { color: var(--green); }
    .contact-intro { max-width: 470px; color: var(--muted); }
    .contact-cards { display: grid; gap: 12px; }
    .contact-card { display: flex; align-items: flex-start; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(5,15,9,.24); }
    .contact-icon { flex: 0 0 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(168,240,106,.1); color: var(--green); font-size: 1.1rem; }
    .contact-card small { display: block; color: #8fa091; text-transform: uppercase; letter-spacing: .15em; font-size: .63rem; font-weight: 800; }
    .contact-card strong { display: block; font-size: .98rem; font-weight: 700; margin-top: 3px; }
    .contact-card a:hover { color: var(--green); }
    .contact-extra { color: #9eae9f; font-size: .78rem; margin: 16px 2px 0; }

    .legal { background: #07100b; padding: 32px 0; border-top: 1px solid var(--line); }
    .legal-inner { display: flex; justify-content: space-between; gap: 35px; align-items: center; }
    .legal p { max-width: 790px; color: #819184; font-size: .72rem; line-height: 1.65; margin: 0; }
    .legal a { color: #b4c9b0; text-decoration: underline; text-underline-offset: 3px; }
    .legal-mark { white-space: nowrap; color: var(--green); font-size: .7rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
    footer { background: #050c08; padding: 24px 0; color: #77877a; font-size: .75rem; }
    .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
    .footer-brand { color: var(--cream); font-weight: 800; letter-spacing: -.03em; }
    .top-link { color: var(--green); }

    @media (max-width: 850px) {
      .wrap { width: min(var(--max), calc(100% - 38px)); }
      .nav-links { gap: 20px; }
      .hero { min-height: 700px; }
      .hero-stamp { right: 4%; bottom: 8%; width: 112px; height: 112px; }
      .about-grid { gap: 38px; }
      .contact-panel { gap: 35px; }
    }
    @media (max-width: 680px) {
      .nav { height: 72px; }
      .menu-toggle { display: grid; place-items: center; }
      .nav-cta { display: none; }
      .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 20px 24px 24px; background: rgba(7,17,12,.97); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 17px; }
      .nav-links.open { display: flex; }
      .hero { min-height: 710px; padding: 135px 0 90px; }
      .hero::before { width: 390px; height: 390px; right: -190px; top: 210px; }
      .hero::after { width: 230px; height: 340px; right: -60px; top: 240px; }
      h1 { font-size: clamp(3.4rem, 17vw, 5.4rem); }
      .hero-copy { max-width: 430px; }
      .hero-stamp { display: none; }
      section { padding: 78px 0; }
      .about-grid, .contact-panel { grid-template-columns: 1fr; }
      .about-visual { min-height: 310px; order: 2; }
      .values { gap: 10px; }
      .value strong { font-size: .84rem; }
      .value span { font-size: .7rem; }
      .pillar-grid { grid-template-columns: 1fr; }
      .pillar { min-height: 0; }
      .pillar-icon { margin-bottom: 22px; }
      .contact { padding: 78px 0; }
      .legal-inner, .footer-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    }

/* WordPress theme refinements */
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { display: block; width: auto; max-width: 170px; max-height: 48px; object-fit: contain; }
.site-branding-copy { display: inline-flex; flex-direction: column; line-height: 1.25; }
.site-branding-copy .site-name { color: var(--cream); font-weight: 850; letter-spacing: -.045em; font-size: 1.22rem; }
.site-branding-copy .site-tagline { display: block; color: var(--muted); font-size: .58rem; font-weight: 650; letter-spacing: .19em; text-transform: uppercase; margin-top: 2px; }
.site-branding { display: inline-flex; align-items: center; gap: 12px; }
.contact-card address { color: var(--cream); font-style: normal; font-size: .98rem; font-weight: 700; line-height: 1.55; margin-top: 3px; }


/* Budz Delight 1.1 — sticky navigation, stronger brand presence and botanical artwork */
:root {
  --max: 1220px;
  --green: #b7f477;
  --green-2: #82d35a;
  --nav-height: 100px;
}
.site-header {
  position: sticky;
  top: 0;
  left: auto;
  right: auto;
  z-index: 1000;
  background: rgba(6, 16, 10, .92);
  border-bottom: 1px solid rgba(183, 244, 119, .2);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.site-header.is-scrolled {
  background: rgba(5, 13, 8, .97);
  border-bottom-color: rgba(183, 244, 119, .3);
  box-shadow: 0 12px 38px rgba(0, 0, 0, .32);
}
.nav { min-height: var(--nav-height); height: auto; gap: 28px; }
.brand { gap: 15px; font-size: 1.48rem; }
.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  box-shadow: 0 0 34px rgba(183, 244, 119, .24);
}
.brand-mark svg { width: 34px; height: 34px; }
.brand small { font-size: .64rem; letter-spacing: .2em; margin-top: 1px; }
.custom-logo-link { flex: 0 0 auto; }
.custom-logo {
  max-width: 250px;
  max-height: 76px;
  width: auto;
  height: auto;
}
.brand:has(.custom-logo) > span { display: none; }
.nav-links { gap: clamp(20px, 3vw, 42px); font-size: .94rem; }
.nav-links a { position: relative; padding: 10px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  border-radius: 4px;
  background: var(--green);
  transition: right .22s ease;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { right: 0; }
.nav-cta { min-height: 50px; padding-inline: 23px; }
.menu-toggle { width: 48px; height: 48px; font-size: 1.35rem; }

/* Sticky-header anchors stop below the menu rather than underneath it. */
#home, #about, #values, #contact { scroll-margin-top: calc(var(--nav-height) + 18px); }
.hero {
  min-height: 720px;
  padding: 105px 0 95px;
  background:
    radial-gradient(ellipse at 82% 42%, rgba(132, 211, 90, .22), transparent 35%),
    radial-gradient(ellipse at 12% 84%, rgba(51, 111, 64, .25), transparent 40%),
    linear-gradient(115deg, #08120d 2%, #10271a 56%, #09170f 100%);
}
.hero-content { max-width: 760px; }
.hero-art {
  position: absolute;
  z-index: 1;
  width: min(48vw, 610px);
  aspect-ratio: 1;
  right: max(2%, calc((100vw - 1500px) / 2));
  top: 50%;
  transform: translateY(-48%) rotate(-7deg);
  pointer-events: none;
  opacity: .92;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, .22));
}
.hero-art svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hero h1 { font-size: clamp(3.25rem, 7.2vw, 6rem); max-width: 800px; }
.hero-art .art-ring { fill: none; stroke: rgba(190, 248, 143, .24); stroke-width: 1.2; }
.hero-art .art-leaf { fill: url(#budzLeafGradient); stroke: rgba(216, 255, 183, .8); stroke-width: 1.6; }
.hero-art .art-vein { fill: none; stroke: rgba(230, 255, 211, .78); stroke-width: 2; stroke-linecap: round; }
.hero-art .art-dot { fill: #c8ff91; }
.hero-stamp { z-index: 3; right: 10%; bottom: 9%; }
.eyebrow { letter-spacing: .22em; }

.about { overflow: hidden; }
.about-visual {
  min-height: 490px;
  border-radius: 34px;
  isolation: isolate;
  background:
    radial-gradient(circle at 52% 48%, rgba(183, 244, 119, .27), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(112, 193, 82, .16), transparent 30%),
    linear-gradient(145deg, #193b26, #0a1710 74%);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, .24), 0 25px 75px rgba(0, 0, 0, .18);
}
.about-visual::before, .about-visual::after {
  border-color: rgba(183, 244, 119, .2);
  box-shadow: 0 0 0 35px rgba(183, 244, 119, .025), 0 0 0 75px rgba(183, 244, 119, .018);
}
.about-botanical {
  position: absolute;
  z-index: 0;
  inset: 3% 8% 10%;
  width: 84%;
  height: 84%;
  opacity: .92;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.28));
}
.about-botanical path { fill: rgba(183, 244, 119, .13); stroke: rgba(197, 255, 160, .82); stroke-width: 2; }
.about-botanical .stem { fill: none; stroke: rgba(205, 255, 173, .78); stroke-width: 3; stroke-linecap: round; }
.visual-word {
  position: relative;
  z-index: 2;
  color: #d0ffa2;
  font-size: clamp(4.2rem, 9vw, 7rem);
  text-shadow: 0 12px 45px rgba(0,0,0,.55);
}
.visual-caption {
  left: 30px;
  right: 30px;
  bottom: 28px;
  padding-top: 17px;
  border-top: 1px solid rgba(202, 255, 174, .24);
}

.pillars { position: relative; overflow: hidden; }
.pillars::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -210px;
  top: 4%;
  border: 1px solid rgba(183, 244, 119, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(183, 244, 119, .018), 0 0 0 72px rgba(183, 244, 119, .014);
  pointer-events: none;
}
.pillar {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  padding: 33px;
  background:
    radial-gradient(circle at 100% 0%, rgba(183, 244, 119, .11), transparent 34%),
    linear-gradient(145deg, rgba(27, 55, 36, .94), rgba(12, 25, 17, .95));
  box-shadow: 0 18px 45px rgba(0, 0, 0, .14);
}
.pillar::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -44px;
  bottom: -52px;
  border: 1px solid rgba(183, 244, 119, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(183, 244, 119, .025), 0 0 0 30px rgba(183, 244, 119, .018);
  pointer-events: none;
}
.pillar-icon {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(183, 244, 119, .22);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(183, 244, 119, .17), rgba(183, 244, 119, .04));
  font-size: 1.55rem;
  margin-bottom: 30px;
}
.pillar-icon svg { width: 29px; height: 29px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact { position: relative; overflow: hidden; }
.contact::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  left: -270px;
  bottom: -300px;
  border: 1px solid rgba(183, 244, 119, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(183, 244, 119, .025), 0 0 0 85px rgba(183, 244, 119, .018);
  pointer-events: none;
}
.contact-panel { position: relative; z-index: 1; }
.contact-card { background: rgba(4, 13, 8, .34); transition: transform .2s ease, border-color .2s ease; }
.contact-card:hover { transform: translateX(4px); border-color: rgba(183, 244, 119, .32); }
.contact-icon { flex-basis: 46px; height: 46px; border: 1px solid rgba(183, 244, 119, .18); font-size: 1.25rem; }

@media (max-width: 850px) {
  :root { --nav-height: 90px; }
  .nav { min-height: var(--nav-height); }
  .custom-logo { max-width: 220px; max-height: 68px; }
  .hero-art { width: 48vw; right: -4%; opacity: .55; }
  .hero-content { max-width: 700px; }
  .hero-stamp { right: 5%; bottom: 7%; }
}
@media (max-width: 680px) {
  :root { --nav-height: 82px; }
  .wrap { width: min(var(--max), calc(100% - 34px)); }
  .nav { min-height: var(--nav-height); height: var(--nav-height); gap: 10px; }
  .brand { gap: 10px; font-size: 1.2rem; }
  .brand-mark { width: 48px; height: 48px; border-radius: 15px; }
  .brand-mark svg { width: 29px; height: 29px; }
  .brand small { font-size: .53rem; letter-spacing: .15em; }
  .custom-logo { max-width: min(68vw, 205px); max-height: 62px; }
  .nav-links { top: var(--nav-height); padding: 22px 24px 25px; background: rgba(5, 14, 8, .985); box-shadow: 0 18px 30px rgba(0,0,0,.25); }
  .nav-links a { width: 100%; }
  .hero { min-height: 710px; padding: 95px 0 80px; }
  .hero-art { width: 82vw; max-width: 430px; right: -24%; top: 54%; opacity: .36; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: clamp(3.35rem, 15vw, 5rem); }
  .hero-stamp { display: none; }
  .about-visual { min-height: 350px; }
  .about-botanical { inset: 4% 5% 9%; width: 90%; height: 87%; }
  .visual-caption { font-size: .62rem; letter-spacing: .12em; }
  .pillar { padding: 27px; }
  #home, #about, #values, #contact { scroll-margin-top: calc(var(--nav-height) + 12px); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links a::after { transition: none; }
}
