/* Base Styles & Variables */
:root {
  --bg-color: #F5F5F7;
  --text-color: #222831;
  --accent-red: #B85042;
  --accent-teal: #7D9D9C;
  --light-gray: #E8E8E8;
  --white: #FFFFFF;
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Merriweather', serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--accent-red);
  transition: var(--transition);
}

a:hover {
  color: var(--accent-teal);
}

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

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navigation */
.navbar .container {
  padding-left: 0;
  margin-left: 0;
  padding-right: 0;
  margin-right: 0;
  width: 100%;
  max-width: 100vw;
}

.nav-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  margin-left: 1.5rem;
  margin-right: auto;
}

.nav-links {
  margin-left: auto;
  margin-right: 1.5rem;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-color);
  margin-right: auto;
  text-align: left;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-red);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background: linear-gradient(135deg, rgba(245, 245, 247, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%), 
              url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0iIzc5ODg4NyIgZmlsbC1vcGFjaXR5PSIwLjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybikiLz48L3N2Zz4=');
  background-size: cover;
  background-position: center;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  animation: fadeInUp 1s ease-out;
}

.subtitle {
  font-size: 1.5rem;
  color: var(--accent-teal);
  margin-bottom: 2.5rem;
  max-width: 700px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* Buttons */
.cta-btn {
  display: inline-block;
  background-color: var(--accent-red);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(184, 80, 66, 0.3);
  animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-btn:hover {
  background-color: var(--accent-teal);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(125, 157, 156, 0.4);
  color: white;
}

/* Fallacy of the Day Section */
.fallacy-day {
  padding: 5rem 0;
  background-color: var(--white);
  text-align: center;
}

/* Mission Section */
.mission {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 6rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.mission-illustration {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mission-text {
  flex: 2;
}

.mission-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-teal);
}

.mission-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--text-color);
  color: var(--bg-color);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: var(--bg-color);
  font-weight: 500;
  position: relative;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-red);
  transition: var(--transition);
}

.footer-nav a:hover::after {
  width: 100%;
}

.did-you-know {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 1.5rem 0;
  max-width: 600px;
  width: 100%;
  text-align: center;
  font-style: italic;
}

.copyright {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .mission {
    flex-direction: column;
    text-align: center;
  }
  
  .mission-illustration {
    margin-bottom: 2rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .subtitle {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Will be toggled by mobile menu */
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .subtitle {
    font-size: 1.1rem;
  }
  
  .cta-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}
