/* ==========================================================================
   Feelgood Australia — site styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700;800&display=swap');

:root {
  --green: #2c4620;
  --green-dark: #1c2e14;
  --green-tint: #eef2ea;
  --accent: #00b2e2;
  --ink: #17190f;
  --white: #ffffff;
  --gray: #6a6d63;
  --gray-bg: #f7f7f4;
  --border: #e3e4dd;
  --radius: 14px;
  --max-width: 1180px;
  --shadow: 0 10px 30px rgba(23, 25, 15, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

a { color: inherit; text-decoration: none; }

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

.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }

hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 8px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  font-size: 14px;
  background: transparent;
  color: var(--ink);
  transition: 0.25s ease;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--white); }

.btn-solid {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.btn-solid:hover { background: var(--green-dark); border-color: var(--green-dark); }

.btn-light {
  border-color: var(--white);
  color: var(--white);
}
.btn-light:hover { background: var(--white); color: var(--ink); }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo img { height: 56px; width: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}
.nav-toggle .bar {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
}
.nav-toggle .bar:nth-child(1) { top: 14px; }
.nav-toggle .bar:nth-child(2) { top: 21px; }
.nav-toggle .bar:nth-child(3) { top: 28px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-weight: 700;
  text-transform: lowercase;
  font-size: 15px;
}
.nav-links a:hover { color: var(--green); }
.nav-links .current { color: var(--green); }

.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  min-width: 220px;
  padding: 8px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: none;
}
.dropdown a:hover { background: var(--green-tint); color: var(--green); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 10px 0; width: 100%; }
  .dropdown { position: static; box-shadow: none; border: none; padding: 0 0 0 14px; display: none; }
  .has-dropdown.open .dropdown { display: block; }
}

/* ---- Hero / Carousel ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
}
.hero-track {
  display: flex;
  transition: transform 0.6s ease;
}
.hero-slide {
  min-width: 100%;
  position: relative;
}
.hero-slide img {
  width: 100%;
  height: min(60vh, 560px);
  object-fit: cover;
  filter: brightness(0.62);
}
.hero-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.hero-caption .inner {
  max-width: 640px;
  background: rgba(17, 19, 15, 0.55);
  backdrop-filter: blur(2px);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.hero-caption p {
  color: var(--white);
  font-size: clamp(16px, 2.2vw, 20px);
  margin: 0 0 22px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.hero-dots button.active { background: var(--white); }

/* ---- Brand cards (home tiles) ---- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .brand-grid { grid-template-columns: 1fr; }
}
.brand-card {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
  height: 260px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 26px;
  transition: 0.25s ease;
}
.brand-card:hover { border-color: var(--green); box-shadow: 0 14px 34px rgba(23,25,15,0.14); }
.brand-card .mark {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  margin: auto;
  max-width: 62%;
  max-height: 48%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.brand-card .accent-photo {
  position: absolute;
  width: auto;
  height: 120px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(23,25,15,0.18);
  object-fit: cover;
}
.brand-card .accent-photo.corner-br { right: -10px; bottom: -10px; }
.brand-card .accent-photo.corner-tr { right: -10px; top: -10px; }
.brand-card .label {
  position: relative;
  z-index: 1;
  font-weight: 700;
  text-transform: lowercase;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
}
.brand-card:hover .label { color: var(--green); border-color: var(--green); }

/* ---- Section headings ---- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 10px;
}
h1, h2, h3 { font-weight: 800; line-height: 1.2; margin: 0 0 18px; }
h1 { font-size: clamp(30px, 4.6vw, 46px); }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 20px; }
.text-center { text-align: center; }
.lede { font-size: 18px; color: var(--gray); max-width: 720px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---- Two-column brand blurb (About page) ---- */
.blurb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 860px) {
  .blurb-grid { grid-template-columns: 1fr; }
}
.blurb img {
  border-radius: var(--radius);
  margin-bottom: 20px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ---- Quote blocks ---- */
.quote-block {
  background: var(--green-tint);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin: 0 0 24px;
}
.quote-block p { margin: 0 0 10px; }
.quote-block strong { color: var(--green-dark); }

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-card {
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .icon {
  width: 22px;
  flex-shrink: 0;
  color: var(--green);
  font-size: 18px;
  margin-top: 2px;
}
.contact-row a:hover { color: var(--green); }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  min-height: 320px;
  background: var(--gray-bg)
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 32 32'%3E%3Cpath fill='%232c4620' fill-opacity='0.35' d='M16 3c-5 0-9 4-9 9 0 6.5 9 17 9 17s9-10.5 9-17c0-5-4-9-9-9zm0 12.5A3.5 3.5 0 1 1 16 8.5a3.5 3.5 0 0 1 0 7z'/%3E%3C/svg%3E")
    center / 40px no-repeat;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; position: relative; z-index: 1; }

/* ---- Footer ---- */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 40px 0;
  margin-top: 60px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
}
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.6); }
.footer-social {
  display: flex;
  gap: 14px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.footer-social a:hover { background: rgba(255,255,255,0.12); }

/* ---- Placeholder image helper (temporary, swap files in /images) ---- */
.ph-note {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--gray);
  font-style: italic;
}

/* ---- Page hero (interior pages) ---- */
.page-hero {
  background: var(--green-tint);
  padding: 56px 0 40px;
  text-align: center;
}
.page-hero p { max-width: 640px; margin: 0 auto; color: var(--gray); font-size: 17px; }
