/* Shared site-wide styles to keep layout consistent across pages */

:root {
  --mad-green: #00A651;
  --mad-red: #C8102E;
  --mad-pink: #E91E63;
  --mad-cream: #F5EFE6;
  --mad-tan: #D4C5B0;
  --dark-grey: #1A1A1A;
  --medium-grey: #666666;
  --accent-yellow: #F8B500;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1A1A1A;
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Accent Bar */
.top-bar {
  height: 5px;
  background: linear-gradient(to right, var(--mad-pink), var(--accent-yellow));
}

/* Header Navigation (used on contact + ai-teardown success + ai-teardown, etc.) */
.header-nav {
  background: var(--mad-green);
  padding: 18px 0;
}

.header-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-brand {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-links a:not(.btn) {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.header-links a:hover {
  opacity: 0.85;
}

/* Footer (shared across pages) */
.footer {
  background: var(--dark-grey);
  color: white;
  padding: 60px 20px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h3 {
  color: var(--accent-yellow);
  font-size: 18px;
  margin-bottom: 15px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 600;
}

.footer a:hover {
  color: var(--mad-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .header-links a:not(.header-cta) {
    display: none;
  }
}


