/* ===================================
   [50-X] gsage.com — Netlify Static
   Fonts: Inter (body/h1) + Onest (h2/h3)
   Matched exactly from live site
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Onest:wght@400;600;700&display=swap');

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #eeeeee;
  background: #222222;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; display: block; }

/* ---- Header / Nav ---- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

#site-header.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo img {
  height: 52px;
  width: auto;
}

/* Primary Nav */
#primary-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

#primary-nav > li {
  position: relative;
}

#primary-nav > li > a {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 0;
  transition: opacity 0.2s;
}

#primary-nav > li > a::after {
  content: '›';
  font-size: 16px;
  transform: rotate(90deg);
  display: inline-block;
  transition: transform 0.2s;
}

#primary-nav > li:hover > a::after { transform: rotate(270deg); }

/* Dropdowns */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: rgba(20, 20, 20, 0.96);
  min-width: 200px;
  list-style: none;
  padding: 10px 0;
  z-index: 100;
  border-top: 2px solid rgba(255,255,255,0.15);
}

#primary-nav > li:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
  display: block;
  color: #eeeeee;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  padding: 10px 20px;
  transition: background 0.2s, padding-left 0.2s;
}

.dropdown-menu li a:hover {
  background: rgba(255,255,255,0.08);
  padding-left: 28px;
}

/* Nav search icon */
.nav-search {
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav-search:hover { opacity: 1; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Hero Section ---- */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background-image: url('../images/hero.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40, 25, 5, 0.52);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 30px;
  color: #fff;
}

.hero-content h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 6vw, 80px);
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: normal;
  line-height: 1.25;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.5);
  margin: 0 auto 24px;
}

.hero-content p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: normal;
  margin-bottom: 34px;
  color: #eeeeee;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons — solid gold, black text, white border */
.btn-hero,
.btn-cta {
  display: inline-block;
  background: #dd9933;
  color: #000;
  border: 2px solid #fff;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 36px;
  margin: 16px 0;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
}

.btn-hero:hover,
.btn-cta:hover {
  background: #c4872a;
  color: #000;
  opacity: 1;
}

/* Scroll chevron */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.7;
  animation: bounce 2s infinite;
  cursor: pointer;
}
.hero-scroll svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- Content Wrapper ---- */
.site-content {
  background: #222222;
  color: #eeeeee;
}

/* ---- Content Sections ---- */
.content-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 70px 30px;
}

.content-section h2 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 45px);
  font-weight: 600;
  letter-spacing: normal;
  text-transform: capitalize;
  margin-bottom: 24px;
  line-height: 1.4;
  color: #dddddd;
}

.content-section h3 {
  font-family: 'Onest', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: capitalize;
  margin: 30px 0 14px;
  line-height: 1.4;
  color: #dddddd;
}

.content-section p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  margin-bottom: 18px;
  color: #eeeeee;
}

.content-section em {
  font-style: italic;
  color: #cccccc;
}

.content-section strong {
  font-weight: 700;
  color: #fff;
}

.content-section ul {
  list-style: none;
  margin-bottom: 20px;
  padding-left: 0;
}

.content-section ul li {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  padding: 4px 0 4px 22px;
  position: relative;
  color: #eeeeee;
}

.content-section ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.4);
}

.content-section ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
.content-section ol li {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 10px;
  color: #eeeeee;
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: normal;
  margin-bottom: 24px;
  color: #cccccc;
}

/* Section dividers */
.section-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 30px auto;
  width: 80px;
}

/* ---- Page Header (inner pages) ---- */
.page-header {
  background: #222222;
  padding: 120px 30px 50px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.page-header h1 {
  font-family: 'Onest', sans-serif;
  font-size: clamp(1.8rem, 4vw, 45px);
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: normal;
  line-height: 1.4;
  color: #dddddd;
  max-width: 800px;
  margin: 0 auto;
}

/* ---- About page table ---- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}
.comparison-table th {
  background: rgba(221,153,51,0.2);
  color: #dd9933;
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: normal;
  padding: 14px 18px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.1);
}
.comparison-table td {
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  color: #eeeeee;
  vertical-align: top;
  line-height: 1.7;
}
.comparison-table tr:nth-child(even) td {
  background: rgba(255,255,255,0.03);
}

/* Testimonial blocks */
.testimonial-block {
  border-left: 3px solid #dd9933;
  padding: 16px 24px;
  margin: 24px 0;
  background: rgba(255,255,255,0.04);
}
.testimonial-block p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.8;
  color: #eeeeee;
}
.testimonial-block cite {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: #dd9933;
  font-style: normal;
}

/* ---- Footer ---- */
#site-footer {
  background: #111111;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 30px 40px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: normal;
}
#site-footer a { color: rgba(255,255,255,0.55); }
#site-footer a:hover { color: #fff; opacity: 1; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  #site-header { padding: 0 20px; }

  #primary-nav { display: none; flex-direction: column; gap: 0; }
  #primary-nav.open {
    display: flex;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(20,20,20,0.97);
    padding: 20px 0;
    z-index: 999;
  }
  #primary-nav > li > a { padding: 14px 24px; font-size: 15px; }
  #primary-nav > li > a::after { display: none; }
  .dropdown-menu { position: static; display: block; background: rgba(255,255,255,0.05); }
  .dropdown-menu li a { padding-left: 40px; }

  .nav-toggle { display: flex; }
  .nav-search { display: none; }

  #hero { background-attachment: scroll; }
  .hero-content h1 { font-size: clamp(2rem, 10vw, 48px); }

  .content-section { padding: 50px 20px; }
  .content-section h2 { font-size: clamp(1.4rem, 6vw, 32px); }
  .content-section h3 { font-size: 20px; }
  .page-header { padding: 100px 20px 40px; }
  .page-header h1 { font-size: clamp(1.5rem, 6vw, 32px); }

  .comparison-table { font-size: 12px; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }

  #site-footer { padding: 24px 20px; }
}
