/*
Theme Name: Rainbow Rescue PC
Theme URI: https://rainbowrescuepc.com
Author: Rainbow Rescue PC
Author URI: https://rainbowrescuepc.com
Description: A modern, colorful, trustworthy WordPress theme for Rainbow Rescue PC - LGBTQ+ tech support with pride, privacy, and zero judgment
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rainbow-rescue

UPDATED: Lighter design, better contrast, privacy-focused messaging
*/

/* ============================================
   CSS VARIABLES - RAINBOW RESCUE PC COLORS
   ============================================ */
:root {
  /* Rainbow Pride Colors */
  --pride-red: #E40303;
  --pride-orange: #FF8C00;
  --pride-yellow: #FFED00;
  --pride-green: #008026;
  --pride-blue: #24408E;
  --pride-purple: #732982;
  
  /* Brand Colors - Lighter palette */
  --primary-navy: #264653;
  --primary-teal: #2A9D8F;
  --light-teal: #C7E1E0;
  --cream: #F1FAEE;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --medium-gray: #E9ECEF;
  --text-gray: #495057;
  --border-gray: #DEE2E6;
  
  /* Functional Colors */
  --success: #28A745;
  --warning: #FFC107;
  --danger: #DC3545;
  --info: #17A2B8;
  
  /* Typography */
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  /* Shadows - Softer shadows for lighter theme */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-gray);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-navy);
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-gray);
}

a {
  color: var(--primary-teal);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-navy);
  text-decoration: underline;
}

/* ============================================
   BUTTONS - Fixed for better contrast
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-main);
}

/* Primary Button - Teal with white text */
.btn-primary {
  background-color: var(--primary-teal);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: #238276;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: var(--white);
}

/* Secondary Button - Navy with white text */
.btn-secondary {
  background-color: var(--primary-navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background-color: #1a3340;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: var(--white);
}

/* Rainbow Button - White background with rainbow gradient border */
.btn-rainbow {
  background: var(--white);
  color: var(--primary-navy);
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.btn-rainbow::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(90deg, 
    var(--pride-red), 
    var(--pride-orange), 
    var(--pride-yellow), 
    var(--pride-green), 
    var(--pride-blue), 
    var(--pride-purple)
  );
  border-radius: var(--radius-md);
  z-index: -1;
}

.btn-rainbow:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: var(--primary-navy);
}

/* Outline Button */
.btn-outline {
  background-color: transparent;
  color: var(--primary-teal);
  border: 2px solid var(--primary-teal);
}

.btn-outline:hover {
  background-color: var(--primary-teal);
  color: var(--white);
  text-decoration: none;
}

/* Button Sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.container-narrow {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* ============================================
   HEADER - Lighter design
   ============================================ */
.site-header {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Top Bar - Rainbow gradient with white text */
.top-bar {
  background: linear-gradient(90deg, 
    var(--pride-red), 
    var(--pride-orange), 
    var(--pride-yellow), 
    var(--pride-green), 
    var(--pride-blue), 
    var(--pride-purple)
  );
  padding: 0.5rem 0;
  color: var(--white);
  font-size: 0.875rem;
  text-align: center;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-bar-tagline {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.top-bar-contact a {
  color: var(--white);
  text-decoration: none;
  margin-left: var(--spacing-sm);
  font-weight: 600;
}

.top-bar-contact a:hover {
  text-decoration: underline;
  color: var(--white);
}

/* ============================================
   HEADER - Rainbow bar fixed, main header scrolls
   ============================================ */
.site-header {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  /* REMOVED: position: sticky - we want this to scroll! */
  /* Rainbow bar will be fixed instead */
}

/* Top Bar - FIXED at top (stays visible) */
.top-bar {
  background: linear-gradient(90deg, 
    var(--pride-red), 
    var(--pride-orange), 
    var(--pride-yellow), 
    var(--pride-green), 
    var(--pride-blue), 
    var(--pride-purple)
  );
  padding: 0.5rem 0;
  color: var(--white);
  font-size: 0.875rem;
  text-align: center;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  position: fixed;  /* FIXED - stays at top! */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Main Header - COMPACT and SCROLLABLE */
.main-header {
  background-color: var(--white);
  padding: 0.75rem 0;
  margin-top: 40px; /* Push down to account for fixed rainbow bar */
}

/* Two Column Layout - SIDE BY SIDE */
.header-columns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap; /* Don't wrap - stay side by side! */
}

/* ============================================
   LEFT COLUMN - Logo (Left Justified)
   ============================================ */
.header-left {
  flex: 0 0 auto;
  /* No flex-grow - just takes what it needs */
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

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

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
}

.site-title:hover {
  color: var(--primary-teal);
}

/* ============================================
   RIGHT COLUMN - Navigation (Right Justified)
   ============================================ */
.header-right {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end; /* Right justify the navigation */
  align-items: center;
}

/* Navigation Menu - Right Justified */
.main-nav {
  display: flex;
  justify-content: flex-end;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--primary-navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--primary-teal);
  text-decoration: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
  padding: 0.5rem;
}

/* ============================================
   HERO SECTION - Lighter background
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--cream) 100%);
  padding: var(--spacing-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--pride-red), 
    var(--pride-orange), 
    var(--pride-yellow), 
    var(--pride-green), 
    var(--pride-blue), 
    var(--pride-purple)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-navy);
}

.hero-rainbow-text {
  background: linear-gradient(90deg, 
    var(--pride-red), 
    var(--pride-orange), 
    var(--pride-yellow), 
    var(--pride-green), 
    var(--pride-blue), 
    var(--pride-purple)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-gray);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

/* ============================================
   PRIVACY GUARANTEE SECTION - NEW!
   ============================================ */
.privacy-guarantee {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
  color: var(--white);
  padding: var(--spacing-lg) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.privacy-guarantee::before {
  content: '🔒';
  position: absolute;
  font-size: 200px;
  opacity: 0.05;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.privacy-guarantee .container {
  position: relative;
  z-index: 1;
}

.privacy-guarantee h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.privacy-guarantee p {
  font-size: 1.25rem;
  color: var(--cream);
  max-width: 800px;
  margin: 0 auto var(--spacing-md);
  line-height: 1.8;
}

.privacy-guarantee .privacy-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.privacy-feature {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255,255,255,0.2);
}

.privacy-feature-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.privacy-feature h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.privacy-feature p {
  color: var(--cream);
  font-size: 1rem;
}

/* ============================================
   SECTIONS - Lighter backgrounds
   ============================================ */
section {
  padding: var(--spacing-xl) 0;
}

.section-light {
  background-color: var(--white);
}

.section-gray {
  background-color: var(--light-gray);
}

.section-teal {
  background: linear-gradient(135deg, var(--light-teal) 0%, var(--cream) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-navy);
  margin-bottom: var(--spacing-sm);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 700px;
  margin: 0 auto;
}

/* Rainbow Underline for Section Headers */
.rainbow-underline {
  position: relative;
  display: inline-block;
}

.rainbow-underline::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, 
    var(--pride-red), 
    var(--pride-orange), 
    var(--pride-yellow), 
    var(--pride-green), 
    var(--pride-blue), 
    var(--pride-purple)
  );
  border-radius: var(--radius-full);
}

/* ============================================
   SERVICES GRID - Lighter cards
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.service-card {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border-top: 4px solid var(--border-gray);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* Rainbow border colors for each service card */
.service-card:nth-child(1) { border-top-color: var(--pride-red); }
.service-card:nth-child(2) { border-top-color: var(--pride-orange); }
.service-card:nth-child(3) { border-top-color: var(--pride-yellow); }
.service-card:nth-child(4) { border-top-color: var(--pride-green); }
.service-card:nth-child(5) { border-top-color: var(--pride-blue); }
.service-card:nth-child(6) { border-top-color: var(--pride-purple); }

.service-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  display: block;
}

.service-card:nth-child(1) .service-icon { color: var(--pride-red); }
.service-card:nth-child(2) .service-icon { color: var(--pride-orange); }
.service-card:nth-child(3) .service-icon { color: var(--pride-yellow); }
.service-card:nth-child(4) .service-icon { color: var(--pride-green); }
.service-card:nth-child(5) .service-icon { color: var(--pride-blue); }
.service-card:nth-child(6) .service-icon { color: var(--pride-purple); }

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-navy);
}

.service-card p {
  color: var(--text-gray);
  margin-bottom: var(--spacing-sm);
}

.service-card .btn {
  margin-top: var(--spacing-sm);
  width: 100%;
}

/* ============================================
   FEATURES GRID - Lighter design
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature-card {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid var(--border-gray);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-teal);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-teal);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-navy);
}

.feature-card p {
  color: var(--text-gray);
}

/* ============================================
   CTA SECTIONS - Rainbow gradient
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, 
    var(--pride-red) 0%, 
    var(--pride-purple) 100%
  );
  color: var(--white);
  padding: var(--spacing-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.1), 
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cta-section p {
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: var(--spacing-md);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

.cta-section .btn {
  background: var(--white);
  color: var(--primary-navy);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

.cta-section .btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   FOOTER - Lighter design
   ============================================ */
.site-footer {
  background-color: var(--light-gray);
  color: var(--text-gray);
  padding: var(--spacing-lg) 0 var(--spacing-sm);
  border-top: 4px solid;
  border-image: linear-gradient(90deg, 
    var(--pride-red), 
    var(--pride-orange), 
    var(--pride-yellow), 
    var(--pride-green), 
    var(--pride-blue), 
    var(--pride-purple)
  ) 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
  color: var(--primary-navy);
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
  color: var(--text-gray);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--primary-teal);
  text-decoration: underline;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: var(--spacing-sm);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--primary-teal);
  color: var(--white);
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border-gray);
  padding-top: var(--spacing-sm);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* ============================================
   CONTACT FORM - Lighter design
   ============================================ */
.contact-form {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 0 auto;
  border: 2px solid var(--border-gray);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.contact-info-card {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 2px solid var(--border-gray);
}

.contact-info-card:hover {
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-lg);
}

.contact-info-icon {
  font-size: 2.5rem;
  color: var(--primary-teal);
  margin-bottom: var(--spacing-sm);
}

/* ============================================
   BLOG STYLES - Lighter design
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 2px solid var(--border-gray);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-teal);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--light-teal), var(--cream));
}

.blog-card-content {
  padding: var(--spacing-md);
}

.blog-card-meta {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin-bottom: var(--spacing-sm);
}

.blog-card-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-navy);
}

.blog-card-title a {
  color: var(--primary-navy);
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--primary-teal);
}

.blog-card-excerpt {
  color: var(--text-gray);
  margin-bottom: var(--spacing-sm);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .hero h1 { font-size: 2.25rem; }
  .hero p { font-size: 1.125rem; }
  
  /* Header - Mobile */
  .main-header {
    margin-top: 40px; /* Account for fixed rainbow bar */
  }
  
  .header-columns {
    flex-wrap: nowrap; /* Keep side-by-side on mobile too if possible */
    gap: 1rem;
  }
  
  .header-left {
    flex: 1 1 auto; /* Let logo take more space on mobile */
  }
  
  .site-logo img {
    height: 40px; /* Smaller logo on mobile */
  }
  
  .site-title {
    font-size: 1rem; /* Smaller text on mobile */
  }
  
  .header-right {
    flex: 0 0 auto; /* Menu toggle takes minimal space */
  }
  
  .menu-toggle {
    display: block; /* Show hamburger on mobile */
  }
  
  .main-nav ul {
    display: none; /* Hide menu by default */
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    width: 200px;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    margin-top: 0.5rem;
    border-radius: var(--radius-md);
    z-index: 999;
  }
  
  .main-nav.active ul {
    display: flex; /* Show when active */
  }
  
  .main-nav li {
    width: 100%;
    text-align: left;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-gray);
  }
  
  .main-nav li:last-child {
    border-bottom: none;
  }
  
  /* Grids */
  .services-grid,
  .features-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  /* Spacing */
  section {
    padding: var(--spacing-md) 0;
  }
  
  .hero {
    padding: var(--spacing-md) 0;
  }
  
  /* Buttons */
  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .top-bar .container {
    flex-direction: column;
    text-align: center;
  }
  
  .top-bar-contact {
    margin-top: 0.5rem;
  }
  
  .top-bar-contact a {
    margin: 0 0.5rem;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

*:focus {
  outline: 3px solid var(--primary-teal);
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-navy);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.p-1 { padding: var(--spacing-sm); }
.p-2 { padding: var(--spacing-md); }
.p-3 { padding: var(--spacing-lg); }

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .site-header,
  .site-footer,
  .cta-section,
  .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }
  
  a {
    text-decoration: underline;
    color: #000;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
}
