/* -----------------------------------------------------------
   Root settings & base
----------------------------------------------------------- */
:root {
  --ink: #ffffff;
  --muted: #cbd5e1;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #d4af37;
  --brand2: #f2c94c;
  --surface: #111111;
  --surface2: #141414;
  --radius: 14px;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  color: var(--ink);
  background: linear-gradient(180deg, #0b0b0b 0, #0a0a0a 50%, #090909 100%);
}

/* Add this section after your body styles (around line 25 in your CSS) */

/* -----------------------------------------------------------
   Headings - Fix deprecated H1UserAgentFontSizeInSection
----------------------------------------------------------- */
h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Nested headings in sections/articles */
section h1,
article h1 {
  font-size: 2.2rem;
}

section h2,
article h2 {
  font-size: 1.8rem;
}

section h3,
article h3 {
  font-size: 1.3rem;
}






/* Links */
a {
  color: inherit;
  text-decoration: none;
}

.muted { 
  color: var(--muted); 
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* -----------------------------------------------------------
   Navbar (CLS-Free, Fixed Height)
----------------------------------------------------------- */
.navbar {
  height: 72px;                 /* FIX: prevents layout shift */
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 2rem;              /* No vertical padding */
  background: rgba(0,0,0,0.8);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ensure children fill the fixed height */
.logo, .nav {
  display: flex;
  align-items: center;
  height: 72px;                 /* match navbar height */
}

.logo {
  gap: .35rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .3px;
  background: linear-gradient(90deg, var(--brand2), var(--brand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-logo {
  height: 42px;
  width: auto;
  display: block;
}

/* Desktop nav */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  display: inline-block; /* Ensures the links are block-level for better hover effects */
  font-weight: 600;
  padding: .5rem .75rem;
  border-radius: 10px;
  color: rgba(255,255,255,0.92);
  transition: background .15s, color .15s;
}

/* Hover effect for navbar links */
.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);  /* Slight background change */
  color: #f5c400;  /* Yellow color when hovered */
}

/* Active link styling */
.nav-links a.active {
  background: rgba(212, 175, 55, 0.1);  /* Active link background */
  border: 1px solid rgba(212, 175, 55, 0.22);  /* Border around active link */
  color: #fff;  /* Keep white text for active link */
}

/* Mobile burger */
.burger {
  display: none;
  color: #fff;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* -----------------------------------------------------------
   Hero Section
----------------------------------------------------------- */
.hero {
  min-height: calc(100vh - 72px); /* FIX: stable, no resize after paint */
  padding: 6rem 1.25rem 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-text {
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero p {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* -----------------------------------------------------------
   Buttons
----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 150px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #111;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  transition: transform .15s, filter .15s;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn.outline {
  background: none;
  border: 1px solid rgba(212,175,55,0.35);
  color: var(--brand2);
  box-shadow: none;
}

.btn.outline:hover {
  background: rgba(212,175,55,0.08);
}

/* -----------------------------------------------------------
   Sections
----------------------------------------------------------- */
.section {
  padding: 4.5rem 0;
  text-align: left; /* Aligns text inside sections to the left */
}

/* Align content text with the titles */
.section h2, .section p {
  text-align: left;
  margin-left: 0; /* Aligns content text directly with the titles */
}

.section p {
  padding-left: 0; /* Removes any unnecessary padding */
}


/* Style for unordered lists inside sections */
.section ul {
  padding-left: 20px;  /* Indent the list to align properly */
  margin-left: 0;      /* Remove default left margin */
}

/* Style for list items to ensure proper alignment */
.section li {
  margin-left: 0;      /* Remove any unwanted left margin from list items */
  list-style-type: disc; /* Ensure bullets are shown */
}

/* -----------------------------------------------------------
   Service grid & cards
----------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.2rem;
}

.card {
  background: linear-gradient(180deg, var(--surface2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  text-align: left;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: .45rem;
  letter-spacing: -0.1px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card ul {
  margin-top: .9rem;
  padding-left: 1.1rem;
  line-height: 1.8;
}

.card li {
  margin: .35rem 0;
}

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  color: rgba(203,213,225,0.85);
  background: rgba(0,0,0,0.6);
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--brand2);
}

.footer a:hover {
  text-decoration: underline;
}

/* -----------------------------------------------------------
   Legal Pages
----------------------------------------------------------- */
main.legal-page {
  padding: 3rem 1rem;
  text-align: left; /* Ensures text is aligned left */
}

main.legal-page .legal-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
  background: #000;
  color: #fff;
  border: 1px solid #222;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  text-align: left; /* Ensures left alignment */
  font-size: 16px;
  line-height: 1.6;
}

main.legal-page .legal-box a {
  color: #f5c400;
  text-decoration: underline;
}

/* -----------------------------------------------------------
   Mobile Responsive
----------------------------------------------------------- */
@media (max-width: 480px) {
  .burger {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 2rem;
    width: 220px;
    flex-direction: column;
    gap: .2rem;
    padding: .75rem;
    background: rgba(17,17,17,0.96);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 160ms, transform 160ms;
  }

  .nav-links.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}