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

:root {
  --color-primary: #d4a017;
  --color-dark: #1a1a2e;
  --color-text: #333;
  --color-light: #f8f9fa;
  --color-white: #fff;
  --color-border: #e0e0e0;
  --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Header */
.site-header {
  background: var(--color-white);
  border-bottom: 3px solid var(--color-primary);
  padding: 1rem 0;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.site-nav a {
  color: var(--color-dark);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-primary);
  text-decoration: none;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-dark);
}

/* Hero */
.hero {
  background: var(--color-dark);
  color: var(--color-white);
  text-align: center;
  padding: 4rem 1.5rem;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  max-width: 750px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccc;
  text-align: left;
}

.hero .cta-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s;
}

.hero .cta-link:hover {
  background: #b8890f;
  text-decoration: none;
}

/* Stats bar */
.stats-bar {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 2rem 1.5rem;
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

/* Sections */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section h2 {
  font-size: 1.6rem;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

/* Site directory */
.site-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 1.5rem;
}

.site-group h3 {
  font-size: 1.2rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border);
}

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

.site-group li {
  padding: 0.5rem 0;
}

.site-group a {
  display: block;
}

.site-group a img {
  height: 30px;
  width: auto;
}

/* Content pages (privacy, terms, etc.) */
.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.page-content h1 {
  font-size: 2rem;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary);
}

.page-content h2 {
  font-size: 1.3rem;
  color: var(--color-dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content p,
.page-content ul {
  margin-bottom: 1rem;
}

.page-content ul {
  padding-left: 1.5rem;
}

/* Contact form placeholder */
.contact-form-embed {
  margin-top: 1.5rem;
  padding: 2rem;
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  text-align: center;
  color: #999;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #aaa;
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #aaa;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-copy {
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 3px solid var(--color-primary);
    padding: 1rem 1.5rem;
    z-index: 100;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }

  .header-inner {
    position: relative;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .stats-inner {
    flex-direction: column;
    align-items: center;
  }

  .site-groups {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
