/* 
 * Shar Pei Website - Main Stylesheet
 * Professional CSS Architecture
 * Author: AI Assistant
 * Date: July 2025
 */

/* ==========================================
   TABLE OF CONTENTS
   ==========================================
   1. CSS Variables & Root Configuration
   2. Reset & Base Styles
   3. Typography
   4. Layout Components
   5. Navigation
   6. Hero Carousel
   7. Content Sections
   8. Components
   9. Utilities
   10. Animations
   11. Media Queries
   ========================================== */

/* ==========================================
   1. CSS VARIABLES & ROOT CONFIGURATION
   ========================================== */
:root {
  /* Color Palette */
  --color-primary: #8B4513;
  --color-primary-light: #A0522D;
  --color-primary-dark: #654321;
  --color-secondary: #D2691E;
  --color-secondary-light: #DEB887;
  --color-accent: #F4A460;
  --color-accent-light: #F5DEB3;
  
  /* Neutral Colors */
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-gray-100: #F8F9FA;
  --color-gray-200: #E9ECEF;
  --color-gray-300: #DEE2E6;
  --color-gray-400: #CED4DA;
  --color-gray-500: #ADB5BD;
  --color-gray-600: #6C757D;
  --color-gray-700: #495057;
  --color-gray-800: #343A40;
  --color-gray-900: #212529;
  
  /* Text Colors */
  --color-text-primary: #2C1810;
  --color-text-secondary: #666666;
  --color-text-muted: #8E8E8E;
  --color-text-light: #FFFFFF;
  
  /* Background Colors */
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: #FAF9F7;
  --color-bg-tertiary: #F5F4F2;
  
  /* Spacing Scale */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-4xl: 5rem;     /* 80px */
  --space-5xl: 6rem;     /* 96px */
  
  /* Typography Scale */
  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-md: 1rem;      /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */
  --font-size-6xl: 4rem;     /* 64px */
  
  /* Font Families */
  --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Playfair Display', Georgia, 'Times New Roman', serif;
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  --line-height-loose: 1.8;
  
  /* Border Radius */
  --radius-sm: 0.25rem;   /* 4px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  
  /* Container Sizes */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
}

/* ==========================================
   2. RESET & BASE STYLES
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  overflow-x: hidden;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ==========================================
   3. TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: var(--font-size-6xl);
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: var(--font-size-5xl);
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
}

h4 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-md);
}

h5 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-sm);
}

h6 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

.text-lead {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-relaxed);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-light {
  color: var(--color-text-light);
}

/* ==========================================
   4. LAYOUT COMPONENTS
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--space-lg);
}

/* Navigation spacing fix */
.navbar-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-5xl) 0;
}

.section-sm {
  padding: var(--space-4xl) 0;
}

.section-lg {
  padding: var(--space-5xl) 0 var(--space-5xl);
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.gap-xl {
  gap: var(--space-xl);
}

/* ==========================================
   5. BUTTONS & INTERACTIVE ELEMENTS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--font-size-lg);
}

.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-sm);
}

/* ==========================================
   6. CARDS & CONTENT BLOCKS
   ========================================== */
.card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-body {
  padding: var(--space-xl);
}

.card-header {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--color-gray-200);
}

.card-footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--color-gray-200);
  background: var(--color-gray-100);
}

/* ==========================================
   7. UTILITIES
   ========================================== */
.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;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }
.mb-6 { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }
.mt-6 { margin-top: var(--space-2xl); }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* ==========================================
   8. ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease-out;
}

/* ==========================================
   9. FOCUS & ACCESSIBILITY
   ========================================== */
*:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px;
  border-radius: var(--radius-md);
  text-decoration: none;
  z-index: var(--z-modal);
}

.skip-link:focus {
  top: 6px;
}

/* ==========================================
   10. MAIN CONTENT STYLES
   ========================================== */

/* Main Content Areas */
main {
  margin-top: 80px; /* Space for fixed header */
}

.content-section {
  padding: var(--space-5xl) 0;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.content-section.alt-bg {
  background: var(--color-bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-header h2 {
  font-size: var(--font-size-4xl);
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.section-header p {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
}

.text-content h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.text-content p {
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-md);
}

.text-content ul {
  margin: var(--space-lg) 0;
  padding-left: var(--space-xl);
}

.text-content li {
  margin-bottom: var(--space-sm);
  list-style: disc;
}

.image-content {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  padding: var(--space-md);
  background: var(--color-gray-100);
  font-size: var(--font-size-sm);
  font-style: italic;
  color: var(--color-text-muted);
  text-align: center;
}

/* Footer */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-section h3,
.footer-section h4 {
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: var(--space-sm);
}

.footer-section a {
  color: var(--color-accent-light);
  text-decoration: none;
  transition: color var(--transition-normal);
}

.footer-section a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-lg);
  text-align: center;
  color: var(--color-accent-light);
}

/* Expert Advice */
.expert-advice {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  padding: var(--space-4xl);
  border-radius: var(--radius-2xl);
  margin: var(--space-4xl) 0;
  text-align: center;
}

.expert-advice h3 {
  color: var(--color-white);
  margin-bottom: var(--space-xl);
}

.expert-advice blockquote {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-accent);
  margin: 0;
  font-style: italic;
  color: var(--color-white);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
}

.expert-advice cite {
  display: block;
  margin-top: var(--space-lg);
  font-size: var(--font-size-md);
  color: var(--color-accent-light);
  font-style: normal;
  font-weight: var(--font-weight-semibold);
}

/* Features List */
.features-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.feature {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
}

.feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(8px);
}

/* CTA Button */
.cta-button {
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  color: var(--color-white);
  padding: var(--space-lg) var(--space-2xl);
  border: none;
  border-radius: var(--radius-full);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-xl);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.cta-button:active {
  transform: translateY(0);
}

/* Health and Breeding Sections */
.health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-4xl);
}

.health-card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border-left: 4px solid var(--color-primary);
}

.health-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.health-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-lg);
  display: block;
}

.health-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-xl);
}

.health-card p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-lg);
}

.prevention {
  background: var(--color-bg-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-secondary);
}

.prevention strong {
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-sm);
}

/* Health Tips */
.health-tips {
  margin-top: var(--space-4xl);
  text-align: center;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.tip {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.tip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tip strong {
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-sm);
}

/* Breeding Sections */
.breeding-sections {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xl);
}

.breeding-section {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.breeding-section h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
  font-size: var(--font-size-2xl);
  text-align: center;
  border-bottom: 2px solid var(--color-accent-light);
  padding-bottom: var(--space-lg);
}

.advice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.advice-item {
  background: var(--color-bg-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-primary);
  transition: all var(--transition-normal);
}

.advice-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.advice-item h4 {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-lg);
}

/* Feeding Schedule */
.feeding-schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.age-group {
  background: linear-gradient(135deg, var(--color-bg-primary), var(--color-accent-light));
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.age-group:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.age-group h4 {
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-xl);
}

.age-group ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.age-group li {
  background: var(--color-white);
  padding: var(--space-md);
  margin: var(--space-sm) 0;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-secondary);
}

/* Care Routine */
.care-routine {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.daily-care, .weekly-care, .monthly-care {
  background: linear-gradient(135deg, var(--color-white), var(--color-bg-secondary));
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.daily-care h4, .weekly-care h4, .monthly-care h4 {
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  text-align: center;
  font-size: var(--font-size-lg);
}

.daily-care ul, .weekly-care ul, .monthly-care ul {
  list-style: none;
  padding: 0;
}

.daily-care li, .weekly-care li, .monthly-care li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-gray-200);
}

.daily-care li:last-child, .weekly-care li:last-child, .monthly-care li:last-child {
  border-bottom: none;
}

/* Training Tips */
.training-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.tip-category {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.tip-category:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.tip-category h4 {
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-lg);
  text-align: center;
  border-bottom: 1px solid var(--color-accent-light);
  padding-bottom: var(--space-md);
}

.tip-category ul {
  list-style: none;
  padding: 0;
}

.tip-category li {
  background: var(--color-bg-secondary);
  padding: var(--space-md);
  margin: var(--space-sm) 0;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-accent);
}

/* Special Considerations */
.special-considerations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.consideration {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--color-secondary);
  transition: all var(--transition-normal);
}

.consideration:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.consideration h4 {
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-lg);
}

.consideration p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* Navigation Active State */
.nav-link.active {
  color: var(--color-primary) !important;
  font-weight: var(--font-weight-semibold);
}

.nav-link.active::after {
  width: 100% !important;
}

/* ==========================================
   11. RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: var(--font-size-4xl); }
  h2 { font-size: var(--font-size-3xl); }
  h3 { font-size: var(--font-size-2xl); }
  
  .section-header h2 {
    font-size: var(--font-size-3xl);
  }

  /* Spacing */
  .content-section {
    padding: var(--space-3xl) 0;
  }

  /* Content Grid */
  .content-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .content-image {
    order: -1;
  }
}

@media (max-width: 480px) {
  .health-card,
  .age-group,
  .tip-category {
    padding: var(--space-lg);
  }
}

/* ==========================================
   11. PRINT STYLES
   ========================================== */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  img {
    page-break-inside: avoid;
  }

  h2,
  h3,
  p {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  .carousel-controls,
  .hamburger,
  .carousel-btn {
    display: none !important;
  }
}
