/* ============================================================
   TRADIE WEB SERVICES — Main Stylesheet
   Colour scheme: Dark charcoal + TWS Yellow
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --yellow:       #F5C100;
  --yellow-dark:  #d4a800;
  --yellow-light: rgba(245,193,0,0.12);
  --dark:         #232B35;
  --dark-2:       #2C3440;
  --dark-3:       #323D4A;
  --dark-border:  #3C4A58;
  --black:        #1B2430;
  --white:        #ffffff;
  --grey-50:      #f8f8f8;
  --grey-100:     #f2f2f2;
  --grey-200:     #e5e5e5;
  --grey-400:     #999999;
  --grey-600:     #666666;
  --text:         #1a1a1a;
  --text-mid:     #444444;
  --text-muted:   #888888;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 2px 16px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.13);
  --shadow-dark: 0 8px 40px rgba(0,0,0,0.45);
  --trans: 0.22s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; }
a   { text-decoration: none; color: inherit; }

/* --- Layout --- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 96px 0; }

.bg-dark   { background: var(--dark); }
.bg-white  { background: var(--white); }
.bg-light  { background: var(--grey-50); }
.bg-yellow { background: var(--yellow); }

/* Colour utility classes */
.text-white  { color: var(--white) !important; }
.text-muted  { color: var(--grey-400) !important; }

/* --- Section Headers --- */
.section-hd {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}
.section-hd h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.section-hd p { font-size: 1.0625rem; color: var(--text-mid); }

/* Section tags */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--yellow);
  background: var(--yellow-light);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-tag-dark {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--dark);
  background: rgba(0,0,0,0.12);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--trans);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-yellow {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}
.btn-yellow:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,194,0,0.4);
}
.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.65);
}
.btn-full { width: 100%; }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: var(--dark);
  border-bottom: 1px solid var(--dark-border);
  transition: box-shadow var(--trans);
}
.header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.6); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color var(--trans), background var(--trans);
}
.nav-link:hover,
.nav-link.active { color: var(--white); background: rgba(255,255,255,0.07); }
.nav-link.active { border-bottom: 2px solid var(--yellow); padding-bottom: 6px; }
.nav-cta {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
  background: var(--yellow);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  margin-left: 12px;
  transition: background var(--trans), transform var(--trans);
}
.nav-cta:hover { background: var(--yellow-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--trans);
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 8px 20px 20px;
    gap: 0;
    border-top: 1px solid var(--dark-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  }
  .nav-menu.open { display: flex; }
  .nav-link { display: block; width: 100%; text-align: center; padding: 14px 16px; }
  .nav-cta { display: block; width: 100%; text-align: center; padding: 14px 16px; margin-left: 0; margin-top: 16px; border-radius: 0; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--dark);
  padding: 130px 0 0;
  overflow: hidden;
  position: relative;
}
/* Subtle dot grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}
/* Yellow glow overlays */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 88% 40%, rgba(245,193,0,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 5% 85%, rgba(245,193,0,0.05) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 48px;
  align-items: center;
  padding-bottom: 100px;
}
.hero-content { color: var(--white); }

/* Location eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  border-left: 3px solid var(--yellow);
  padding-left: 12px;
  margin-bottom: 24px;
}
.hero-eyebrow svg { color: var(--yellow); flex-shrink: 0; }

.hero-content h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-content h1 .highlight { color: var(--yellow); }
.hero-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 38px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero image */
.hero-visual { display: flex; align-items: center; justify-content: flex-end; }
.hero-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 32px 80px rgba(0,0,0,0.7));
}

/* ---- Hero bottom strip ---- */
.hero-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.22);
  padding: 18px 0;
}
.hero-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.hero-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  padding: 6px 28px;
}
.hero-strip-item svg { color: var(--yellow); flex-shrink: 0; }
.hero-strip-sep {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.15);
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; text-align: center; padding-bottom: 60px; }
  .hero-eyebrow { margin-left: auto; margin-right: auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { justify-content: center; order: -1; }
  .hero-img { max-width: 500px; }
  .hero-strip-sep { display: none; }
  .hero-strip-item { padding: 4px 16px; }
}
@media (max-width: 500px) {
  .hero { padding: 110px 0 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { display: flex; width: 100%; }
  .hero-img { max-width: 340px; }
  .hero-strip-inner { gap: 4px; }
  .hero-strip-item { font-size: 0.8125rem; padding: 4px 12px; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans), box-shadow var(--trans);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

/* Card visual: icon on dark bg */
.svc-icon-wrap {
  height: 170px;
  background: var(--dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--dark-border);
}
.svc-icon-wrap svg { width: 60px; height: 60px; color: var(--yellow); }

/* Card visual: real image */
.svc-img {
  height: 170px;
  background: var(--dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
  border-bottom: 1px solid var(--dark-border);
}
.svc-img img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }

/* Card text body */
.svc-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.svc-body h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.svc-body p  { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; flex: 1; margin-bottom: 18px; }
.svc-link    { font-size: 0.875rem; font-weight: 700; color: var(--yellow-dark); transition: color var(--trans); }
.svc-link:hover { color: var(--text); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--dark-border);
  display: flex;
  flex-direction: column;
  transition: transform var(--trans), border-color var(--trans);
}
.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,194,0,0.35);
}
.pricing-card-hd {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--dark-border);
}
.pricing-icon {
  width: 44px;
  height: 44px;
  background: var(--yellow-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  flex-shrink: 0;
}
.pricing-icon svg { width: 22px; height: 22px; }
.pricing-card-hd h3 { font-size: 1.125rem; font-weight: 700; color: var(--white); }

.pricing-list { flex: 1; margin-bottom: 18px; }
.pricing-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--dark-border);
  gap: 12px;
}
.pricing-list li:last-child { border-bottom: none; }
.p-option { font-size: 0.9375rem; font-weight: 500; color: rgba(255,255,255,0.78); }
.p-price  {
  font-size: 1.1875rem;
  font-weight: 800;
  color: var(--yellow);
  white-space: nowrap;
}
.p-price small { font-size: 0.75rem; font-weight: 500; color: var(--grey-400); }
.pricing-from {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 24px 0 20px;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 20px;
}
.p-from-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--grey-400);
  text-transform: lowercase;
}
.p-from-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}
.p-from-price small { font-size: 1rem; font-weight: 500; color: var(--grey-400); }

.pricing-note { font-size: 0.8125rem; color: var(--grey-400); line-height: 1.55; margin-bottom: 20px; }
.pricing-gst  { text-align: center; font-size: 0.8125rem; color: var(--grey-400); margin-top: 30px; }

/* ============================================================
   OUR WORK
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}
@media (max-width: 880px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.work-img {
  height: 210px;
  overflow: hidden;
  background: var(--grey-100);
}
.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.45s ease;
}
.work-card:hover .work-img img { transform: scale(1.04); }

.work-info { padding: 22px 20px 24px; }
.work-trade {
  display: block;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yellow-dark);
  margin-bottom: 7px;
}
.work-info h3 { font-size: 1.125rem; font-weight: 800; margin-bottom: 9px; color: var(--text); }
.work-info p  { font-size: 0.875rem; color: var(--text-mid); line-height: 1.62; margin-bottom: 14px; }
.work-link    { font-size: 0.875rem; font-weight: 700; color: var(--yellow-dark); transition: color var(--trans); }
.work-link:hover { color: var(--text); }

.work-footer { text-align: center; }
.work-footer p { font-size: 1.0625rem; color: var(--text-mid); margin-bottom: 18px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .testi-grid { grid-template-columns: 1fr; } }

.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testi-stars { font-size: 1.1rem; color: var(--yellow); letter-spacing: 2px; }
.testi-quote {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--grey-200);
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.8125rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.9375rem; font-weight: 700; color: var(--text); }
.testi-author span   { display: block; font-size: 0.8125rem; color: var(--text-muted); margin-top: 2px; }

/* ============================================================
   CTA
   ============================================================ */
.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 14px 0 18px;
}
.cta-inner > p { font-size: 1.0625rem; line-height: 1.7; margin-bottom: 36px; }
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta-note { font-size: 0.8125rem; color: var(--grey-400); }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  appearance: none;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,194,0,0.18);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-disclaimer { font-size: 0.8125rem; color: #bbb; text-align: center; margin-top: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--black); color: var(--white); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 52px;
  padding: 64px 24px 52px;
  max-width: 1160px;
  margin: 0 auto;
}
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-brand img { height: 38px; margin-bottom: 16px; }
.footer-brand p   { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 18px;
}
.footer-col ul  { display: flex; flex-direction: column; gap: 11px; }
.footer-col a   { font-size: 0.9375rem; color: rgba(255,255,255,0.55); transition: color var(--trans); }
.footer-col a:hover { color: var(--yellow); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 22px 0; }
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.25); text-align: center; }
