/* Enhanced Styles for Yallamap Homepage - Using Original Colors */

/* Hero Section */
.hero-content {
  text-align: center;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #222;
  font-weight: 700;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.button-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 15px 25px;
  background: #222;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.btn:hover {
  background: #000;
  transform: translateY(-1px);
}

.btn.primary {
  background: #222;
}

.btn.primary:hover {
  background: #000;
}

.btn.secondary {
  background: #222;
}

.btn.secondary:hover {
  background: #000;
}

.btn.large {
  padding: 18px 35px;
  font-size: 1.1rem;
}

/* Features Section */
.features-section {
  padding: 80px 20px;
  background: #f9f9f7;
}

.features-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #222;
  font-weight: 700;
}

.section-intro-card {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin: 0 auto 50px;
  max-width: 800px;
  text-align: center;
}

.section-intro-card p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.feature-card h3 {
  color: #222;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-card p {
  color: #555;
  line-height: 1.6;
  font-size: 1rem;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 20px;
  background: #f9f9f7;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #222;
  font-weight: 700;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: 30px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
  transition: all 0.2s ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: #222;
  color: white;
  border-radius: 50%;
  line-height: 60px;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.step h3 {
  color: #222;
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.step p {
  color: #555;
  line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
  padding: 80px 20px;
  background: #f9f9f7;
  color: #222;
}

.benefits-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  font-weight: 700;
  color: #222;
}

.benefits-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-text {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.benefit-text h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: #222;
  font-weight: 600;
}

.benefit-text ul {
  list-style: none;
  padding: 0;
}

.benefit-text li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
  background: #f5f5f5;
  padding: 15px 15px 15px 40px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.benefit-text li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 15px;
  color: #222;
  font-weight: bold;
  font-size: 1.2rem;
}

.benefit-text strong {
  color: #222;
}

/* Statistics Section */
.stats-section {
  padding: 80px 20px;
  background: #f9f9f7;
}

.stats-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #222;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: white;
  color: #222;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* FAQ Section */
.faq-section {
  padding: 80px 20px;
  background: #f9f9f7;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #222;
  font-weight: 700;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-container details {
  background: white;
  margin-bottom: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-container details:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.faq-container summary {
  padding: 25px 30px;
  background: #f5f5f5;
  color: #222;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.2s ease;
  border-bottom: 1px solid #eee;
}

.faq-container summary:hover {
  background: #eeeeee;
}

.faq-container details[open] summary {
  background: #e8e8e8;
}

.faq-container p {
  padding: 25px 30px;
  line-height: 1.7;
  color: #555;
  margin: 0;
  background: white;
}

/* Call to Action Section */
.cta-section {
  padding: 80px 20px;
  background: #f9f9f7;
  color: #222;
  text-align: center;
}

.cta-content-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #222;
}

.cta-section p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: #555;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Enhanced Footer */
.footer {
  background: #f9f9f7;
  color: #222;
  padding: 60px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.footer-section {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.footer-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.footer-section h3 {
  color: #222;
  margin-bottom: 20px;
  font-size: 1.3rem;
  font-weight: 600;
  border-bottom: 2px solid #f5f5f5;
  padding-bottom: 10px;
}

.footer-section p {
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
}

.footer-section li:last-child {
  border-bottom: none;
}

.footer-section li:hover {
  background: #f8f8f8;
  padding-left: 10px;
  border-radius: 8px;
}

.footer-section a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: #222;
  font-weight: 500;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #f5f5f5;
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s ease;
  color: #555;
  font-weight: 600;
  font-size: 0.9rem;
}

.social-links a:hover {
  background: #222;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.footer-bottom {
  border-top: 1px solid #e0e0e0;
  padding-top: 30px;
  text-align: center;
  background: white;
  margin: 0 auto;
  max-width: 1200px;
  border-radius: 20px;
  padding: 30px 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.footer-bottom p {
  margin: 8px 0;
  color: #777;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-bottom p:first-child {
  color: #555;
  font-weight: 500;
}

/* Remove any yellow backgrounds or highlights */
.footer-section *,
.footer-bottom * {
  background-color: inherit !important;
}

.footer-section li {
  background: transparent;
}

.footer-section li:hover {
  background: #f8f8f8 !important;
}

/* Content Cards for Text Organization */
.content-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.content-card h3 {
  color: #222;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.content-card p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.content-card ul {
  color: #555;
  line-height: 1.6;
}

.content-card ul li {
  margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
    padding: 20px;
  }
  
  .button-group {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
  }
  
  .benefits-content {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px;
  }
  
  .footer-section {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card,
  .step,
  .benefit-text,
  .content-card {
    padding: 20px;
  }
  
  .cta-section h2 {
    font-size: 2rem;
  }
  
  .cta-content-card {
    padding: 25px;
  }
}
