/**
 * Minimal Global Styles - All-in-one CSS
 * Combines reset, breakpoints, variables, base styles, header, and footer
 */

/* ============================================
   CSS Reset
   ============================================ */

/* Box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin */
body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd {
    margin: 0;
}

/* Remove list styles */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

/* ============================================
   CSS Variables
   ============================================ */

:root {
  /* Breakpoints */
  --breakpoint-mobile: 480px;
  --breakpoint-tablet: 768px;
  --breakpoint-desktop: 1024px;
  --breakpoint-wide: 1280px;
  
  /* Colors */
  --noads-bg: #fff;
  --noads-text: #222;
  --noads-muted: #666;
  --noads-border: #ddd;
  --noads-primary: #2f3a2f;
  --noads-primary-text: #fff;
  
  /* Spacing */
  --noads-pad: 1rem;
  --noads-pad-sm: 0.5rem;
  --noads-pad-lg: 1.5rem;
  
  /* Typography */
  --noads-font: system-ui, -apple-system, sans-serif;
  --noads-font-size: 16px;
  
  /* Border Radius */
  --noads-radius: 0.5rem;
}

/* ============================================
   Base Styles
   ============================================ */

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: var(--noads-font);
  font-size: var(--noads-font-size);
  color: var(--noads-text);
  background: var(--noads-bg);
  margin: 0;
  padding: 0;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

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

a:hover {
  text-decoration: underline;
}

/* ============================================
   Header Styles
   ============================================ */

.site-header {
  background: var(--noads-bg);
  border-bottom: 1px solid var(--noads-border);
  padding: var(--noads-pad);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo-link {
  text-decoration: none;
  color: var(--noads-text);
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--noads-pad);
}

.nav-menu a {
  color: var(--noads-text);
  text-decoration: none;
}

.nav-menu a:hover {
  color: var(--noads-primary);
}

.mobile-menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .desktop-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
}

/* ============================================
   Footer Styles
   ============================================ */

.site-footer {
  background: var(--noads-bg);
  border-top: 1px solid var(--noads-border);
  padding: var(--noads-pad-lg);
  margin-top: var(--noads-pad-lg);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  color: var(--noads-muted);
  font-size: 0.875rem;
}
