/* ===========================================================
   Sapna Foods – Modern Responsive Styling
   =========================================================== */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: #f8f5ee;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: #b1271b;
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  color: #8e1f15;
}

/* -------- HEADER -------- */
.header {
  background-color: #b1271b;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

.header .logo {
  width: 120px;
  margin: 0 auto 0.5rem;
}

.header h1 {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* -------- NAVIGATION -------- */
.menu {
  background-color: #222;
}
.menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.menu li {
  margin: 0;
}
.menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: #fff;
  font-weight: 500;
}
.menu a:hover {
  background-color: #b1271b;
}

/* -------- HERO SECTION -------- */
.hero {
  background: url("images/hero.jpg") center/cover no-repeat;
  text-align: center;
  color: white;
  padding: 6rem 1rem;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.hero h2,
.hero p,
.hero .btn {
  position: relative;
  z-index: 2;
}
.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
.hero p {
  max-width: 750px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
.hero .btn {
  background-color: #b1271b;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
}
.hero .btn:hover {
  background-color: #8e1f15;
}

/* -------- ABOUT SECTION -------- */
.about {
  background: #fff;
  border-radius: 10px;
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: 3rem auto;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.about h3 {
  text-align: center;
  color: #b1271b;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}
.about p {
  text-align: center;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* -------- CONTACT SECTION -------- */
.contact {
  background-color: #fffaf2;
  border: 1px solid #e2d7c6;
  border-radius: 10px;
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: 3rem auto;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}
.contact h3 {
  text-align: center;
  color: #b1271b;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}
.contact p {
  text-align: center;
  font-size: 1rem;
  margin: 0.4rem 0;
}
.contact a {
  color: #b1271b;
  font-weight: bold;
}

/* -------- FOOTER -------- */
.footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 3rem 1rem;
}
.footer h4 {
  color: #b1271b;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.footer ul {
  list-style: none;
  margin-bottom: 1.5rem;
}
.footer ul li {
  display: inline-block;
  margin: 0 12px;
}
.footer ul li a {
  color: #fff;
  font-weight: 500;
}
.footer ul li a:hover {
  color: #b1271b;
}
.footer p {
  font-size: 0.9rem;
  color: #bbb;
  margin-top: 0.5rem;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 768px) {
  .header h1 {
    font-size: 1.6rem;
  }

  .menu ul {
    flex-direction: column;
  }

  .menu a {
    padding: 0.8rem 1rem;
    text-align: center;
  }

  .hero {
    padding: 4rem 1rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .about, .contact {
    padding: 2rem 1rem;
  }
}
