@import url("https://fonts.googleapis.com/css2?family=Allura&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
header {
  /* background-color: #f5deb3; */
  display: flex;
  justify-content: space-between;
  height: 5rem;
}
header .logo {
  font-family: "Allura", cursive;
  text-align: center;
  font-size: 20px;
  padding-left: 8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .logo span {
  color: rgb(218, 10, 80);
}
header .nav-bar {
  display: flex;
  justify-content: center;
}
header .nav-bar nav {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
}
header .nav-bar li {
  list-style: none;
  font-size: 20px;
  cursor: pointer;
}
header .nav-bar li:hover {
  color: rgb(218, 10, 80);
  text-decoration: underline;
}
header .search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-right: 10px;
}
header .search-bar input {
  width: 300px;
  height: 40px;
  border-radius: 50px;

  padding: 0px 40px 0 15px;
  font-size: 15px;
  outline: none;
  border: 1px solid #ccc;
}

header .search-bar .fa-magnifying-glass {
  position: absolute;
  padding-left: 200px;

  color: #555;
  cursor: pointer;
  font-size: 18px;
}
header .icons {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  padding-right: 90px;
  position: relative;
}
header .icons .bag-count {
  position: absolute;
  top: 0;
  left: 15px;
  font-size: 15px;
  margin-top: 13px;
  font-weight: bold;
  display: none;
}
header .icons i {
  font-size: 30px;
}
header .icons .fa-cart-shopping {
  color: rgb(218, 10, 80);
}
header .icons .fa-heart {
  color: rgb(218, 10, 80);
}
.hero-section {
  position: relative;
  justify-content: center;
  display: flex;
  align-items: center;
  text-align: center;
}
.hero-section img {
  width: 100%;
  height: 600px;
  transform: scale(1.2);
  animation: zoomIn 3s ease-in-out forwards;
}

@keyframes zoomIn {
  from {
    transform: scale(1.2);
  }
  to {
    transform: scale(1);
  }
}

.hero-section .btn1 {
  border-radius: 500px;
  position: absolute;
  width: 220px;
  height: 50px;
  bottom: 40px;
  font-size: 1rem;
  background-color: rgb(195, 33, 87);
  color: white;
  font-weight: bold;
  outline: none;
  border: none;
  cursor: pointer;

  animation: pulse 2s infinite;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Hover effect */
.hero-section .btn1:hover {
  background-color: rgb(160, 20, 70);
  transform: scale(1.15);
}

.sec {
  text-align: center;
  font-size: 3rem;
  margin: 20px 0px;
  color: rgb(195, 33, 87);
  text-decoration: underline;
}
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 80px;
  justify-items: center;
}

.products .product {
  height: 400px;

  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.products .product img {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  margin-bottom: 10px;

  transition: transform 0.4s ease; /* smooth hover */
}

/* hover effect */
.products .product img:hover {
  transform: scale(1.2);
}

.products .product h2 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  white-space: nowrap; /* text ko single line me rakhega */
  overflow: hidden; /* extra text ko hide karega */
  text-overflow: ellipsis; /* end me ... dikhayega */
  width: 200px;
}
.products .product .price {
  font-size: 18px;
  font-weight: bold;
  color: gray;
  margin: 10px;
  /* text-decoration: line-through; */
}
.products .product .price span {
  color: black;
  text-decoration: none;
  margin-left: 8px;
  display: inline-block;
}
.product #percentage {
  color: green;
}

.product .btn3 {
  background: rgb(218, 10, 80);
  color: #fff;
  border: none;
  margin: 20px 0;

  padding: 10px 20px;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;

}

.product .btn3:hover {
  background: #c10750;
}
.hero1-section{
  display: flex;
  width: 100px;
  height: 300px;

}
.shopping-img {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
  gap: 20px;
  padding: 20px 80px;
  justify-items: center;
}

.img-box {
  position: relative;
  overflow: hidden;
}

.img-box img {
  width: 100%;

  height: 450px;
  border-radius: 10px;
  transition: 0.4s ease-in-out;
}

/* Hover par blur + grey */
.img-box:hover img {
  filter: grayscale(100%) blur(3px);
  transform: scale(1.05);
}

/* Overlay text */
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 28px;
  font-weight: bold;
  opacity: 0;
  transition: 0.4s ease-in-out;
  text-align: center;
  /* background: rgba(0, 0, 0, 0.5); thoda background for readability */
  padding: 10px 20px;
  border-radius: 8px;
}

/* Jab hover kare tab text dikhai de */
.img-box:hover .overlay-text {
  opacity: 1;
}

.user-contact {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* mobile ke liye responsive */
  max-width: 800px;
  margin: auto;
}

.user-contact input {
  flex: 1;
  min-width: 220px;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
}

.user-contact input:focus {
  border-color: #ff4081; /* focus pe pink border */
  box-shadow: 0 0 8px rgba(255, 64, 129, 0.3);
}
.btn4{
  display: flex;
  justify-content: center;
  align-content: center;
width: 300px;
height: 30px;
padding-top: 5px;
font-size: 20px;
outline: none;
border-radius: 2px 8px;
border: 2px solid gray;

 
}
.btn4:hover{
  background: #c10750;
  border-color: #ff4081; 
  color: white;

}
footer {
  background: #222;
  color: #fff;
  padding: 50px 20px 20px;
 
  margin-top: 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* responsive */
  max-width: 1200px;
  margin: auto;
}

.footer-container div {
  flex: 1;
  min-width: 250px;
  margin: 15px;
}

.footer-container h2 {
  margin-bottom: 15px;
  font-size: 20px;
  color: rgb(195, 33, 87);/* pink headings */
}

.footer-container p, 
.footer-container li, 
.footer-container a {
  font-size: 15px;
  line-height: 1.8;
  color: #ccc;
  text-decoration: none;
}

.footer-container a:hover {
  color: #ff4081;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-bottom {
   font-family: "Allura", cursive;
  text-align: center;
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 15px;
  font-size: 40px;
  color: #aaa;
  font-weight: bold;
}
.footer-bottom  span{
  color: #c10750;
  font-weight: bold;
}











