* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  list-style: none;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  background: #f3f4f6;
  padding-top: 70px;
}

/* header */
.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111827;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-left {
  width: 54%;
  margin: 1%;
  margin-left: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 60px;
  height: auto;
  transition: all 0.5s ease;
  filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.4));
}

.logo:hover {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 0 20px rgba(251, 146, 60, 0.8));
}

.site-title {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(90deg, #ffffff, #9fcaff, #ffffff, #ffffff);
  background-size: 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 300%;
  }
}

.tagline {
  margin-top: 5px;
  margin-left: 15px;
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: capitalize;
  position: relative;
  animation: fadeMove 3s ease-in-out infinite alternate;
}

.tagline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #f97316, #facc15);
  animation: underlineMove 4s linear infinite;
}

@keyframes fadeMove {
  from {
    transform: translateY(-4px);
    opacity: 0.7;
  }
  to {
    transform: translateY(4px);
    opacity: 1;
  }
}

@keyframes underlineMove {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  color: white;
  justify-content: space-between;
  margin-right: 2%;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links li {
  cursor: pointer;
  transition: 0.3s;
}

.nav-links li:hover {
  color: #f97316;
}

.nav-links a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  display: inline;
  position: relative;
  font-size: 16px;
  font-weight: bold;
}

.nav-links a:hover {
  color: #7ddfff;
}

.nav-links .dropdown .dropdown-menu a:hover {
  background: #ff7a1c;
  padding: 5px;
  border-radius: 5px;
  color: white;
  transform: scale(1.05);
  transition: 0.6s;
}

.nav-links a::after {
  content: "";
  height: 2px;
  width: 0;
  background: greenyellow;
  position: absolute;
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ===== DROPDOWN ===== */
.dropdown {
  position: relative;
}

/* Hidden by default */
.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #ffffff;
  width: 220px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 999;
}

/* Dropdown items */
.dropdown-menu li {
  padding: 10px 20px;
}

.dropdown-menu li a {
  color: #111827;
  font-weight: 500;
  display: block;
  transition: 0.3s;
}

/* Hover effect on items */
.dropdown-menu li:hover {
  background: #f97316;
}

.dropdown-menu li:hover a {
  color: #ffffff;
  transform: translateX(5px);
}

/* SHOW on hover */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Arrow rotate */
.dropdown:hover i {
  transform: rotate(180deg);
  transition: 0.3s;
}

.header-right {
  width: 44%;
  margin: 1%;
  margin-right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* SEARCH */
.search-box {
  background: rgb(255, 255, 255);
  padding: 8px 15px;
  margin-left: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.search-box input {
  width: 100%;
  max-width: 320px;
  border: none;
  outline: none;
}

/* ICONS */
.user-icons ul {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: white;
  cursor: pointer;
  gap: 50px;
}

.user-icons ul li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.user-icons ul li i {
  font-size: 20px;
  align-items: center;
  justify-content: center;
}

.user-icons ul li:hover {
  color: #93ffff;
  transform: scale(1.1);
  transition: 0.4s;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-wrapper {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #f97316, #facc15);
}

.announcement-bar {
  width: 100%;
  white-space: nowrap;
  position: relative;
}

.announcement-track {
  display: inline-flex;
  gap: 60px;
  padding: 10px 0;
  animation: scrollText 10s linear infinite;
}

.announcement-track span {
  color: #111827;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.announcement-track i {
  color: #000000;
  animation: blink 1s infinite alternate;
}

/* Hover Effect (Pause + Highlight) */
.announcement-wrapper:hover .announcement-track {
  animation-play-state: paused;
}

.announcement-track span:hover {
  color: #ffffff;
  transform: scale(1.1);
}

/* Scrolling Animation */
@keyframes scrollText {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Icon Animation */
@keyframes blink {
  from {
    opacity: 0.5;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.2);
  }
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
  background: white;
  margin-bottom: 10px;
}

.slide {
  display: none;
  align-items: center;
  gap: 50px;
  animation: fade 2s ease;
}

.slide.active {
  display: flex;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
}

.hero-text h2 {
  color: #f97316;
  margin-bottom: 10px;
}

.hero-text .btn {
  margin-top: 20px;
  display: inline-block;
}

.hero img {
  width: 350px;
  height: 400px;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.8s;
}

.hero img:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transform: scale(1.1);
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.btn {
  display: inline-block;
  line-height: normal;
  background: #f97316;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  font-size: 14px;
}

.btn:hover {
  background: #ea580c;
  transform: scale(1.05);
}

/* Small button variant — used inside product cards.
   Equal flex-basis ensures "Add to Cart" and "Shop Now"
   always render the same width regardless of text length,
   keeping every product card's button row visually aligned. */

.products {
  padding: 60px;
  text-align: center;
}

.section-title {
  font-size: 30px;
  margin-bottom: 25px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.product-card {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  margin-bottom: 15px;
  flex-shrink: 0;
  background: #f9fafb;
}

.product-card h3 {
  font-size: 16px;
  line-height: 1.4;
  min-height: 44px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
}

.wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: 0.3s;
  z-index: 2;
  flex-shrink: 0;
}

.wishlist i {
  font-size: 16px;
  color: #fd0000;
  transition: 0.3s;
  line-height: 1;
}

/* Hover effect */
.wishlist:hover {
  background: #f97316;
  transform: scale(1.1);
}

.wishlist:hover i {
  color: #fff;
}

.wishlist.active {
  background: #fee2e2;
}

.wishlist.active i {
  color: #e11d48;
}

.price {
  color: #f97316;
  font-weight: 600;
  margin: 10px 0;
  margin-top: auto;
}

/* Buttons layout */
/* Product action buttons container */
.product-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
  flex-shrink: 0;
  width: 100%;
}

/* Both Add to Cart and Shop Now — equal width, equal height */
.product-btns .btn.small {
  flex: 1;
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  border-radius: 25px;
  min-width: 0;
  margin-top: 0;
}

/* Outline button */
.btn.outline {
  background: transparent;
  border: 2px solid #f97316;
  color: #f97316;
}

.btn.outline:hover {
  background: #f97316;
  color: #fff;
}

#best-products {
  scroll-margin-top: 40px;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #020617, #0f172a, #1e293b);
  color: #e5e7eb;
  padding: 15px 60px 10px;
  position: relative;
  overflow: hidden;
}

/* glowing background */
.footer::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #f97316, transparent);
  filter: blur(120px);
  opacity: 0.2;
  top: -100px;
  left: -100px;
  animation: float 6s infinite;
}

/* layout */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

/* logo */
.footer-logo {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(90deg, #fff, #f97316, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* text */
.footer-desc {
  color: #9ca3af;
  margin-top: 10px;
  line-height: 1.6;
}

.footer-box {
  flex: 1;
}

.footer-box a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-box a:hover {
  opacity: 0.8;
}

/* LEFT */
.footer-box:nth-child(1) {
  text-align: left;
}

/* CENTER */
/* CENTER BOX FIX PERFECT */
.footer-box:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: center; /* pura block center me */
}

/* heading center hi rahe */
.footer-box:nth-child(2) h3 {
  text-align: center;
  width: 100%;
}

/* DATA LEFT ALIGN (IMPORTANT) */
.footer-box:nth-child(2) p {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  white-space: nowrap;
  width: 200px;
  text-align: left;
}

/* icon fix */
.footer-box:nth-child(2) p i {
  min-width: 18px;
}

/* RIGHT */
.footer-box:nth-child(3) {
  text-align: right;
}

.footer-box:nth-child(3) .social-icons {
  justify-content: flex-end;
}

/* headings */
.footer-box h3 {
  margin-bottom: 15px;
  color: #fff;
}

/* contact */
.footer-box p {
  margin: 8px 0;
  font-size: 14px;
  color: #9ca3af;
  transition: 0.3s;
  cursor: pointer;
}

.footer-box:nth-child(3) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-box:nth-child(3) h3 {
  margin-bottom: 15px;
  text-align: center;
}

.footer-box:nth-child(3) .social-icons {
  justify-content: center;
}

.footer-box p i {
  margin-right: 8px;
  color: #f97316;
}

/* hover */
.footer-box p:hover {
  color: #fff;
  transform: translateX(5px);
}

/* social */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: #fff;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

/* liquid shine */
.social-icons a::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  top: -100%;
  left: -100%;
  transform: rotate(25deg);
  transition: 0.5s;
}

.social-icons a:hover::before {
  top: 0;
  left: 0;
}

/* hover effect */
.social-icons a:hover {
  background: #f97316;
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  font-size: 14px;
  color: #9ca3af;
}

/* animation */
@keyframes float {
  50% {
    transform: translateY(-30px);
  }
}
