:root {
  /* Palette: black + warm gold, matched to the WGD logo. */
  --navy: #0a0a0a;          /* near-black (logo background tone) */
  --navy-deep: #000000;     /* pure black for deepest sections */
  --ice: #c8a253;           /* warm gold — accents, icons, hover */
  --ice-light: #f8efd9;     /* pale gold tint — icon backgrounds */
  --accent: #c8a253;        /* gold CTAs */
  --accent-hover: #b08c3e;  /* darker gold on hover */
  /* Full dark body. Cards remain light so photos + cards "lift" off the page. */
  --text: rgba(255, 255, 255, 0.88);     /* default body text on dark bg */
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-dark: #0f172a;                  /* used inside light cards/forms */
  --text-dark-muted: #475569;
  --bg: #0a0a0a;                         /* near-black body */
  --bg-soft: #141414;                    /* slightly lighter dark — section variation */
  --border: rgba(255, 255, 255, 0.10);   /* subtle border on dark surfaces */
  --border-light: #e8e3d6;               /* warm border for elements on light cards */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.05), 0 10px 15px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 25px rgba(15, 23, 42, 0.1), 0 10px 10px rgba(15, 23, 42, 0.04);
  --radius: 10px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: rgba(200, 162, 83, 0.18);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Buttons and links provide visual feedback on tap */
.btn:active,
.nav-cta:active {
  transform: scale(0.98);
}

/* Touch target minimum (Apple HIG: 44px, Material: 48px) */
@media (hover: none) and (pointer: coarse) {
  .nav-links a,
  .site-footer a,
  .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

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

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

a:hover {
  color: var(--ice);
}

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { color: var(--text-muted); }

/* Cards / forms stay light, so text inside them flips back to dark */
.card,
form {
  color: var(--text-dark);
}

.card h3,
.card h4,
form h2,
form h3,
form label {
  color: var(--navy);
}

.card p,
.feature p {
  color: var(--text-dark-muted);
}

form p {
  color: var(--text-dark-muted);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(200, 162, 83, 0.18);
  z-index: 100;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--ice) 100%);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.site-footer .brand-logo {
  height: 56px;
}

/* ---------- Floating WhatsApp button ---------- */
.wa-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 50;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.wa-fab:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5), 0 3px 8px rgba(0, 0, 0, 0.2);
}

.wa-fab:active { transform: scale(0.97); }

.wa-fab svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.wa-fab::after {
  content: "Chat on WhatsApp";
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #0a2540;
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.wa-fab:hover::after { opacity: 1; }

@media (max-width: 640px) {
  .wa-fab { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .wa-fab svg { width: 28px; height: 28px; }
  .wa-fab::after { display: none; }
  .brand-logo { height: 40px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.nav-cta {
  background: var(--accent);
  color: var(--navy-deep) !important;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: background 0.2s ease, transform 0.1s ease;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: var(--navy-deep) !important;
  transform: translateY(-1px);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.1s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--navy-deep);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.78) 0%, rgba(0, 0, 0, 0.55) 100%),
    url("../images/hero/hero-1.jpg") center/cover no-repeat;
  background-color: var(--navy);
  color: #fff;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(200, 162, 83, 0.20), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(200, 162, 83, 0.12), transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--ice-light);
  letter-spacing: 0.02em;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Page Hero (smaller) ---------- */
.page-hero {
  background: linear-gradient(135deg, #111111 0%, #050505 100%);
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid rgba(200, 162, 83, 0.20);
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

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

.section-soft {
  background: var(--bg-soft);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-header .eyebrow {
  color: var(--ice);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.section-header p {
  font-size: 1.1rem;
  margin-top: 12px;
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ice);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--ice-light);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--ice);
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.feature {
  text-align: center;
}

.feature .card-icon {
  margin: 0 auto 16px;
}

/* ---------- Stats ---------- */
.stats {
  background: var(--navy);
  color: #fff;
  padding: 60px 0;
  border-top: 1px solid rgba(200, 162, 83, 0.18);
  border-bottom: 1px solid rgba(200, 162, 83, 0.18);
}

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

.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, #1a1a1a 100%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.cta-strip h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-strip-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ---------- Contact / Forms ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-list {
  list-style: none;
  margin-top: 24px;
}

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

.contact-info-list .icon {
  width: 44px;
  height: 44px;
  background: var(--ice-light);
  color: var(--ice);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-info-list .icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-list h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: #fff;
}

.contact-info-list p,
.contact-info-list a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.contact-info-list a:hover {
  color: var(--ice);
}

form {
  background: #fff;
  border: 1px solid var(--border-light);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--ice);
  box-shadow: 0 0 0 3px var(--ice-light);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 24px;
}

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

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 10px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: #fff;
}

.footer-authority {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}

.footer-authority span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-authority strong {
  color: #fff;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* ---------- Service list (detail page) ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.service-block:last-child { margin-bottom: 0; }

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse > * {
  direction: ltr;
}

.service-block .image {
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-block .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-block h2 { margin-bottom: 16px; }

.service-block ul {
  margin-top: 16px;
  padding-left: 20px;
}

.service-block li {
  margin-bottom: 8px;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-block { grid-template-columns: 1fr; gap: 24px; }
  .service-block.reverse { direction: ltr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 18px;
    gap: 0;
    border-bottom: 1px solid rgba(200, 162, 83, 0.18);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-links li:last-child { border-bottom: none; padding-top: 8px; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: block; }
  .brand span:last-child { font-size: 1.05rem; }

  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .hero { padding: 80px 0 60px; }
  section { padding: 60px 0; }
  .card { padding: 24px; }
  form { padding: 22px; }

  /* Hero CTAs become full-width on phones — easier to tap */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  /* Footer authority strip — center each item on its own line */
  .footer-authority {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Very small phones (iPhone SE 1st gen, etc.) */
@media (max-width: 360px) {
  .brand-mark { width: 36px; height: 36px; font-size: 0.75rem; }
  .brand span:last-child { font-size: 0.95rem; }
  h1 { font-size: 1.75rem; }
}
