body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #222;
}


/* Navbar container */
.navbar {
  background: grey;
  height: 70px;
  padding: 0 30px;
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;

  
}



/* Logo */
.logo {
  color:black;
  font-size: 26px;
  margin: 0;
}

/* Menu links */
.nav-center {
  display: flex;
  gap: 30px;
  margin-top: 6px;  
 
         /* moves nav content slightly down */
}

.nav-center a {
  color:#fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  background-color: #e63946;
  border-radius: 10px;
  padding: 10px;
}
.nav-center a:hover {
  color: yellow;
}


/* Search box */
.search-box {
  position: relative;
  margin-top: 6px;          /*align with menu */
}

.search-box input {
  height: 36px;
  width: 200px;
  padding: 0 38px 0 14px;
  border-radius: 20px;
  border: none;
  outline: none;
  font-size: 14px;
}

/* Search icon */
.search-box i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 14px;
  cursor: pointer;
}





.hero {
  padding: 80px 40px;
  text-align: center;
  background: #f5f5f5;
}

.hero button {
  background: #c62828;
  color: white;
  border: none;
  padding: 12px 25px;
  cursor: pointer;
}

/*search Bar*/

.search-container {
  position: relative;
  max-width: 400px;
  margin: 20px auto; /* center horizontally */
  margin-right: 40px;
  
}

.search {
  width: 50%;
  padding: 5px 5px 5px 5px; /* space for the icon */
  border: 1px solid #ccc;
  border-radius: 25px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search:focus {
  border-color: #e63946;
  box-shadow: 0 0 5px rgba(230, 57, 70, 0.5);
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 18px;
  pointer-events: none; /* so clicks go to input */
}



.home-carousel {
  padding: 50px 40px;
  background: #f8f9fa;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #111;
}
/*carousel*/
 
 .carousel-container {
      position: relative;
      display: flex;
      align-items: center;
      padding: 30px 50px;
    }

    .carousel-track {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      scroll-behavior: smooth;
      width: 100%;
    }

    .carousel-track::-webkit-scrollbar {
      display: none;
    }

    /* PRODUCT CARD */
    .product-card {
      min-width: 230px;
      background: #f5f5f5;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transition: transform 0.3s;
    }

    .product-card:hover {
      transform: translateY(-5px);
    }

    .product-card img {
      width: 100%;
      height: 280px;
      object-fit: cover;
    }

    .product-name {
      padding: 12px;
      text-align: center;
      font-weight: bold;
      background: #333;
      color: #fff;
    }

    /* NAV BUTTONS */
    .nav-btn {
      position: absolute;
      background: #c62828;
      color: #fff;
      border: none;
      font-size: 26px;
      width: 45px;
      height: 45px;
      border-radius: 50%;
      cursor: pointer;
      z-index: 10;
    }

    .nav-btn.left {
      left: 10px;
    }

    .nav-btn.right {
      right: 10px;
    }

    .nav-btn:hover {
      background: #a81f1f;
    }


/* Navigation buttons */
.nav-btn {
  
    position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background:black;
  border: none;
  font-size: 26px;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 10;   /* FIX */
}

.nav-btn.left {
  left: -15px;
}

.nav-btn.right {
  right: -15px;
}

.nav-btn:hover {
  background: #c62828;
  color: white;
}
/* about */
.about-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.about-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.about-left {
  flex: 1;
  min-width: 300px;
}

.about-left h2 {
  font-size: 28px;
  color: #c62828;
  margin-bottom: 15px;
}

.about-left p {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 15px;
}

.about-right {
  flex: 1;
  min-width: 280px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.about-card {
  background: #ffffff;
  padding: 18px;
  border-left: 5px solid #c62828;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.about-card h3 {
  font-size: 16px;
  color: #222;
  margin-bottom: 5px;
}

.about-card p {
  font-size: 14px;
  color: #555;
}

/* ===== COMMON HEADING STYLE ===== */
.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  padding-left: 15px;
}

/* ===== PRODUCTS HEADING ===== */
.products-title {
  color: #c62828;
}

.products-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background: #c62828;
  border-radius: 5px;
}

/* ===== ABOUT HEADING ===== */
.about-title {
  color: #2e7d32;
}

.about-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(to right, #2e7d32, #81c784);
  margin-top: 6px;
  border-radius: 4px;
}

/* ===== CONTACT HEADING ===== */
.contact-title {
  color: #1565c0;
  margin-left: 500px;
}

.contact-title span {
  background: #1565c0;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 16px;

}

/* ===== HOME HEADING ===== */
.home-title {
  background: linear-gradient(to right, #c62828, #ff7043);
  /* -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
}


section {
  padding: 60px 40px;
}

/*product section*/
#products {
  padding: 40px 20px;
  background: #f9f9f9;
  text-align: center;
}

#products h2 {
  margin-bottom: 30px;
  color: #333;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
}

.card-content h3 {
  margin: 0 0 10px;
  color: #333;
}

.card-content p {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

.price {
  font-weight: bold;
  color: #e63946;
}

.buy-btn {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 10px;
  background-color: #e63946;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.buy-btn:hover {
  background-color: #d62839;
}

/*contact*/
#contact {
  background: #f1f6f9;
  padding: 60px 20px;
  font-family: Arial, sans-serif;
}

#contact h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #1d3557;
}

#contact p {
  text-align: center;
  margin-bottom: 40px;
  color: #555;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.contact-form {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: none;
  font-size: 14px;
}

.contact-form button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: #e63946;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #d62839;
}

.contact-info {
  flex: 1 1 300px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  font-size: 15px;
  color: #333;
}

.contact-info h3 {
  margin-bottom: 15px;
  color: #1d3557;
}

.contact-info p {
  margin-bottom: 10px;
}




footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 15px;
}
/*headings*/

.section-heading {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  color: #1d3557;
  position: relative;
  margin: 30 0 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Decorative underline */
.section-heading::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #e63946;
  display: block;
  margin: 12px auto 0;
  border-radius: 2px;
}


