/* Mawanella Buddy Mart - Main Stylesheet */
/* CSS Custom Properties for Theme System */

:root {
  /* Light mode (default) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  --text-primary: #343a40;
  --text-secondary: #6c757d;
  --text-muted: #adb5bd;
  --border-color: #dee2e6;
  --border-light: #f1f3f4;
  --brand-red: #e82424;
  --brand-blue: #245298;
  --brand-red-hover: #d11a1a;
  --brand-blue-hover: #1e4a7e;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.15);
  --shadow-dark: rgba(0, 0, 0, 0.2);
  --gradient-primary: linear-gradient(135deg, #e82424 0%, #245298 100%);
  --gradient-secondary: linear-gradient(135deg, #245298 0%, #e82424 100%);
}

[data-theme="dark"] {
  /* Dark mode overrides */
  --bg-primary: #1a1a1a;
  --bg-secondary: #2d2d2d;
  --bg-tertiary: #404040;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #888888;
  --border-color: #444444;
  --border-light: #333333;
  --brand-red: #e82424;
  --brand-blue: #4a7bc8;
  --brand-red-hover: #ff3333;
  --brand-blue-hover: #5a8fd9;
  --shadow-light: rgba(0, 0, 0, 0.3);
  --shadow-medium: rgba(0, 0, 0, 0.4);
  --shadow-dark: rgba(0, 0, 0, 0.5);
  --gradient-primary: linear-gradient(135deg, #e82424 0%, #4a7bc8 100%);
  --gradient-secondary: linear-gradient(135deg, #4a7bc8 0%, #e82424 100%);
}

/* Global Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 80px; /* Account for fixed navbar height */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

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

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--brand-red);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--brand-red-hover);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 2.5rem 0;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

html {
  scroll-behavior: smooth;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: all 0.3s ease;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--brand-red);
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--brand-red);
  color: white;
}

.btn-primary:hover {
  background: var(--brand-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-medium);
}

.btn-secondary {
  background: var(--brand-blue);
  color: white;
}

.btn-secondary:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-medium);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--brand-red);
  color: var(--brand-red);
}

.btn-outline:hover {
  background: var(--brand-red);
  color: white;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Card Styles */
.card {
  background: var(--bg-secondary);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.slide-up {
  animation: slideUp 0.6s ease forwards;
}

.slide-left {
  animation: slideLeft 0.6s ease forwards;
}

.slide-right {
  animation: slideRight 0.6s ease forwards;
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px var(--shadow-light);
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.navbar-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.logo img {
  height: 50px;
  width: auto;
  transition: all 0.3s ease;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-red);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-red);
  border-radius: 1px;
}

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
  margin-left: auto;
  order: 3;
}

.navbar-toggler:hover {
  background: var(--bg-secondary);
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background: var(--bg-secondary);
  color: var(--brand-red);
}

/* Footer Styles */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1rem;
  margin-top: auto;
}

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

.footer-section h4 {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-logo img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--brand-red);
  color: white;
  transform: translateY(-2px);
}

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

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: var(--brand-red);
  color: white;
}

.btn-primary:hover {
  background: var(--brand-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-medium);
}

.btn-secondary {
  background: var(--brand-blue);
  color: white;
}

.btn-secondary:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-medium);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

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

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(232, 36, 36, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #dc3545;
}

/* Card Styles */
.card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 2px 10px var(--shadow-light);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--shadow-medium);
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact Styles */
.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-link {
  color: var(--brand-red);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--brand-red-hover);
}

/* Alert Styles */
.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Hero Section */
.hero {
  position: relative;
  background: var(--gradient-primary);
  color: white;
  padding: 8rem 0 6rem;
  overflow: hidden;
  background-image: url('../images/hero/bg-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 60vh;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(232, 36, 36, 0.3); /* Brand red with 30% opacity */
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(232, 36, 36, 0.3); /* Brand red with 30% opacity */
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 3;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-buttons .btn {
  flex: 1;
  min-width: 140px;
  text-align: center;
}

.hero-placeholder {
  position: relative;
  z-index: 3;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-placeholder i {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.hero-placeholder p {
  font-size: 1rem;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 0;
}

/* Contact Form Styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .btn {
  width: 100%;
  margin-top: 1rem;
}

/* Map Placeholder */
.map-placeholder {
  height: 300px;
  background: var(--bg-tertiary);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 2px dashed var(--border-color);
}

.map-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.map-placeholder p {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.map-placeholder small {
  font-size: 0.875rem;
}

/* Location Details */
.location-details {
  margin-top: 2rem;
}

.location-details h3 {
  margin-bottom: 1rem;
}

.location-details address {
  font-style: normal;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hours-list {
  list-style: none;
  padding: 0;
}

.hours-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list strong {
  color: var(--text-primary);
}

/* Quick Contact Icons */
.quick-contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Stats Section */
.stats {
  background: var(--bg-secondary);
  padding: 4rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-medium);
  border-color: var(--brand-red);
}

.counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.counter.animated {
  animation: counterPulse 0.5s ease;
}

@keyframes counterPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.counter::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--brand-red);
  margin-left: 0.25rem;
  opacity: 0;
  animation: fadeInPlus 0.5s ease 2s forwards;
}

@keyframes fadeInPlus {
  to {
    opacity: 1;
  }
}

.stat-item:hover .counter {
  transform: scale(1.1);
  color: var(--brand-red-hover);
}

.stat-item:hover .stat-label {
  color: var(--text-primary);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Features Section */
.features {
  background: var(--bg-primary);
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

/* Mobile Navigation */
.navbar-toggler {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
}

.navbar-toggler:hover {
  background: var(--bg-secondary);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-nav .nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--brand-red);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar .container {
    justify-content: space-between;
  }

  .navbar-toggler {
    display: block;
    order: 2;
  }

  .navbar-nav {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--shadow-light);
    z-index: 999;
    backdrop-filter: blur(10px);
    margin-left: 0;
  }

  .navbar-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar-nav.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    margin-left: 0;
  }

  .navbar-nav .nav-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  body {
    padding-top: 70px; /* Reduced for mobile */
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero {
    padding: 6rem 0 4rem;
  }

  /* Hero Buttons Mobile */
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-buttons .btn {
    width: 100%;
    min-width: unset;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stats {
    padding: 2rem 0;
  }

  .counter {
    font-size: 2rem;
  }

  .stat-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .features {
    padding: 2rem 0;
  }

  .feature-item {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2rem 0;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }

  body {
    padding-top: 65px; /* Even more compact for small screens */
  }

  .hero-content h1 {
    font-size: 1.75rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  }

  .hero-content p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  }

  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }

  .card {
    padding: 1.5rem;
  }

  .hero-placeholder {
    width: 200px;
    height: 200px;
    font-size: 3rem;
  }

  .hero {
    background-attachment: scroll; /* Better performance on mobile */
  }

  /* Hero Buttons Small Mobile */
  .hero-buttons {
    gap: 0.5rem;
    max-width: 250px;
  }
}

@media (max-width: 1024px) {
  .hero {
    background-attachment: scroll; /* Better performance on tablets */
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.align-center { align-items: center; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }

.z-index-1 { z-index: 1; }
.z-index-10 { z-index: 10; }
.z-index-100 { z-index: 100; }

/* ===== MAIN CONTENT STYLING ===== */

/* Page Headers */
.page-header {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-hover));
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 0;
}

/* Content Sections */
.content-section {
  padding: 5rem 0;
}

.content-section h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.content-section > p {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced Card Icons */
.card-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 15px var(--shadow-medium);
  transition: all 0.3s ease;
}

.card-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px var(--shadow-medium);
}

.card-icon i {
  font-size: 2rem;
}

/* Product Categories */
.product-category {
  text-align: center;
  padding: 2rem;
}

.category-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 6px 20px var(--shadow-medium);
  transition: all 0.3s ease;
}

.product-category:hover .category-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.product-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  text-align: left;
}

.product-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.product-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-red);
  font-weight: bold;
  transition: all 0.3s ease;
}

.product-list li:hover {
  color: var(--text-primary);
  transform: translateX(5px);
}

.product-list li:hover::before {
  color: var(--brand-red-hover);
  transform: scale(1.2);
}

/* Story Placeholder */
.story-placeholder {
  height: 300px;
  background: var(--bg-tertiary);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 2px dashed var(--border-color);
  transition: all 0.3s ease;
}

.story-placeholder:hover {
  background: var(--bg-secondary);
  border-color: var(--brand-red);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.story-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--brand-red);
  transition: all 0.3s ease;
}

.story-placeholder:hover i {
  transform: scale(1.1);
  color: var(--brand-red-hover);
}

.story-placeholder p {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.story-placeholder small {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Enhanced Typography for Content */
.section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-align: center;
}

.section h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.section p {
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.section p:last-child {
  margin-bottom: 0;
}

/* Content Spacing */
.section .container > .text-center + .grid {
  margin-top: 3rem;
}

.section .grid + .grid {
  margin-top: 3rem;
}

/* Background Variations */
.bg-primary {
  background: var(--bg-primary);
}

.bg-secondary {
  background: var(--bg-secondary);
}

.bg-tertiary {
  background: var(--bg-tertiary);
}

.bg-gradient {
  background: var(--gradient-primary);
  color: white;
}

.bg-gradient h1,
.bg-gradient h2,
.bg-gradient h3,
.bg-gradient h4,
.bg-gradient p {
  color: white;
}

/* Enhanced Cards */
.card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 2px 10px var(--shadow-light);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-medium);
  border-color: var(--brand-red);
}

.card h3,
.card h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

.card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

/* List Styling */
ul, ol {
  margin-bottom: 1rem;
}

ul li, ol li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

/* Enhanced Lists with Icons */
ul.check-list {
  list-style: none;
  padding: 0;
}

ul.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

ul.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-red);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Quote Styling */
blockquote {
  border-left: 4px solid var(--brand-red);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 0.5rem;
  position: relative;
}

blockquote::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 3rem;
  color: var(--brand-red);
  opacity: 0.3;
}

blockquote p {
  margin-bottom: 0;
  font-size: 1.125rem;
  position: relative;
  z-index: 2;
}

/* Image Placeholders */
.image-placeholder {
  background: var(--bg-tertiary);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 2px dashed var(--border-color);
  transition: all 0.3s ease;
  min-height: 200px;
}

.image-placeholder:hover {
  background: var(--bg-secondary);
  border-color: var(--brand-red);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.image-placeholder i {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--brand-red);
  transition: all 0.3s ease;
}

.image-placeholder:hover i {
  transform: scale(1.1);
  color: var(--brand-red-hover);
}

.image-placeholder p {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0;
}

/* Content Grid Enhancements */
.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Section Variations */
.section-hero {
  background: var(--gradient-primary);
  color: white;
  padding: 8rem 0 6rem;
}

.section-hero h1,
.section-hero h2,
.section-hero h3,
.section-hero p {
  color: white;
}

.section-hero .btn-outline {
  color: white;
  border-color: white;
}

.section-hero .btn-outline:hover {
  background: white;
  color: var(--brand-red);
}

.section-dark {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.section-light {
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* Content Animation Classes */
.content-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: contentFadeIn 0.8s ease forwards;
}

.content-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: contentSlideLeft 0.8s ease forwards;
}

.content-slide-right {
  opacity: 0;
  transform: translateX(30px);
  animation: contentSlideRight 0.8s ease forwards;
}

@keyframes contentFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes contentSlideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes contentSlideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Content Adjustments */
@media (max-width: 768px) {
  .page-header {
    padding: 3rem 0;
  }

  .page-header h1 {
    font-size: 2.25rem;
  }

  .content-section {
    padding: 3rem 0;
  }

  .section h2 {
    font-size: 2rem;
  }

  .section h3 {
    font-size: 1.5rem;
  }

  .card {
    padding: 1.5rem;
  }

  .category-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }

  .story-placeholder {
    height: 250px;
  }

  .story-placeholder i {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 2rem 0;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .content-section {
    padding: 2rem 0;
  }

  .section h2 {
    font-size: 1.75rem;
  }

  .section h3 {
    font-size: 1.25rem;
  }

  .card {
    padding: 1rem;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .category-icon {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
  }

  .story-placeholder {
    height: 200px;
  }

  .story-placeholder i {
    font-size: 2.5rem;
  }
}

/* ===== CONTACT PAGE SPECIFIC STYLES ===== */

/* Contact Cards Enhancement */
.contact-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 6px 20px var(--shadow-medium);
  transition: all 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.contact-link {
  color: var(--brand-red);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 0.5rem;
}

.contact-link:hover {
  color: var(--brand-red-hover);
  transform: translateY(-2px);
}

.contact-link address {
  font-style: normal;
  line-height: 1.6;
  margin: 0;
}

/* Enhanced Contact Form */
.contact-form {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 20px var(--shadow-light);
  border: 1px solid var(--border-color);
}

.contact-form h2 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  text-align: left;
}

.contact-form > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(232, 36, 36, 0.1);
  transform: translateY(-1px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.error-message {
  color: #dc3545;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Form Submit Button */
.contact-form .btn {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-medium);
}

/* Map and Location Styles */
.map-placeholder {
  height: 350px;
  background: var(--bg-tertiary);
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 2px dashed var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(232, 36, 36, 0.05) 50%, transparent 60%);
  animation: mapShimmer 3s infinite;
}

@keyframes mapShimmer {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

.map-placeholder:hover {
  background: var(--bg-secondary);
  border-color: var(--brand-red);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.map-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--brand-red);
  z-index: 2;
  position: relative;
}

.map-placeholder p {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  z-index: 2;
  position: relative;
}

.map-placeholder small {
  font-size: 0.875rem;
  z-index: 2;
  position: relative;
}

/* Interactive Map Container */
.map-container {
  position: relative;
  height: 350px;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow-light);
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
}

.map-container:hover {
  box-shadow: 0 8px 25px var(--shadow-medium);
  transform: translateY(-2px);
  border-color: var(--brand-red);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.map-container iframe:hover {
  transform: scale(1.02);
}

/* Map Overlay */
.map-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0.75rem;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: 0 2px 10px var(--shadow-light);
  z-index: 10;
  transition: all 0.3s ease;
}

[data-theme="dark"] .map-overlay {
  background: rgba(45, 45, 45, 0.9);
  color: var(--text-primary);
}

.map-overlay i {
  color: var(--brand-red);
  font-size: 1rem;
}

.map-overlay:hover {
  background: var(--bg-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--shadow-medium);
}

/* Location Details */
.location-details {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--bg-primary);
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
}

.location-details h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.location-details address {
  font-style: normal;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hours-list span {
  color: var(--text-secondary);
}

/* Business Hours Badge */
.hours-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--brand-red);
  color: white;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 1rem;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .map-placeholder {
    height: 250px;
  }

  .location-details {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 1rem;
  }

  .map-placeholder {
    height: 200px;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* ===== FINAL ENHANCEMENTS ===== */

/* Enhanced Visual Hierarchy */
.section:first-of-type {
  margin-top: 2rem;
}

.section:last-of-type {
  margin-bottom: 2rem;
}

/* Better Content Flow */
.content-flow {
  max-width: 800px;
  margin: 0 auto;
}

.content-flow h2 + p {
  margin-top: -0.5rem;
}

.content-flow .grid {
  margin-top: 2rem;
}

/* Card Hover Effects Enhancement */
.card {
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(232, 36, 36, 0.05), rgba(232, 36, 36, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::after {
  opacity: 1;
}

/* Enhanced Button States */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

/* Loading States */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--brand-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Success/Error States */
.success-state {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  margin: 2rem 0;
}

.error-state {
  background: linear-gradient(135deg, #dc3545, #fd7e14);
  color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
  margin: 2rem 0;
}

/* Enhanced Focus States */
*:focus {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .theme-toggle {
    display: none !important;
  }

  body {
    padding-top: 0 !important;
  }

  .section {
    padding: 1rem 0 !important;
  }

  .card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #000000;
    --text-secondary: #333333;
    --border-color: #000000;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Enhanced 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: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--brand-red);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  transition: top 0.3s ease;
}

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

/* Final Responsive Touch-ups */
@media (max-width: 768px) {
  .content-flow {
    padding: 0 1rem;
  }

  .section h2 {
    font-size: 1.875rem;
  }

  .section h3 {
    font-size: 1.5rem;
  }

  /* Map Container Responsive */
  .map-container {
    height: 300px;
  }

  .map-overlay {
    top: 8px;
    right: 8px;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .content-flow {
    padding: 0 0.5rem;
  }

  .section h2 {
    font-size: 1.75rem;
  }

  .section h3 {
    font-size: 1.375rem;
  }

  .card {
    margin-bottom: 1rem;
  }

  /* Map Container Mobile */
  .map-container {
    height: 250px;
    margin: 0 -0.5rem;
    border-radius: 0.5rem;
  }

  .map-container iframe {
    border-radius: 0.5rem;
  }

  .map-overlay {
    top: 5px;
    right: 5px;
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
  }

  .map-overlay span {
    display: none;
  }
}
