/* ============================================
   KCC Blue Flame Pty Ltd — Corporate Stylesheet
   ============================================ */

/* --- Custom Properties --- */
:root {
  --primary:       #1a3a5c;
  --primary-dark:  #0f2640;
  --primary-light: #2c5282;
  --accent:        #e8852e;
  --accent-hover:  #d4741f;
  --accent-light:  #fef0e0;
  --bg:            #ffffff;
  --bg-alt:        #f4f7fa;
  --bg-dark:       #0f172a;
  --text-dark:     #1e293b;
  --text-muted:    #64748b;
  --text-light:    #f1f5f9;
  --border:        #e2e8f0;
  --border-dark:   #334155;
  --radius:        8px;
  --radius-lg:     12px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08);
  --shadow:        0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.12);
  --font:          system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max-width:     1200px;
  --nav-height:    72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600; line-height: 1.4;
  border: 2px solid transparent; cursor: pointer;
  transition: all .25s; white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover); border-color: var(--accent-hover); color: #fff;
}
.btn-outline {
  background: transparent; color: var(--primary); border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary); color: #fff;
}
.btn-outline-light {
  background: transparent; color: #fff; border-color: #fff;
}
.btn-outline-light:hover {
  background: #fff; color: var(--primary);
}

/* --- Navbar --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height); z-index: 1000;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.navbar .logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 700; color: var(--primary); white-space: nowrap;
}
.navbar .logo:hover { color: var(--primary); }
.navbar .logo-icon { font-size: 1.5rem; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 8px 16px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 500; color: var(--text-dark);
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: var(--bg-alt); color: var(--primary); }
.nav-links a.active { background: var(--accent-light); color: var(--accent); font-weight: 600; }
.nav-links .btn {
  margin-left: 8px; padding: 8px 20px; font-size: .9rem;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 26px; height: 3px;
  background: var(--primary); border-radius: 2px;
  transition: transform .3s;
}

/* --- Page Hero Band --- */
.page-hero {
  padding: 140px 0 60px; background: var(--primary);
  color: #fff; text-align: center;
}
.page-hero h1 {
  font-size: 2.6rem; font-weight: 800; margin-bottom: 12px;
}
.page-hero p {
  font-size: 1.1rem; color: rgba(255,255,255,.8);
  max-width: 640px; margin: 0 auto;
}

/* --- Hero Section (Home) --- */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}
.hero .container { display: flex; align-items: center; gap: 48px; }
.hero-content { flex: 1.3; }
.hero-content h1 {
  font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 16px;
}
.hero-content p {
  font-size: 1.15rem; color: rgba(255,255,255,.8);
  max-width: 540px; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { flex: 1; display: flex; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 400px; height: auto; }

/* --- Stats --- */
.stats { display: flex; gap: 32px; margin-top: 48px; flex-wrap: wrap; }
.stat-item { text-align: center; flex: 1; min-width: 120px; }
.stat-item .number { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; }
.stat-item .label { font-size: .85rem; color: rgba(255,255,255,.7); }

/* --- Section common --- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--bg-dark); color: var(--text-light);
}
.section-header {
  text-align: center; margin-bottom: 48px;
}
.section-header h2 {
  font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem;
}
.section-dark .section-header h2 { color: #fff; }
.section-dark .section-header p { color: rgba(255,255,255,.65); }

/* --- Services Grid --- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px;
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
}
.service-card .icon {
  font-size: 2.4rem; margin-bottom: 16px; display: block;
}
.service-card h3 {
  font-size: 1.15rem; font-weight: 700; color: var(--primary); margin-bottom: 8px;
}
.service-card p {
  font-size: .9rem; color: var(--text-muted); line-height: 1.55;
}

/* --- About Strip (home) --- */
.about-strip { display: flex; align-items: center; gap: 48px; }
.about-strip-content { flex: 1; }
.about-strip-content h2 { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.about-strip-content p { color: var(--text-muted); margin-bottom: 16px; }
.about-strip-visual { flex: 1; display: flex; justify-content: center; font-size: 6rem; }

/* --- Trust / Credentials --- */
.trust-strip {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text-muted); }
.trust-item strong { color: var(--text-dark); }

/* --- Testimonials --- */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
}
.testimonial-card .stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-card blockquote {
  font-size: .92rem; color: var(--text-muted); font-style: italic;
  margin-bottom: 16px; line-height: 1.55;
}
.testimonial-card .author { font-weight: 600; font-size: .9rem; color: var(--text-dark); }

/* --- CTA Strip --- */
.cta-strip {
  text-align: center; padding: 64px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
}
.cta-strip h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,.75); margin-bottom: 24px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-strip .btn-primary { background: var(--accent); border-color: var(--accent); }
.cta-strip .btn-primary:hover { background: #fff; color: var(--primary); border-color: #fff; }

/* --- About page --- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.about-grid h3 { font-size: 1.3rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.about-grid p { color: var(--text-muted); margin-bottom: 12px; }
.values-list li {
  display: flex; gap: 16px; margin-bottom: 20px;
}
.values-list .val-icon { font-size: 1.6rem; flex-shrink: 0; }
.values-list h4 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.values-list p { font-size: .9rem; color: var(--text-muted); }

/* --- Contact page --- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
}
.contact-info h2 { font-size: 1.5rem; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.contact-info .info-item {
  display: flex; gap: 14px; margin-bottom: 20px;
}
.contact-info .info-item .ci-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-info .info-item h4 { font-weight: 600; margin-bottom: 2px; color: var(--text-dark); }
.contact-info .info-item p { color: var(--text-muted); font-size: .92rem; }
.contact-form label {
  display: block; font-weight: 600; font-size: .9rem; margin-bottom: 4px;
  color: var(--text-dark);
}
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: .95rem;
  transition: border-color .2s; margin-bottom: 16px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(232,133,46,.15);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

/* --- Privacy / Terms content --- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 {
  font-size: 1.4rem; font-weight: 700; color: var(--primary);
  margin: 32px 0 12px;
}
.legal-content h3 {
  font-size: 1.1rem; font-weight: 600; color: var(--primary);
  margin: 24px 0 8px;
}
.legal-content p { color: var(--text-muted); margin-bottom: 12px; line-height: 1.7; }
.legal-content ul { padding-left: 24px; margin-bottom: 12px; }
.legal-content ul li { list-style: disc; color: var(--text-muted); margin-bottom: 6px; }

/* --- Footer --- */
.footer {
  background: var(--bg-dark); color: rgba(255,255,255,.7);
  padding: 60px 0 0; font-size: .9rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
}
.footer-col h4 {
  color: #fff; font-size: 1rem; font-weight: 700;
  margin-bottom: 16px;
}
.footer-col p { line-height: 1.6; margin-bottom: 8px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.6); }
.footer-col ul li a:hover { color: var(--accent); }
.footer .abn { font-size: .82rem; color: rgba(255,255,255,.5); margin-top: 8px; }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  margin-top: 40px; padding: 20px 0;
  text-align: center; font-size: .85rem;
  color: rgba(255,255,255,.5);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-height); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 16px 24px; gap: 4px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .nav-links .btn { width: 100%; justify-content: center; margin-left: 0; }

  .hero { padding: 120px 0 60px; }
  .hero .container { flex-direction: column; text-align: center; }
  .hero-content h1 { font-size: 2rem; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .stats { justify-content: center; gap: 24px; }
  .stat-item { min-width: 100px; }

  .section { padding: 56px 0; }
  .section-header h2 { font-size: 1.6rem; }

  .services-grid { grid-template-columns: 1fr; }
  .about-strip { flex-direction: column; text-align: center; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .page-hero { padding: 120px 0 40px; }
  .page-hero h1 { font-size: 1.8rem; }

  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.7rem; }
  .stats { flex-direction: column; align-items: center; }
}
