/* ====== ELITE ROOFING RESTORATIONS — SHARED STYLES ====== */
:root {
  --gold: #C9A961;
  --gold-bright: #E5C77A;
  --gold-dark: #8F7740;
  --cream: #F5EDD8;
  --black: #0A0A0A;
  --charcoal: #141414;
  --slate: #1C1C1C;
  --line: rgba(201, 169, 97, 0.18);
  --text: #E8E4DA;
  --muted: #8A8478;
  --display: 'Cormorant Garamond', serif;
  --body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Subtle logo watermark across the entire site */
body::before {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vmin;
  height: 70vmin;
  background-image: url('logo.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

/* Make sure content sits above the watermark */
nav, section, footer { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ====== NAV ====== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.4s ease;
  background: rgba(10, 10, 10, 0);
  backdrop-filter: blur(0px);
}

.nav.scrolled, .nav.always-solid {
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(20px);
  padding: 16px 60px;
  border-bottom: 1px solid var(--line);
}

.nav-logo, .nav-logo-wrap {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.nav-logo span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--cream);
  font-weight: 300;
  margin-top: 2px;
}

.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.nav.scrolled .nav-logo-img,
.nav.always-solid .nav-logo-img {
  height: 44px;
}

.nav-logo-wrap:hover .nav-logo-img {
  transform: scale(1.04);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding: 8px 0;
  color: var(--text);
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

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

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

.nav-cta {
  padding: 12px 26px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--black);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-burger span {
  width: 28px;
  height: 1px;
  background: var(--gold);
  transition: 0.3s;
}

/* ====== BUTTONS ====== */
.btn-primary {
  padding: 18px 42px;
  background: var(--gold);
  color: var(--black);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--gold);
  cursor: pointer;
  font-family: var(--body);
}

.btn-primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.btn-secondary {
  padding: 18px 42px;
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  cursor: pointer;
  font-family: var(--body);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ====== SECTIONS ====== */
section {
  padding: 140px 60px;
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 80px;
  gap: 40px;
  flex-wrap: wrap;
}

.section-title-block { max-width: 700px; }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.section-eyebrow .num {
  font-family: var(--display);
  font-style: italic;
  color: var(--gold);
  font-size: 18px;
}

.section-eyebrow .line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.section-eyebrow span {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.section-title .gold {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}

.section-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 460px;
  line-height: 1.7;
}

/* ====== PAGE HEADER (inner pages) ====== */
.page-header {
  padding: 200px 60px 100px;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(201, 169, 97, 0.08) 0%, transparent 60%),
    var(--black);
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 6.5vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 24px;
}

.page-header h1 .gold {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}

.page-header p {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.page-header-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.page-header-eyebrow .line {
  width: 60px;
  height: 1px;
  background: var(--gold);
}

.page-header-eyebrow span {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* ====== CTA SECTION ====== */
.cta-section {
  background:
    radial-gradient(ellipse at center, rgba(201, 169, 97, 0.12) 0%, transparent 60%),
    var(--black);
  text-align: center;
  padding: 160px 60px;
}

.cta-section h2 {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 72px);
  color: var(--cream);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 32px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section h2 .gold {
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}

.cta-section p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====== FOOTER ====== */
.footer {
  background: var(--black);
  padding: 80px 60px 40px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  font-family: var(--display);
  font-size: 28px;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-brand span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--cream);
  margin-top: 4px;
  font-weight: 300;
}

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 24px;
  max-width: 360px;
}

.footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 500;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a, .footer-col li {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.footer-abn { color: var(--gold); font-weight: 500; }

/* ====== REVEAL ====== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .nav, .nav.scrolled { padding: 20px 32px; }
  section { padding: 100px 32px; }
  .page-header { padding: 160px 32px 80px; }
  .cta-section { padding: 120px 32px; }
  .footer { padding: 60px 32px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .nav, .nav.scrolled { padding: 16px 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-logo { font-size: 18px; }
  section { padding: 80px 20px; }
  .page-header { padding: 140px 20px 60px; }
  .cta-section { padding: 100px 20px; }
  .footer { padding: 60px 20px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; }
  .cta-actions a { width: 100%; justify-content: center; }
}
