/* =================================================================
   VitalTwist - Vintage Retro Design System
   ================================================================= */

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

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

body {
  font-family: 'Courier New', Courier, monospace;
  line-height: 1.7;
  color: #2c1810;
  background-color: #f9f5e8;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(210, 180, 140, 0.05) 2px, rgba(210, 180, 140, 0.05) 4px);
  overflow-x: hidden;
}

/* Vintage Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-weight: 700;
  color: #3d2817;
  letter-spacing: 1px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 0px rgba(244, 164, 96, 0.2);
}

h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 24px;
}

h2 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 20px;
}

h3 {
  font-size: 28px;
  line-height: 1.4;
  margin-bottom: 16px;
}

h4 {
  font-size: 22px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  font-size: 16px;
}

ul, ol {
  margin-bottom: 20px;
  margin-left: 30px;
}

li {
  margin-bottom: 8px;
}

a {
  color: #8b4513;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px dotted #8b4513;
}

a:hover {
  color: #654321;
  border-bottom: 1px solid #654321;
}

strong {
  font-weight: 700;
  color: #3d2817;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Header - Vintage Style */
header {
  background: linear-gradient(180deg, #e8dcc4 0%, #d4c4a8 100%);
  border-bottom: 4px solid #8b4513;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0;
}

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

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

.logo img:hover {
  filter: sepia(0.5) contrast(1.2);
  transform: scale(1.05);
}

/* Main Navigation - Vintage */
.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: #3d2817;
  text-decoration: none;
  padding: 8px 16px;
  border: 2px solid transparent;
  border-bottom: 2px dotted #8b4513;
  background: rgba(244, 164, 96, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a:hover {
  background: #f4a460;
  color: #fff;
  border: 2px solid #8b4513;
  border-bottom: 2px solid #8b4513;
  transform: translateY(-2px);
  box-shadow: 3px 3px 0px #8b4513;
}

.main-nav a:active {
  transform: translateY(0);
  box-shadow: 1px 1px 0px #8b4513;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: #8b4513;
  color: #fff;
  border: 3px solid #654321;
  padding: 12px 18px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-family: 'Georgia', serif;
}

.mobile-menu-toggle:hover {
  background: #654321;
  transform: translateY(-2px);
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #e8dcc4 0%, #d4c4a8 100%);
  z-index: 1000;
  padding: 80px 30px 30px;
  transition: right 0.4s ease;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.3);
  border-left: 4px solid #8b4513;
  overflow-y: auto;
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #8b4513;
  color: #fff;
  border: 3px solid #654321;
  padding: 8px 16px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

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

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

.mobile-nav a {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #3d2817;
  text-decoration: none;
  padding: 12px 16px;
  border: 2px solid #8b4513;
  background: rgba(244, 164, 96, 0.2);
  transition: all 0.3s ease;
  text-align: center;
  border-bottom: 2px solid #8b4513;
}

.mobile-nav a:hover {
  background: #f4a460;
  color: #fff;
  transform: translateX(5px);
  box-shadow: 3px 3px 0px #8b4513;
}

/* Hero Sections - Vintage Retro */
.hero {
  background: linear-gradient(135deg, #d4c4a8 0%, #e8dcc4 50%, #f9f5e8 100%);
  padding: 80px 20px;
  margin-bottom: 60px;
  border: 4px solid #8b4513;
  border-left: none;
  border-right: none;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #3d2817;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 20px;
  color: #5d4037;
  margin-bottom: 32px;
  font-family: 'Georgia', serif;
  font-style: italic;
}

/* Buttons - Vintage Style */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-family: 'Georgia', serif;
  font-weight: 700;
  text-decoration: none;
  border: 3px solid #8b4513;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  border-bottom: none;
}

.btn-primary {
  background: #8b4513;
  color: #fff;
  box-shadow: 5px 5px 0px #654321;
}

.btn-primary:hover {
  background: #654321;
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0px #5d4037;
  border-bottom: none;
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #5d4037;
}

.btn-secondary {
  background: #f4a460;
  color: #3d2817;
  box-shadow: 5px 5px 0px #d2691e;
}

.btn-secondary:hover {
  background: #d2691e;
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0px #cd853f;
  border-bottom: none;
}

/* CTA Buttons Container */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0;
}

/* Trust Elements */
.trust-badges,
.trust-elements,
.quick-filters {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.trust-badges span,
.trust-elements span,
.quick-filters span {
  padding: 10px 20px;
  background: rgba(139, 69, 19, 0.1);
  border: 2px dashed #8b4513;
  font-size: 14px;
  color: #3d2817;
  font-family: 'Georgia', serif;
  box-shadow: 2px 2px 0px rgba(139, 69, 19, 0.2);
}

/* Sections */
.section,
.value-proposition,
.services-overview,
.how-it-works,
.testimonials,
.stats,
.final-cta,
.recipe-categories,
.featured-recipes,
.recipe-features,
.meal-planning-cta,
.philosophy,
.principles,
.macronutrients,
.pricing,
.guarantee,
.story,
.values,
.team,
.impact,
.contact-options,
.contact-form-section,
.consultation,
.office-info,
.team-contacts,
.legal-content,
.next-steps,
.while-you-wait,
.thank-you-hero,
.explore {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.section h2,
.value-proposition h2,
.services-overview h2,
.how-it-works h2,
.testimonials h2,
.stats h2,
.final-cta h2,
.recipe-categories h2,
.featured-recipes h2,
.recipe-features h2,
.meal-planning-cta h2,
.philosophy h2,
.principles h2,
.macronutrients h2,
.pricing h2,
.guarantee h2,
.story h2,
.values h2,
.team h2,
.impact h2,
.contact-options h2,
.contact-form-section h2,
.consultation h2,
.office-info h2,
.team-contacts h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #3d2817;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #5d4037;
  margin-bottom: 40px;
  font-family: 'Georgia', serif;
  font-style: italic;
}

/* Grid Layouts with Flexbox */
.benefits-grid,
.services-grid,
.steps-grid,
.testimonials-grid,
.stats-grid,
.categories-grid,
.recipe-grid,
.features-grid,
.beliefs-grid,
.values-grid,
.team-grid,
.pricing-grid,
.guarantee-grid,
.contact-grid,
.contacts-grid,
.suggestions-grid,
.explore-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 40px;
}

/* Cards - Vintage Styling */
.benefit-card,
.service-card,
.step,
.testimonial-card,
.stat,
.category-card,
.recipe-card,
.feature,
.belief,
.value,
.team-member,
.plan-card,
.guarantee-item,
.contact-option,
.contact-dept,
.suggestion,
.explore-card {
  flex: 1 1 300px;
  max-width: 400px;
  padding: 30px;
  background: #fff8e7;
  border: 3px solid #8b4513;
  box-shadow: 6px 6px 0px rgba(139, 69, 19, 0.3);
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 20px;
}

.benefit-card::before,
.service-card::before,
.category-card::before,
.recipe-card::before,
.feature::before {
  content: '✦';
  position: absolute;
  top: -15px;
  left: 20px;
  font-size: 30px;
  color: #f4a460;
}

.benefit-card:hover,
.service-card:hover,
.category-card:hover,
.recipe-card:hover,
.feature:hover,
.value:hover,
.team-member:hover,
.plan-card:hover,
.guarantee-item:hover,
.explore-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0px rgba(139, 69, 19, 0.4);
}

.benefit-card h3,
.service-card h3,
.category-card h3,
.recipe-card h3,
.feature h3,
.value h3,
.team-member h3,
.plan-card h3,
.guarantee-item h3,
.explore-card h3 {
  color: #3d2817;
  margin-bottom: 16px;
}

.benefit-card p,
.service-card p,
.category-card p,
.recipe-card p,
.feature p,
.value p {
  color: #5d4037;
  line-height: 1.6;
}

/* Service Cards - Pricing */
.service-card.featured,
.plan-card.featured {
  border-color: #f4a460;
  background: linear-gradient(135deg, #fff8e7 0%, #ffe4b5 100%);
  transform: scale(1.02);
}

.badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #8b4513;
  color: #fff;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  border: 2px solid #654321;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
}

.price {
  font-size: 32px;
  font-weight: 700;
  color: #8b4513;
  margin: 20px 0;
  font-family: 'Georgia', serif;
}

.best-for {
  font-style: italic;
  color: #654321;
  margin-top: 16px;
  font-size: 14px;
  border-top: 2px dotted #d2691e;
  padding-top: 12px;
}

/* Steps */
.step {
  text-align: center;
  background: linear-gradient(135deg, #fff8e7 0%, #f9f5e8 100%);
}

.step h3 {
  color: #8b4513;
  font-size: 24px;
  margin-bottom: 16px;
}

/* Testimonials - High Contrast */
.testimonial-card {
  background: #3d2817;
  color: #f9f5e8;
  border-color: #654321;
  font-style: italic;
}

.testimonial-card p {
  color: #f9f5e8;
  font-size: 16px;
  line-height: 1.7;
}

.testimonial-card .author {
  font-weight: 700;
  color: #f4a460;
  margin-top: 20px;
  font-style: normal;
}

.testimonial-card .result {
  color: #d4c4a8;
  font-size: 14px;
  font-style: normal;
}

/* Stats */
.stat {
  text-align: center;
  flex: 1 1 200px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.stat .number {
  font-size: 56px;
  font-weight: 700;
  color: #8b4513;
  margin-bottom: 8px;
  font-family: 'Georgia', serif;
  text-shadow: 3px 3px 0px rgba(244, 164, 96, 0.3);
}

.stat .label {
  font-size: 16px;
  color: #5d4037;
  font-family: 'Georgia', serif;
}

/* Principles & Philosophy */
.principle,
.macro {
  margin-bottom: 32px;
  padding: 24px;
  background: #fff8e7;
  border-left: 6px solid #8b4513;
  box-shadow: 3px 3px 0px rgba(139, 69, 19, 0.2);
}

.principle h3,
.macro h3 {
  color: #8b4513;
  margin-bottom: 12px;
}

/* Pricing Plans */
.plan-card ul {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}

.plan-card li {
  padding: 10px 0;
  border-bottom: 1px dotted #d2691e;
  color: #5d4037;
}

.plan-card li:last-child {
  border-bottom: none;
}

.plan-card li::before {
  content: '✓ ';
  color: #8b4513;
  font-weight: 700;
  margin-right: 8px;
}

/* Contact Forms */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
  background: #fff8e7;
  border: 3px solid #8b4513;
  box-shadow: 6px 6px 0px rgba(139, 69, 19, 0.3);
}

.form-note {
  margin-bottom: 12px;
  color: #3d2817;
  font-weight: 700;
}

.privacy-note {
  font-size: 14px;
  color: #654321;
  margin: 20px 0;
  text-align: center;
}

.privacy-note a {
  color: #8b4513;
  text-decoration: underline;
}

/* Additional Info */
.additional-info,
.flexibility-note,
.guarantee,
.response-time,
.mission {
  text-align: center;
  font-style: italic;
  color: #654321;
  margin-top: 24px;
  padding: 16px;
  background: rgba(244, 164, 96, 0.1);
  border: 2px dashed #d2691e;
}

/* Footer - Vintage */
footer {
  background: linear-gradient(180deg, #3d2817 0%, #2c1810 100%);
  color: #d4c4a8;
  padding: 60px 20px 30px;
  border-top: 4px solid #8b4513;
  margin-top: 80px;
}

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

.footer-info,
.footer-nav,
.footer-legal {
  flex: 1 1 250px;
}

.footer-info p,
.footer-nav a,
.footer-legal a {
  color: #d4c4a8;
  margin-bottom: 12px;
  display: block;
  border-bottom: none;
}

.footer-nav h4,
.footer-legal h4 {
  color: #f4a460;
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: #f4a460;
  transform: translateX(5px);
  border-bottom: 1px solid #f4a460;
}

/* Cookie Consent Banner */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #3d2817 0%, #2c1810 100%);
  color: #f9f5e8;
  padding: 20px;
  z-index: 999;
  border-top: 4px solid #8b4513;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

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

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

.cookie-btn {
  padding: 10px 20px;
  border: 2px solid #8b4513;
  background: #8b4513;
  color: #fff;
  cursor: pointer;
  font-family: 'Georgia', serif;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
}

.cookie-btn:hover {
  background: #654321;
  transform: translateY(-2px);
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.4);
}

.cookie-btn-secondary {
  background: transparent;
  color: #f4a460;
  border-color: #f4a460;
}

.cookie-btn-secondary:hover {
  background: #f4a460;
  color: #fff;
}

/* Cookie Settings Modal */
#cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#cookie-settings-modal.show {
  display: flex;
}

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

.cookie-modal-content h2 {
  color: #3d2817;
  margin-bottom: 24px;
}

.cookie-category {
  margin-bottom: 24px;
  padding: 16px;
  background: #fff8e7;
  border: 2px solid #d2691e;
}

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

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

.cookie-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.cookie-toggle label {
  font-weight: 700;
  color: #3d2817;
  cursor: pointer;
}

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

/* Legal Pages */
.legal-hero {
  background: linear-gradient(135deg, #e8dcc4 0%, #d4c4a8 100%);
  padding: 60px 20px;
  margin-bottom: 40px;
  text-align: center;
  border: 4px solid #8b4513;
  border-left: none;
  border-right: none;
}

.legal-hero h1 {
  margin-bottom: 16px;
}

.last-updated {
  font-style: italic;
  color: #654321;
  margin-top: 12px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  text-align: left;
  margin-top: 40px;
  color: #8b4513;
}

.contact-info,
.contact-cta {
  text-align: center;
  margin-top: 40px;
  padding: 24px;
  background: #fff8e7;
  border: 2px dashed #8b4513;
}

/* Thank You Page */
.thank-you-hero {
  background: linear-gradient(135deg, #d4c4a8 0%, #e8dcc4 50%, #f9f5e8 100%);
  padding: 100px 20px;
  text-align: center;
  border: 4px solid #8b4513;
  border-left: none;
  border-right: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 22px; }
  h4 { font-size: 18px; }
  
  /* Header */
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  /* Hero */
  .hero {
    padding: 60px 20px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  /* Buttons */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
  
  /* Cards */
  .benefit-card,
  .service-card,
  .step,
  .category-card,
  .recipe-card,
  .feature,
  .value,
  .team-member,
  .plan-card,
  .guarantee-item,
  .contact-option,
  .explore-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  /* Stats */
  .stat .number {
    font-size: 40px;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
  }
  
  /* Cookie Consent */
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  /* Form Container */
  .form-container {
    padding: 24px;
  }
  
  /* Mobile Menu Width */
  .mobile-menu {
    width: 100%;
    right: -100%;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 24px; }
  h2 { font-size: 22px; }
  
  .hero {
    padding: 40px 16px;
  }
  
  .section,
  .value-proposition,
  .services-overview,
  .how-it-works,
  .testimonials {
    padding: 32px 16px;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .price {
    font-size: 24px;
  }
  
  .stat .number {
    font-size: 32px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

/* Smooth Animations */
.benefit-card,
.service-card,
.step,
.testimonial-card,
.category-card,
.recipe-card,
.feature,
.value,
.team-member,
.plan-card {
  animation: fadeIn 0.6s ease forwards;
}

/* Print Styles */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  #cookie-consent,
  #cookie-settings-modal,
  header nav,
  .cta-buttons {
    display: none !important;
  }
  
  body {
    background: #fff;
  }
  
  .hero,
  .section {
    border: none;
    box-shadow: none;
  }
}