/* CSS Variables for theming */
:root {
  --background: #000000;
  --foreground: #ffffff;
  --secondary: #404040;
  --primary: #D52B1E;
  --text-muted: #a3a3a3;
  --border: #333333;
  --hero-bg: rgb(29, 28, 28);
  --footer-bg: #000000;
  --footer-border: #333333;
  --primary-hover: #b91c1c;
  --card-bg: #232323;
  --card-hover: #2a2a2a;
  --input-bg: #181818;
  --primary-foreground: #ffffff;
}

[data-theme="light"] {
  --background: #ffffff;
  --foreground: #000000;
  --secondary: #f5f5f5;
  --primary: #D52B1E;
  --text-muted: #666666;
  --border: #e5e5e5;
  --hero-bg: #f8f8f8;
  --footer-bg: #f5f5f5;
  --footer-border: #e5e5e5;
  --primary-hover: #b91c1c;
  --card-bg: #f0f0f0;
  --card-hover: #e8e8e8;
  --input-bg: #ffffff;
  --primary-foreground: #ffffff;
}

/* Navigation Styles */
.signup-btn {
  padding: 0.6rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
  transition: all 0.3s ease;
}

.signup-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Main Layout */
.main {
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
}

/* Hero Section */
.about-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  background: var(--hero-bg);
  padding: 4rem 2rem;
  transition: background-color 0.3s ease;
}

.hero-content {
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-icon svg {
  color: var(--foreground);
  transition: color 0.3s ease;
}

.about-hero h1 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Story Section */
.story-section {
  padding: 4rem 2rem;
  background: var(--background);
}

.story-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-content h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 2rem;
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.story-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.story-section .story-image img {
  max-width: 100% !important;
  height: auto !important;
  width: 300px !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.3s ease !important;
  filter: none !important;
  background: none !important;
  object-fit: cover !important;
  border: 2px solid red !important;
}

.story-section .story-image img:hover {
  transform: scale(1.02) !important;
}

/* Values Section */
.values-section {
  padding: 4rem 2rem;
  background: var(--hero-bg);
}

.values-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.values-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: var(--card-hover);
  border-color: var(--primary);
}

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

.value-icon svg {
  color: white;
}

.value-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

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

/* Team Section */
.team-section {
  padding: 4rem 2rem;
  background: var(--background);
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.team-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.team-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.team-member {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: var(--card-hover);
}

.member-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--border);
}

.member-photo svg {
  color: var(--text-muted);
}

.team-member h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.member-role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.member-bio {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Statistics Section */
.stats-section {
  padding: 4rem 2rem;
  background: var(--hero-bg);
}

.stats-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stats-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 3rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  padding: 2rem 1rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Contact CTA Section */
.contact-cta-section {
  padding: 4rem 2rem;
  background: var(--background);
}

.contact-cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-cta-section h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.contact-cta-section p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.primary-button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.primary-button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.secondary-button {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.secondary-button:hover {
  background: var(--card-hover);
  border-color: var(--primary);
}

/* Footer */
.footer {
  padding: 2rem;
  text-align: center;
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }
  
  .subtitle {
    font-size: 1.1rem;
  }
  
  .story-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .story-content h2 {
    font-size: 2rem;
  }
  
  .values-section h2,
  .team-section h2,
  .stats-section h2,
  .contact-cta-section h2 {
    font-size: 2rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .primary-button,
  .secondary-button {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 2rem;
  }
  
  .story-content h2 {
    font-size: 1.8rem;
  }
  
  .values-section,
  .team-section,
  .stats-section,
  .contact-cta-section {
    padding: 3rem 1rem;
  }
  
  .value-card,
  .team-member {
    padding: 2rem 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
