/* KGDM Pty Ltd — site styles */

:root {
  --navy: #10233d;
  --navy-light: #16324f;
  --gold: #a9812f;
  --gold-light: #c9a35c;
  --gray-900: #1a1f26;
  --gray-700: #4a5568;
  --gray-400: #94a3b8;
  --gray-100: #f4f5f7;
  --white: #ffffff;
  --max-width: 1180px;
  --radius: 4px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--gray-900);
  line-height: 1.65;
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; color: var(--gray-700); }

a { color: var(--navy); text-decoration: none; }

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e6e8eb;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.logo span { color: var(--gold); }

.logo small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--gray-700);
  text-transform: uppercase;
  margin-top: 2px;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

nav.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  border-bottom-color: var(--gold);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy) !important;
  border: none !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1b3a5c 100%);
  color: var(--white);
  padding: 130px 0 110px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero.has-photo {
  background-image: linear-gradient(120deg, rgba(16,35,61,0.90) 0%, rgba(16,35,61,0.72) 55%, rgba(16,35,61,0.55) 100%), url('https://images.unsplash.com/photo-1747920913727-a5c69f37e943?fm=jpg&q=80&w=2000&auto=format&fit=crop');
}

.hero .container { position: relative; z-index: 2; }

/* Stats strip */
.stats-strip {
  background: var(--white);
  border-bottom: 1px solid #e6e8eb;
  padding: 30px 0;
}
.stats-strip .grid-3 { text-align: center; gap: 20px; }
.stats-strip .stat-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: var(--gray-700);
  margin-bottom: 6px;
  display: block;
  font-weight: 600;
}
.stats-strip .stat-value {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 700;
}

/* Media / images */
.media {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 48px -18px rgba(16,35,61,0.35);
  background: var(--gray-100);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.split .media { min-height: 380px; }

/* Image preview cards (services on home) */
.img-card {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e6e8eb;
  background: var(--white);
}
.img-card .img-card-photo { height: 220px; overflow: hidden; }
.img-card .img-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.img-card:hover .img-card-photo img { transform: scale(1.06); }
.img-card .img-card-body { padding: 28px 28px 32px; }

/* Full-bleed photo banner */
.photo-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 110px 0;
  color: var(--white);
}
.photo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(16,35,61,0.88), rgba(16,35,61,0.55));
}
.photo-banner .container { position: relative; z-index: 2; max-width: 720px; }
.photo-banner h2 { color: var(--white); }
.photo-banner p.lead { color: #e3e8ef; font-size: 1.15rem; margin-bottom: 28px; }

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--white);
  max-width: 720px;
  font-size: 3rem;
}

.hero p.lead {
  color: #d7dee7;
  max-width: 600px;
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

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

.btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

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

.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Sections */
section { padding: 88px 0; }
section.tight { padding: 64px 0; }
.bg-light { background: var(--gray-100); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: #cfd7e2; }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

.section-head {
  max-width: 700px;
  margin: 0 0 48px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Cards */
.grid {
  display: grid;
  gap: 32px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid #e6e8eb;
  border-radius: var(--radius);
  padding: 36px 32px;
}

.card .num {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-check li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--gray-700);
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}

/* Two column layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: #cfd7e2; margin-bottom: 28px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-card {
  border: 1px solid #e6e8eb;
  padding: 32px;
  border-radius: var(--radius);
}
.contact-card h3 { margin-bottom: 6px; }
.contact-card .value { font-size: 1.15rem; font-weight: 600; color: var(--navy); }
.contact-card a.value:hover { color: var(--gold); }

/* Page header (inner pages) */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 96px 0 84px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.page-header.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(16,35,61,0.92), rgba(16,35,61,0.78));
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); margin-bottom: 10px; }
.page-header p { color: #cfd7e2; max-width: 640px; margin: 0; }
.breadcrumb {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--gold-light);
  margin-bottom: 16px;
  font-weight: 600;
}

/* Footer */
footer.site-footer {
  background: var(--navy);
  color: #b9c3d1;
  padding: 56px 0 28px;
}
footer.site-footer .grid { grid-template-columns: 2fr 1fr 1fr; margin-bottom: 40px; }
footer.site-footer h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
footer.site-footer a { color: #b9c3d1; }
footer.site-footer a:hover { color: var(--gold-light); }
footer.site-footer p { color: #97a3b5; font-size: 0.92rem; }
.footer-logo { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 12px; }
.footer-logo span { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.82rem;
  color: #7d8aa0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* Responsive */
@media (max-width: 860px) {
  h1 { font-size: 2.2rem; }
  .hero { padding: 80px 0 70px; }
  .hero h1 { font-size: 2.1rem; }
  .grid-2, .grid-3, .split, .contact-grid { grid-template-columns: 1fr; }
  footer.site-footer .grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-toggle { display: block; }
  nav.main-nav {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 1.1rem;
    border-bottom: 1px solid #e6e8eb;
    display: none;
  }
  nav.main-nav.open { display: flex; }
  .nav-phone { order: -1; }
}
