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

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.7;
  color: #3B2816;
  background-color: #F5EFE6;
  overflow-x: hidden;
}

/* Vintage Retro Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: #2A1810;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

h1 {
  font-size: 48px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-size: 36px;
  line-height: 1.3;
  text-transform: uppercase;
}

h3 {
  font-size: 24px;
  line-height: 1.4;
}

p {
  margin-bottom: 16px;
  color: #4A3728;
}

a {
  color: #8B4513;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #D2691E;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 8px;
  color: #4A3728;
}

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

/* Header Styles - Vintage Design */
header {
  background: linear-gradient(180deg, #D4A574 0%, #C89B5F 100%);
  border-bottom: 4px solid #8B4513;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100% !important;
}

.logo {
  height: 60px;
  width: auto;
  filter: sepia(0.3) contrast(1.1);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Main Navigation - Desktop */
.main-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.main-nav a {
  color: #2A1810;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #8B4513;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.main-nav a:hover::before {
  width: 80%;
}

.main-nav a:hover {
  color: #8B4513;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: #8B4513;
  color: #F5EFE6;
  border: 3px solid #5D2E0F;
  padding: 12px 20px;
  font-size: 28px;
  cursor: pointer;
  border-radius: 4px;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: #A0522D;
  transform: scale(1.05);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(180deg, #D4A574 0%, #C89B5F 100%);
  z-index: 1999;
  padding: 80px 30px 30px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.4);
  transition: right 0.4s ease;
  overflow-y: auto;
  border-left: 4px solid #8B4513;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #8B4513;
  color: #F5EFE6;
  border: 3px solid #5D2E0F;
  padding: 8px 16px;
  font-size: 28px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: #A0522D;
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  color: #2A1810;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px;
  border: 2px solid #8B4513;
  border-radius: 4px;
  background: rgba(245, 239, 230, 0.8);
  transition: all 0.3s ease;
  text-align: center;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #8B4513;
  color: #F5EFE6;
  transform: translateX(8px);
}

/* Hero Section - Vintage Style */
.hero {
  background: linear-gradient(135deg, #C89B5F 0%, #D4A574 50%, #E8D4B8 100%);
  padding: 80px 20px;
  text-align: center;
  border-bottom: 4px solid #8B4513;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 69, 19, 0.05) 2px, rgba(139, 69, 19, 0.05) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(139, 69, 19, 0.05) 2px, rgba(139, 69, 19, 0.05) 4px);
  pointer-events: none;
}

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

.hero h1 {
  color: #2A1810;
  margin-bottom: 24px;
  text-shadow: 3px 3px 0 rgba(139, 69, 19, 0.2);
}

.hero-subtitle {
  font-size: 20px;
  color: #4A3728;
  max-width: 800px;
  margin: 0 auto 40px;
  font-style: italic;
}

/* Buttons - Retro Style */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid;
  font-family: 'Courier New', monospace;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  position: relative;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: #8B4513;
  color: #F5EFE6;
  border-color: #5D2E0F;
}

.btn-primary:hover {
  background: #A0522D;
  color: #FFF;
}

.btn-secondary {
  background: #D2691E;
  color: #F5EFE6;
  border-color: #A0522D;
}

.btn-secondary:hover {
  background: #E8833E;
  color: #FFF;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Section Styles */
section {
  padding: 60px 20px;
  margin-bottom: 0;
}

section:nth-child(even) {
  background: #EDE4D6;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #5D4E37;
  max-width: 700px;
  margin: 0 auto 40px;
  font-style: italic;
}

/* Grid Layouts - Flexbox Only */
.values-grid,
.services-grid,
.benefits-grid,
.stats-grid,
.testimonials-grid,
.team-grid,
.posts-grid,
.workshops-grid,
.options-grid,
.resources-grid,
.suggestions-grid,
.categories-nav,
.age-groups,
.schedule-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 40px;
}

/* Card Styles - Vintage Design */
.value-card,
.service-card,
.benefit-item,
.stat-item,
.testimonial-card,
.team-member,
.post-card,
.workshop-card,
.option-card,
.resource-card,
.suggestion-card,
.program-card,
.age-group,
.schedule-day {
  background: #F5EFE6;
  padding: 28px;
  border: 3px solid #8B4513;
  border-radius: 4px;
  box-shadow: 6px 6px 0 rgba(139, 69, 19, 0.2);
  transition: all 0.3s ease;
  flex: 1 1 calc(50% - 24px);
  min-width: 280px;
  position: relative;
  margin-bottom: 20px;
}

.value-card::before,
.service-card::before,
.option-card::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px dashed #D2691E;
  pointer-events: none;
}

.value-card:hover,
.service-card:hover,
.post-card:hover,
.workshop-card:hover,
.option-card:hover,
.resource-card:hover,
.suggestion-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 rgba(139, 69, 19, 0.2);
}

.service-card h3,
.program-card h2 {
  color: #8B4513;
  margin-bottom: 12px;
  font-size: 22px;
}

.age,
.program-age {
  display: inline-block;
  background: #D2691E;
  color: #F5EFE6;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  border: 2px solid #A0522D;
}

.price,
.program-price,
.workshop-price,
.camp-price {
  font-size: 24px;
  color: #8B4513;
  font-weight: 700;
  margin-top: 16px;
  font-family: 'Courier New', monospace;
}

/* Testimonials - High Contrast for Readability */
.testimonial-card {
  background: #FFFBF5;
  border-left: 6px solid #D2691E;
  padding: 32px;
  flex: 1 1 100%;
}

.quote {
  font-size: 18px;
  font-style: italic;
  color: #2A1810;
  margin-bottom: 16px;
  line-height: 1.7;
}

.author {
  font-weight: 700;
  color: #8B4513;
  font-size: 16px;
  text-align: right;
}

.testimonial-card.featured {
  border: 4px solid #8B4513;
  box-shadow: 8px 8px 0 rgba(139, 69, 19, 0.2);
}

/* Stats Section */
.stats {
  background: #D4A574;
  border-top: 4px solid #8B4513;
  border-bottom: 4px solid #8B4513;
}

.stat-item {
  text-align: center;
  flex: 1 1 calc(25% - 24px);
  min-width: 200px;
  background: #F5EFE6;
}

.stat-number {
  font-size: 48px;
  color: #8B4513;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  margin-bottom: 8px;
}

/* Benefits Grid */
.benefit-item {
  background: #FFFBF5;
  padding: 20px;
  text-align: center;
  font-weight: 600;
  color: #2A1810;
  flex: 1 1 calc(50% - 24px);
  min-width: 220px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #D2691E 0%, #CD853F 100%) !important;
  text-align: center;
  padding: 80px 20px;
  border-top: 4px solid #8B4513;
  border-bottom: 4px solid #8B4513;
}

.cta-section h2 {
  color: #F5EFE6;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section p {
  color: #FFFBF5;
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 32px;
}

/* Program Cards */
.program-card {
  flex: 1 1 100%;
  background: #FFFBF5;
  margin-bottom: 40px;
}

.program-duration,
.camp-dates,
.workshop-date {
  font-style: italic;
  color: #5D4E37;
  margin-bottom: 16px;
}

.program-card ul,
.achievements-list,
.tips-list {
  list-style: none;
  margin-left: 0;
}

.program-card ul li,
.achievements-list li,
.tips-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
}

.program-card ul li::before,
.achievements-list li::before,
.tips-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #D2691E;
  font-weight: 700;
  font-size: 18px;
}

/* Featured Camp */
.featured-camp {
  background: #FFFBF5;
  border: 4px solid #8B4513;
  padding: 40px;
  border-radius: 4px;
  position: relative;
  margin-bottom: 40px;
}

.camp-badge {
  position: absolute;
  top: -15px;
  left: 40px;
  background: #D2691E;
  color: #F5EFE6;
  padding: 8px 24px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 3px solid #8B4513;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.spots-note {
  background: #FFE4B5;
  padding: 16px;
  border-left: 4px solid #D2691E;
  margin-top: 20px;
  font-weight: 600;
  color: #2A1810;
}

/* Age Guide */
.age-group {
  flex: 1 1 calc(50% - 24px);
  min-width: 280px;
  background: #FFFBF5;
}

.age-group h3 {
  color: #8B4513;
  border-bottom: 3px solid #D2691E;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

/* Blog Categories */
.categories-nav {
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.category-link {
  padding: 12px 24px;
  background: #F5EFE6;
  border: 2px solid #8B4513;
  border-radius: 4px;
  color: #2A1810;
  font-weight: 600;
  transition: all 0.3s ease;
}

.category-link:hover,
.category-link.active {
  background: #8B4513;
  color: #F5EFE6;
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

/* Post Cards */
.post-card {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
}

.post-excerpt {
  color: #4A3728;
  margin-bottom: 16px;
}

.post-meta {
  font-size: 14px;
  color: #8B4513;
  font-style: italic;
}

/* Contact Page */
.location-info {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.info-block {
  flex: 1 1 calc(33.333% - 40px);
  min-width: 250px;
  background: #FFFBF5;
  padding: 24px;
  border: 3px solid #8B4513;
  border-radius: 4px;
}

.info-block h3 {
  color: #8B4513;
  border-bottom: 2px solid #D2691E;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.note {
  font-size: 14px;
  font-style: italic;
  color: #5D4E37;
  margin-top: 8px;
}

/* Form Styles */
.form-note {
  background: #FFE4B5;
  padding: 24px;
  border: 3px solid #D2691E;
  border-radius: 4px;
  margin: 32px auto;
  max-width: 700px;
}

.form-note p {
  color: #2A1810;
  margin-bottom: 16px;
}

/* Thank You Page */
.thank-you-hero {
  background: linear-gradient(135deg, #90EE90 0%, #98FB98 100%);
}

.success-icon {
  font-size: 80px;
  color: #228B22;
  margin-bottom: 24px;
}

.steps-list {
  list-style: none;
  counter-reset: step-counter;
  max-width: 600px;
  margin: 0 auto;
}

.steps-list li {
  counter-increment: step-counter;
  padding-left: 60px;
  position: relative;
  margin-bottom: 24px;
  color: #2A1810;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: #8B4513;
  color: #F5EFE6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  border: 3px solid #5D2E0F;
}

/* Mission/Vision Section */
.mission-vision .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mission,
.vision {
  background: #FFFBF5;
  padding: 32px;
  border: 3px solid #8B4513;
  border-radius: 4px;
  box-shadow: 6px 6px 0 rgba(139, 69, 19, 0.2);
}

.mission h2,
.vision h2 {
  color: #8B4513;
  border-bottom: 3px solid #D2691E;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

/* Story Section */
.story p {
  max-width: 800px;
  margin: 0 auto 24px;
  font-size: 18px;
  line-height: 1.8;
}

/* Footer - Vintage Style */
footer {
  background: linear-gradient(180deg, #8B4513 0%, #654321 100%);
  color: #F5EFE6;
  padding: 60px 20px 20px;
  border-top: 4px solid #5D2E0F;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1 1 calc(25% - 40px);
  min-width: 220px;
}

.footer-section h3 {
  color: #F5EFE6;
  border-bottom: 2px solid #D2691E;
  padding-bottom: 12px;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-section p,
.footer-section a {
  color: #E8D4B8;
  line-height: 1.8;
}

.footer-logo {
  height: 50px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  padding: 8px 0;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  padding-left: 12px;
}

.footer-nav a:hover {
  border-left-color: #D2691E;
  padding-left: 16px;
  color: #FFE4B5;
}

.copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 2px solid rgba(212, 165, 116, 0.3);
  color: #D4A574;
  font-size: 14px;
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #654321;
  color: #F5EFE6;
  padding: 24px;
  z-index: 1500;
  border-top: 4px solid #8B4513;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.cookie-text {
  flex: 1 1 400px;
  color: #E8D4B8;
}
.cookie-text p {
    color: #E8D4B8;

}
.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  padding: 12px 24px;
  font-size: 14px;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(42, 24, 16, 0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-modal.show {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal-content {
  background: #F5EFE6;
  padding: 40px;
  border-radius: 4px;
  border: 4px solid #8B4513;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
}

.cookie-modal h2 {
  color: #8B4513;
  margin-bottom: 24px;
}

.cookie-category {
  background: #FFFBF5;
  padding: 20px;
  border: 2px solid #D2691E;
  border-radius: 4px;
  margin-bottom: 16px;
}

.cookie-category h3 {
  color: #8B4513;
  margin-bottom: 12px;
  font-size: 18px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.cookie-toggle input[type="checkbox"] {
  width: 50px;
  height: 26px;
  appearance: none;
  background: #D4A574;
  border: 2px solid #8B4513;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-toggle input[type="checkbox"]::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: #F5EFE6;
  border-radius: 50%;
  top: 1px;
  left: 2px;
  transition: all 0.3s ease;
  border: 2px solid #8B4513;
}

.cookie-toggle input[type="checkbox"]:checked {
  background: #228B22;
}

.cookie-toggle input[type="checkbox"]:checked::before {
  left: 24px;
}

.cookie-toggle input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Legal Content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-content h2 {
  color: #8B4513;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 3px solid #D2691E;
  padding-bottom: 12px;
}

.legal-content ul,
.legal-content ol {
  background: #FFFBF5;
  padding: 24px 24px 24px 48px;
  border-left: 4px solid #D2691E;
  margin-bottom: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  
  .value-card,
  .service-card,
  .stat-item,
  .post-card,
  .age-group {
    flex: 1 1 calc(50% - 24px);
  }
}

@media (max-width: 768px) {
  /* Mobile Menu Active */
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  /* Typography */
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  
  /* Hero */
  .hero {
    padding: 60px 20px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  /* Sections */
  section {
    padding: 40px 20px;
  }
  
  /* Cards Full Width on Mobile */
  .value-card,
  .service-card,
  .benefit-item,
  .stat-item,
  .testimonial-card,
  .team-member,
  .post-card,
  .workshop-card,
  .option-card,
  .resource-card,
  .suggestion-card,
  .age-group,
  .info-block {
    flex: 1 1 100%;
  }
  
  /* Footer */
  .footer-section {
    flex: 1 1 100%;
  }
  
  /* CTA Buttons Stack */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  /* Cookie Consent */
  .cookie-consent .container {
    flex-direction: column;
  }
  
  .cookie-buttons {
    width: 100%;
  }
  
  .cookie-buttons .btn {
    flex: 1;
  }
  
  /* Categories Nav */
  .categories-nav {
    flex-direction: column;
  }
  
  .category-link {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  
  .hero {
    padding: 40px 16px;
  }
  
  section {
    padding: 32px 16px;
  }
  
  .btn {
    padding: 14px 28px;
    font-size: 16px;
  }
  
  .mobile-menu {
    width: 90%;
  }
  
  .cookie-modal-content {
    padding: 24px;
  }
}

/* Print Styles */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-consent,
  .cookie-modal {
    display: none !important;
  }
}