
/* ===============================
   GOOGLE FONT (KEEP EXISTING STYLE)
=================================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* ===============================
   LUXURY BACKGROUND LAYER (NEW ADDITION)
=================================*/
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #eee;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  position: relative;
  overflow-x: hidden;
}

/* Animated gradient movement */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;

  background: linear-gradient(-45deg,
    #0f2027,
    #203a43,
    #2c5364,
    #1a2980
  );

  background-size: 400% 400%;
  animation: gradientMove 12s ease infinite;
  opacity: 0.9;
}
.offer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #d4af37, #f5c542);
  color: black;
  padding: 12px;
  font-weight: 600;
}

/* TEXT */
.offer-track {
  white-space: nowrap;
  display: inline-block;

  /* IMPORTANT: always START AT CENTER */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  animation: centerLoop 10s linear infinite;
}

/* ===============================
   CENTER-BASED LOOP ANIMATION
=================================*/
@keyframes centerLoop {

  /* START CENTER */
  0% {
    transform: translate(-50%, -50%) translateX(0);
  }

  /* MOVE LEFT */
  25% {
    transform: translate(-50%, -50%) translateX(-120px);
  }

  /* BACK TO CENTER */
  50% {
    transform: translate(-50%, -50%) translateX(0);
  }

  /* MOVE RIGHT */
  75% {
    transform: translate(-50%, -50%) translateX(120px);
  }

  /* BACK TO CENTER AGAIN */
  100% {
    transform: translate(-50%, -50%) translateX(0);
  }
}

/* smooth infinite movement */
@keyframes moveLoop {
  0% {
    transform: translate(-50%, -50%) translateX(0);
  }

  100% {
    transform: translate(-50%, -50%) translateX(-60%);
  }
}

/* animation */
@keyframes moveRight {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating luxury light orbs */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;

  background:
    radial-gradient(circle at 20% 30%, rgba(245, 197, 66, 0.15), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(0, 255, 200, 0.06), transparent 50%);

  animation: floatLights 10s ease-in-out infinite alternate;
}

@keyframes floatLights {
  0% { transform: scale(1) translateY(0px); }
  100% { transform: scale(1.08) translateY(-10px); }
}

/* ===============================
   HEADER (YOUR EXISTING STYLE SAFE)
=================================*/
header {
  text-align: center;
  padding: 40px 20px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* LOGO */
.logo {
  width: 170px;
  height: auto;
  margin-bottom: 15px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.6));
  animation: logoFade 1.5s ease;
}

@keyframes logoFade {
  from { opacity: 0; transform: translateY(-20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* TITLE */
header h1 {
  color: #f5c542;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 5px 0;
}

header p {
  color: #ccc;
}

/* ===============================
   OFFER BAR
=================================*/
.offer {
  background: linear-gradient(90deg, #d4af37, #f5c542);
  color: black;
  text-align: center;
  padding: 12px;
  font-weight: 600;
}

/* ===============================
   NAVBAR
=================================*/
nav {
  text-align: center;
  padding: 15px;
  background: rgba(0,0,0,0.5);
}

nav a {
  color: #eee;
  margin: 15px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #f5c542;
}

/* ===============================
   HERO
=================================*/
.hero {
  text-align: center;
  padding: 90px 20px;
}

.hero h2 {
  font-size: 40px;
  margin-bottom: 15px;
}

.hero button {
  padding: 12px 28px;
  background: #f5c542;
  color: black;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.hero button:hover {
  background: white;
}

/* ===============================
   PRODUCTS
=================================*/
#products {
  text-align: center;
  padding: 50px 20px;
}

.product {
  display: inline-block;
  width: 260px;
  margin: 20px;
  padding: 20px;
  border-radius: 15px;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);

  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: 0.4s;
}

.product:hover {
  transform: translateY(-10px) scale(1.03);
}

.product img {
  width: 100%;
  border-radius: 10px;
}

/* BADGE */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #f5c542;
  color: black;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
}

/* PRICE */
.price {
  color: #f5c542;
  font-size: 20px;
  font-weight: 600;
}

/* BUTTON */
.product button {
  background: #f5c542;
  color: black;
  padding: 10px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
}

.product button:hover {
  background: white;
}

/* ===============================
   CART
=================================*/
#cart {
  margin: 40px;
  padding: 30px;
  border-radius: 15px;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);

  text-align: center;
}

#cart input {
  padding: 10px;
  margin: 10px;
  border-radius: 8px;
  border: none;
  width: 200px;
}

#cart button {
  background: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  border: none;
}

/* ===============================
   FOOTER
=================================*/
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.7);
  color: #ccc;
}

/* ===============================
   WHATSAPP FLOAT
=================================*/
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  padding: 15px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* ===============================
   MOBILE
=================================*/
@media(max-width:768px) {
  .product {
    width: 90%;
  }

  .logo {
    width: 130px;
  }
}