/* ============================================================
   Amani Community Services Pty Ltd — Master Stylesheet
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --primary:       #0B6E5A;
  --primary-dark:  #085347;
  --primary-light: #E0F2EE;
  --accent:        #E8A838;
  --accent-light:  #FDF3E0;
  --bg:            #FAFBF9;
  --bg-light:      #F0F5F3;
  --text-dark:     #1E2B2A;
  --text-mid:      #4A5C5A;
  --text-light:    #FFFFFF;
  --border:        #D0DDD9;
  --shadow:        0 4px 20px rgba(0,0,0,0.06);
  --radius:        8px;
  --max-width:     1140px;
  --font-family:   -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-light);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--primary-dark);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* --- Navigation --- */
.navbar {
  background: var(--text-light);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1;
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  color: var(--text-mid);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 4px 0;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s;
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after {
  width: 100%;
}

.nav-links a.active:not(.btn) {
  color: var(--primary);
}

.nav-cta {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 4px;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-light);
  padding: 100px 0 80px;
  text-align: center;
}

.hero-content {
  max-width: 780px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--text-light);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-top: 4px;
}

/* --- Sections --- */
.section {
  padding: 72px 0;
}

.bg-light {
  background: var(--bg-light);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.section-sub {
  text-align: center;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* --- Value Props --- */
.props-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.prop-card {
  background: var(--text-light);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.prop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.prop-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 16px;
}

.prop-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.prop-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--text-light);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 4px solid var(--primary);
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.card-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* --- About Strip --- */
.about-strip {
  background: var(--primary-dark);
  color: var(--text-light);
}

.about-strip-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-strip-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-strip-content p {
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.about-strip-visual {
  text-align: center;
}

.visual-emblem {
  font-size: 6rem;
  opacity: 0.3;
  line-height: 1;
}

/* --- Credentials Bar --- */
.credentials-bar {
  background: var(--text-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.credential-item {
  display: flex;
  flex-direction: column;
}

.cred-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-mid);
  margin-bottom: 4px;
}

.cred-value {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
}

/* --- CTA Strip --- */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
  text-align: center;
}

.cta-strip-inner h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-strip-inner p {
  opacity: 0.9;
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Footer --- */
.footer {
  background: #152120;
  color: rgba(255,255,255,0.7);
  padding: 56px 0 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col p {
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-credentials {
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.5;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* --- Page Hero --- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-light);
  padding: 64px 0 56px;
  text-align: center;
}

.page-hero-short {
  padding: 48px 0;
}

.page-hero-content h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- About Page Content Layout --- */
.content-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}

.content-main h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.content-main p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.sidebar-card {
  background: var(--bg-light);
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.sidebar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.details-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.details-list li:last-child {
  border-bottom: none;
}

.details-list strong {
  color: var(--text-dark);
}

/* --- Values Grid (About) --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--text-light);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.25s;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 16px;
}

.value-card h3 {
  font-weight: 700;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* --- Commitments List --- */
.commitments-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.commitment-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--text-light);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.commitment-icon {
  color: var(--primary);
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.commitment-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.commitment-item p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* --- Contact Layout --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-mid);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-detail a,
.contact-detail span {
  font-size: 1rem;
  color: var(--text-dark);
  word-break: break-all;
}

/* --- Contact Form --- */
.contact-form-wrapper h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  color: var(--text-mid);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-family);
  font-size: 0.95rem;
  background: var(--text-light);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-mid);
  text-align: center;
  margin-top: 12px;
}

/* --- Legal Content --- */
.legal-content {
  padding: 56px 0;
}

.legal-block {
  margin-bottom: 36px;
}

.legal-block h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.legal-block p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 10px;
}

.legal-block ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 10px;
}

.legal-block ul li {
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* ============================================================
   Responsive — 768px breakpoint
   ============================================================ */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--text-light);
    flex-direction: column;
    gap: 0;
    padding: 16px 24px 24px;
    border-bottom: 2px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a:not(.btn) {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a.active:not(.btn)::after,
  .nav-links a:not(.btn)::after {
    display: none;
  }

  .nav-cta {
    margin-top: 12px;
    text-align: center;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .props-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-strip-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .about-strip-visual {
    display: none;
  }

  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .content-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .page-hero-content h1 {
    font-size: 1.8rem;
  }
}
