@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&display=swap');

:root {
  --gold: #C8970A;
  --gold-light: #F5E6B8;
  --gold-dark: #9B7208;
  --dark: #0A0A0A;
  --dark-2: #111111;
  --dark-3: #1A1A1A;
  --dark-4: #242424;
  --mid: #3A3A3A;
  --muted: #888;
  --light: #E8E4DC;
  --white: #FAF9F6;
  --border: rgba(200,151,10,0.18);
  --border-light: rgba(255,255,255,0.08);
  --radius: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
.syne { font-family: 'Syne', sans-serif; }

/* FIX #5: line-height was 0.8 → caused multi-line headings to overlap */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.1; }
h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { font-size: 15px; color: rgba(250,249,246,0.72); line-height: 1.8; }

.gold       { color: var(--gold); }
.text-muted { color: var(--muted); }

/* ── LAYOUT ── */
.container  { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }

.section-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: ''; display: block; width: 24px; height: 1.5px; background: var(--gold);
}

/* ─────────────────────────────────────
   NAV — DESKTOP (clean base styles)
   FIX #1 #3: removed global overlay rules
   ───────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(5,5,5,.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 0.5px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Syne', sans-serif; font-size: 1.4rem; font-weight: 800;
  color: var(--white); text-decoration: none; letter-spacing: -0.02em;
  display: flex; align-items: center;
}
.nav-logo img { height: 50px; width: auto; display: block; }
.nav-logo span { color: var(--gold); }

/* Desktop: horizontal flex row, full visibility */
.nav-links {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 13px; color: rgba(250,249,246,0.6); text-decoration: none;
  transition: color 0.2s; font-weight: 400; letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

/* FIX #3: .nav-cta visible on desktop; hidden only in mobile block below */
.nav-cta {
  background: var(--gold); color: var(--dark); border: none;
  padding: 9px 20px; border-radius: 6px; font-size: 13px; font-weight: 500;
  cursor: pointer; font-family: 'DM Sans', sans-serif; text-decoration: none;
  transition: opacity 0.2s; white-space: nowrap;
}
.nav-cta:hover { opacity: 0.85; }

/* FIX #2: Hamburger hidden on desktop; display:flex added in mobile block */
.mobile-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer;
  z-index: 1001;
  flex-shrink: 0;
}
.mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  transform-origin: center;
}
/* Animated X when menu open */
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── FILTER / NAV PILL BUTTONS (shared across all pages) ── */
.filter-btn {
  background: var(--dark-3); border: 0.5px solid var(--border);
  border-radius: 20px; padding: 7px 18px; font-size: 13px;
  cursor: pointer; color: rgba(250,249,246,0.6); font-family: 'DM Sans', sans-serif;
  transition: all 0.15s;
}
.filter-btn.active {
  background: var(--gold); color: var(--dark); border-color: var(--gold); font-weight: 500;
}
.filter-btn:hover:not(.active) { border-color: rgba(200,151,10,0.4); color: var(--white); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--gold); color: var(--dark); border: none;
  padding: 13px 28px; border-radius: 8px; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: 'DM Sans', sans-serif; text-decoration: none;
  transition: all 0.2s; white-space: nowrap;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent; color: var(--white);
  border: 0.5px solid rgba(250,249,246,0.3);
  padding: 13px 28px; border-radius: 8px; font-size: 14px;
  cursor: pointer; font-family: 'DM Sans', sans-serif; text-decoration: none;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ── CARDS ── */
.card {
  background: var(--dark-3); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(200,151,10,0.4); }

/* ── DIVIDERS ── */
.divider    { border: none; border-top: 0.5px solid var(--border); margin: 4rem 0; }
.divider-sm { border: none; border-top: 0.5px solid var(--border); margin: 2rem 0; }

/* ── BADGES / PILLS ── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(200,151,10,0.12); color: var(--gold);
  border: 0.5px solid rgba(200,151,10,0.3);
  border-radius: 20px; padding: 5px 14px; font-size: 12px; font-weight: 500;
}
.pill-dark {
  background: var(--dark-4); color: rgba(250,249,246,0.6);
  border: 0.5px solid var(--border-light);
  border-radius: 20px; padding: 5px 14px; font-size: 12px; display: inline-block;
}

/* ── GRID UTILITIES ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }

/* ── STATS BAR ── */
/* FIX #6: unified to single 4-column layout, no conflicting overrides */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 820px;
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 18px;
  overflow: hidden;
}
.stat-item {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-right: 1px solid rgba(255,255,255,.05);
  transition: background 0.35s ease;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(200,151,10,.08); }
.stat-num {
  font-family: 'Syne', sans-serif; font-size: 1.7rem; line-height: 1;
  font-weight: 600; color: var(--gold); display: block;
}
.stat-lbl {
  font-size: 10px; color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.08em; margin-top: 4px; display: block;
}

/* ── FOOTER ── */
footer {
  background: var(--dark-2); border-top: 0.5px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800;
  color: var(--white); margin-bottom: 1rem; display: block;
}
.footer-logo img { height: 50px; width: auto; display: block; margin-bottom: 1rem; }
.footer-logo span { color: var(--gold); }
.footer-desc { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 260px; }
.footer-heading {
  font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700;
  color: var(--white); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 0.5px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 12px; color: var(--muted); }

/* ── ANIMATIONS ── */
/* FIX #7: heroZoom now uses consistent % values that guarantee coverage */
@keyframes heroZoom {
  from { background-size: 110% auto; }
  to   { background-size: 120% auto; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(60px); filter: blur(10px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.fade-up  { opacity: 0; animation: revealUp 1s cubic-bezier(.22,1,.36,1) forwards; }
.delay-1  { animation-delay: 0.1s; }
.delay-2  { animation-delay: 0.2s; }
.delay-3  { animation-delay: 0.3s; }
.delay-4  { animation-delay: 0.4s; }

/* ── CHECK MARK ── */
.check-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(250,249,246,0.75); }
.check-icon {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(200,151,10,0.15); border: 0.5px solid rgba(200,151,10,0.4);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.check-icon svg { width: 10px; height: 10px; }

/* ─────────────────────────────────────
   HERO (index page)
   ───────────────────────────────────── */
/* ── UPDATE HERO SECTION (index.html) ── */
/* Find the .hero block and replace it with this */
/*.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(
      90deg,
      rgba(5,5,5,.95) 0%,
      rgba(5,5,5,.80) 30%,
      rgba(5,5,5,.55) 60%,
      rgba(5,5,5,.10) 85%
    ),
    url('assets/office-glass.jpg'); /* Replaced hero.png */
  /* background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Adds a parallax effect */
  /*}
*/
.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    position:relative;
    overflow:hidden;
    padding:8rem 0 5rem;
}

.hero-video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
	object-fit:cover;
    object-position:right center;
}

.hero-overlay{
    position:absolute;
    inset:0;
    z-index:2;

    background:
      linear-gradient(
        90deg,
        rgba(0,0,0,.95) 0%,
        rgba(0,0,0,.85) 30%,
        rgba(0,0,0,.55) 60%,
        rgba(0,0,0,.15) 100%
      );
}

/* ── HERO CONTAINER: ALIGN WITH LOWER SECTIONS ── */
.hero .container {
    position: relative;
    z-index: 10;
    max-width: 1140px;         /* Same as main container */
    margin: 0 auto;            /* Centers horizontally like lower sections */
    padding: 0 2rem;           /* Matches left/right padding of lower sections */
    width: 100%;
}


/* ── ADD RESPONSIVE IMAGE UTILITIES ── */
/* Add this anywhere in style.css */
.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}
.img-border {
  border: 0.5px solid var(--border);
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}
.image-float-right {
  float: right;
  margin: 0 0 1.5rem 2rem;
  max-width: 50%;
}
.image-float-left {
  float: left;
  margin: 0 2rem 1.5rem 0;
  max-width: 50%;
}

/* Mobile fix for images */
@media (max-width: 768px) {
  .image-float-right, .image-float-left {
    float: none;
    margin: 0 0 1.5rem 0;
    max-width: 100%;
  }
}

.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 1.5rem; }
.hero-dot     { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero-est     { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); font-weight: 500; }

.hero-h1 {
  font-size: clamp(2.6rem, 3.8vw, 3.2rem);
  line-height: 0.92;          /* intentionally tight for large display heading */
  max-width: 620px;
  letter-spacing: -0.05em;
  margin-bottom: 1.5rem;
  position: relative;
}
.hero-h1 em { font-style: normal; color: var(--gold); }
.hero-h1::after {
  content: '';
  position: absolute; width: 300px; height: 300px; left: -100px; top: -60px;
  background: radial-gradient(circle, rgba(200,151,10,.12) 0%, transparent 70%);
  z-index: -1; pointer-events: none;
}

.hero-lead {
  font-size: 17px; max-width: 540px;
  color: rgba(250,249,246,0.6); line-height: 1.8; margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 4rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(250,249,246,0.45); margin-top: 1.5rem;
}
.hero-badge::before { content: ''; width: 20px; height: 0.5px; background: var(--muted); display: block; }

/* Page-level hero (about / services / contact / pricing) */
.page-hero { padding: 10rem 0 5rem; border-bottom: 0.5px solid var(--border); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin-bottom: 1.5rem; }
.page-hero p  { font-size: 17px; max-width: 580px; line-height: 1.85; }

/* ── TABLET ── */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─────────────────────────────────────
   MOBILE  (≤ 768px)
   FIX #1 #2 #3 #4: all mobile nav
   styles properly scoped here
   ───────────────────────────────────── */
@media (max-width: 768px) {

  /* NAV */
  nav { padding: 14px 20px; }
  .nav-logo img { width: 100px; height: auto; }

  /* FIX #2: show hamburger on mobile */
  .mobile-toggle { display: flex; }

  /* FIX #3: hide desktop CTA on mobile */
  .nav-cta { display: none; }

  /* FIX #1: full-screen overlay — now CORRECTLY scoped to mobile only */
  .nav-links {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5,5,5,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
    list-style: none;
    padding: 2rem;
  }
  .nav-links.active { transform: translateX(0); }

  .nav-links .filter-btn {
    font-size: 16px;
    padding: 11px 32px;
    min-width: 200px;
    text-align: center;
  }

  /* HERO 

	
  .hero-h1 {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 0.92;
    letter-spacing: -0.05em;
    max-width: 100%;
  }
  .hero-h1::after { display: none; }

  .hero-lead {
    font-size: 15px; line-height: 1.7; max-width: 100%; margin-bottom: 2rem;
  }
  .hero-btns {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; margin-bottom: 2rem;
  }
  .btn-primary, .btn-secondary { width: 100%; padding: 12px 16px; }

  /* STATS BAR */
  .stats-bar {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
  }
  .stat-item { padding: 12px 8px; }
  .stat-num  { font-size: 1.1rem; }
  .stat-lbl  { font-size: 8px; }

  /* PAGE HERO */
  .page-hero { padding: 7rem 0 3rem; }
  .page-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }

  /* FIX #4: these were orphaned outside the media query before */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .section     { padding: 3.5rem 0; }
  .section-sm  { padding: 2.5rem 0; }
  h1           { font-size: 2.2rem; }
}

/* ── SMALL MOBILE (≤ 480px) ── */
@media (max-width: 480px) {
  .container   { padding: 0 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Rebuild borders for 2-column layout */
  .stat-item              { border-right: 1px solid rgba(255,255,255,.05); }
  .stat-item:nth-child(2n)  { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.05); }

  .hero-btns { grid-template-columns: 1fr; }
}
