/*
Theme Name: Bholenath Foods Centre
Description: Modern, content-rich homepage for a charitable food trust in Bulandshahr.
*/

:root {
  --primary: #2b7a78;
  --secondary: #3aafa9;
  --accent: #def2f1;
  --neutral: #f6f6f6;
  --dark: #17252a;
  --text: #222;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--neutral);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  margin: 3rem 0;
}

h1, h2, h3 {
  color: var(--dark);
  margin-top: 0;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(43,122,120,0.08);
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(43,122,120,0.15);
}
.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--primary);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(58,175,169,0.15);
}

/* Hero Section */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: var(--accent);
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 380px;
  margin-top: 2rem;
  box-shadow: 0 4px 24px rgba(43,122,120,0.08);
}
.hero-content {
  flex: 1 1 350px;
  padding: 2.5rem 2rem;
}
.hero-content h1 {
  color: var(--primary);
}
.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.hero-image {
  flex: 1 1 300px;
  min-width: 280px;
  max-width: 480px;
  overflow: hidden;
  height: 100%;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 1.5rem 1.5rem 0;
}

/* About Section */
.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.about-text {
  flex: 2 1 320px;
}
.about-image {
  flex: 1 1 260px;
  min-width: 220px;
}
.about-image img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(43,122,120,0.09);
}

/* Services Section */
.services {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(43,122,120,0.06);
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.5rem;
}
.service-card {
  flex: 1 1 220px;
  background: var(--accent);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 8px rgba(43,122,120,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.service-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 6px 24px rgba(43,122,120,0.13);
}
.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(43,122,120,0.10);
}

/* Gallery Section */
.gallery {
  background: var(--accent);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(43,122,120,0.06);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.gallery-grid img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  height: 180px;
  box-shadow: 0 2px 8px rgba(43,122,120,0.09);
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(43,122,120,0.13);
}

/* Testimonials Section */
.testimonials {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(43,122,120,0.06);
}
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.5rem;
}
.testimonial-card {
  flex: 1 1 220px;
  background: var(--accent);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 8px rgba(43,122,120,0.07);
  font-style: italic;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 6px 24px rgba(43,122,120,0.13);
}
.testimonial-card span {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--primary);
  font-weight: 600;
}

/* Stats Section */
.stats {
  margin: 3rem 0 2rem 0;
}
.stats-grid {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  background: var(--secondary);
  border-radius: 1rem;
  padding: 2rem 1rem;
  color: #fff;
}
.stat {
  text-align: center;
}
.stat h3 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.stat p {
  margin: 0;
  font-size: 1.1rem;
}

/* CTA Section */
.cta {
  background: var(--primary);
  color: #fff;
  border-radius: 1.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(43,122,120,0.08);
}
.cta h2 {
  color: #fff;
}
.cta-contact {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.cta-contact a {
  color: #fff;
  text-decoration: underline;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.77,0,.18,1), transform 0.7s cubic-bezier(.77,0,.18,1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .hero, .about {
    flex-direction: column;
    text-align: center;
  }
  .hero-image, .about-image {
    max-width: 100%;
    border-radius: 0 0 1.5rem 1.5rem;
  }
  .hero-content, .about-text {
    padding: 2rem 0.5rem;
  }
}
@media (max-width: 700px) {
  .services-grid, .testimonials-grid, .stats-grid {
    flex-direction: column;
    gap: 1.2rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  main {
    padding: 0 0.5rem;
  }
  section {
    margin: 2rem 0;
  }
}
