/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Body & General Styles */
body {
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  color: #fff;
  overflow-x: hidden;
}

/* Header Styles */
header {
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.2);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5%;
}

.logo a {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00ffff;
  text-decoration: none;
  text-shadow: 0 0 10px #00ffff;
}

.search-bar {
  display: flex;
  width: 50%;
}

.search-bar input {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.search-bar button {
  padding: 8px 15px;
  background: #00ffff;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  color: #000;
  transition: background 0.3s;
}

.search-bar button:hover {
  background: #00ccff;
  box-shadow: 0 0 10px #00ffff;
}

.user-options a {
  color: #fff;
  margin-left: 15px;
  text-decoration: none;
}

.user-options a:hover {
  color: #00ffff;
}



/* Hero Section */
.hero {
  background: radial-gradient(circle, #001f3f, #000);
  text-align: center;
  padding: 60px 0;
  color: #fff;
  box-shadow: 0 0 20px #00ffff;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 0 0 12px #00ffff;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: #00ffff;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  box-shadow: 0 0 15px #00ffff;
  transition: background 0.3s;
}

.hero-btn:hover {
  background: #00ccff;
  box-shadow: 0 0 20px #00ffff;
}

/* Product Grid */
.products {
  padding: 50px 5%;
  text-align: center;
}

.products h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-shadow: 0 0 10px #00ffff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.product-card {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #333;
  border-radius: 5px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00ffff;
}

.product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
}

.product-card h3 {
  margin: 10px 0;
  color: #fff;
}

.product-card p {
  color: #00ffff;
  font-weight: bold;
}

.product-card button {
  margin-top: 10px;
  padding: 5px 10px;
  background: #00ffff;
  border: none;
  color: #000;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.product-card button:hover {
  background: #00ccff;
  box-shadow: 0 0 10px #00ffff;
}

/* Footer */
footer {
  background: #0d0d0d;
  text-align: center;
  padding: 20px 0;
  margin-top: 30px;
  box-shadow: 0 -4px 15px rgba(0, 255, 255, 0.2);
}

.footer-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 20px 0;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin: 5px 0;
}

.footer-section a:hover {
  color: #00ffff;
  text-shadow: 0 0 8px #00ffff;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #fff;
}


/* Hero Section with Image Slider */
.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 400px;
}
.slider {
  display: flex;
  width: 300%;
  animation: slide 12s infinite;
}
.slider img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
@keyframes slide {
  0% { transform: translateX(0); }
  33% { transform: translateX(-100%); }
  66% { transform: translateX(-200%); }
  100% { transform: translateX(0); }
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
}
.hero-text h1 {
  font-size: 2.5em;
}
.hero-text p {
  font-size: 1.2em;
  margin: 10px 0;
}
.hero-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #ff9800;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
  color: #fff;
  overflow-x: hidden;
}

/* Header Section */
header {
  background: #1e1e2f;
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo a {
  color: #ff0000;
  font-size: 1.8rem;
  text-decoration: none;
  font-weight: bold;
}

/* Search Bar */
.search-bar {
  display: flex;
  align-items: center;
}

.search-bar input {
  padding: 5px;
  border: none;
  border-radius: 5px 0 0 5px;
}

.search-bar button {
  background: #00ffff;
  color: #000;
  border: none;
  padding: 5px 10px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

/* User Options */
.user-options a {
  color: #fff;
  margin-left: 15px;
  text-decoration: none;
}

.pay-btn {
  background: #ff4d4d;
  color: #fff;
  border: none;
  padding: 5px 15px;
  border-radius: 5px;
  cursor: pointer;
}

/* Sidebar Toggle (Hamburger Icon) */
.menu-toggle {
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  display: none;
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #2c2c38;
  padding-top: 60px;
  transition: left 0.3s ease;
  z-index: 1000;
}

.sidebar.active {
  left: 0;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  margin: 10px 0;
}

.sidebar ul li a {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}

.sidebar ul li a i {
  margin-right: 10px;
}

.sidebar ul li a:hover {
  background: #00ffff;
  color: #000;
  border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: none;
  }
  
  .search-bar {
    display: none;
  }

  .user-options {
    display: none;
  }
}


/* Shop Now Button */
.shop-now-btn {
  background: #00ffff;
  color: #000;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  margin: 10px 0;
  transition: background 0.3s;
}

.shop-now-btn:hover {
  background: #00cccc;
}

/* Shop Now Dropdown */
.shop-now-options {
  display: none; /* Hidden by default */
  position: absolute;
  top: 60px; /* Adjust based on your layout */
  left: 50%;
  transform: translateX(-50%);
  background: #2c2c38;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
  z-index: 1000;
}

.shop-now-options ul {
  list-style: none;
}

.shop-now-options ul li {
  padding: 8px 15px;
  text-align: center;
}

.shop-now-options ul li a {
  text-decoration: none;
  color: #fff;
  display: block;
  transition: background 0.3s;
}

.shop-now-options ul li a:hover {
  background: #00ffff;
  color: #000;
}

.shop-now-options.show {
  display: block;
}

/* General Navbar Styles */
header {
  background: #0f0f0f;
  padding: 10px 0;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: 70px;
}

.logo a {
  font-size: 1.8em;
  font-weight: bold;
  text-decoration: none;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
  transition: 0.3s;
}

.logo a:hover {
  color: #ff00ff;
  text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
}

/* Search Bar */
.search-bar {
  display: flex;
  align-items: center;
}

.search-bar input {
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  outline: none;
  width: 300px;
}

.search-bar button {
  padding: 10px;
  border: none;
  border-radius: 0 5px 5px 0;
  background: #00ffff;
  color: #0f0f0f;
  cursor: pointer;
  transition: 0.3s;
}

.search-bar button:hover {
  background: #ff00ff;
}

/* User Options */
.user-options a {
  margin-left: 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1em;
  transition: 0.3s;
}

.user-options a:hover {
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
}

/* Pay Button */
.pay-btn {
  padding: 10px 20px;
  margin-left: 20px;
  background: linear-gradient(90deg, #00ffff, #ff00ff);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  text-shadow: 0 0 10px #ffffff;
  transition: 0.3s;
}

.pay-btn:hover {
  background: linear-gradient(90deg, #ff00ff, #00ffff);
  box-shadow: 0 0 20px #ff00ff;
}

/* Menu Toggle (for mobile) */
.menu-toggle {
  display: none;
  font-size: 1.5em;
  color: #00ffff;
  cursor: pointer;
  text-shadow: 0 0 10px #00ffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .search-bar {
    display: none;
  }
  
  .user-options {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
}

/* General Section Styling */
.products {
  background: #0f0f0f;
  padding: 50px 5%;
  text-align: center;
}

.products h2 {
  font-size: 2.5em;
  color: #00ffff;
  text-shadow: 0 0 15px #00ffff;
  margin-bottom: 30px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Product Card */
.product-card {
  background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  border-radius: 10px;
  box-shadow: 
    0 4px 15px rgba(0, 255, 255, 0.3), 
    0 0 20px rgba(255, 0, 255, 0.2);
  text-align: center;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 0 25px rgba(0, 255, 255, 0.6), 
    0 0 35px rgba(255, 0, 255, 0.5);
}

/* Product Image */
.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Product Details */
.product-card h3 {
  font-size: 1.2em;
  color: #ffffff;
  margin: 10px 0;
}

.product-card p {
  font-size: 1em;
  color: #00ffff;
  margin-bottom: 15px;
}

/* Add to Cart Button */
.product-card button {
  background: linear-gradient(90deg, #00ffff, #ff00ff);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.9em;
  cursor: pointer;
  text-shadow: 0 0 10px #ffffff;
  transition: background 0.3s, box-shadow 0.3s;
}

.product-card button:hover {
  background: linear-gradient(90deg, #ff00ff, #00ffff);
  box-shadow: 
    0 0 15px #ff00ff, 
    0 0 25px #00ffff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .product-card img {
    height: 150px;
  }
}

/* Footer Styling */
footer {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #ffffff;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  box-shadow: 0 -10px 20px rgba(0, 255, 255, 0.3);
}

/* Footer Container */
.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 1px solid #444;
  padding-bottom: 20px;
}

/* Footer Sections */
.footer-section {
  margin: 10px;
}

.footer-section h4 {
  color: #00ffff;
  font-size: 1.2em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin: 5px 0;
  font-size: 0.9em;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
}

/* Footer Bottom Section */
.footer-bottom {
  margin-top: 20px;
  font-size: 0.9em;
  text-align: center;
}

.footer-bottom .cm-logo {
  font-weight: bold;
  font-size: 1.2em;
  color: #00ffff;
  text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff;
}

.footer-bottom .signature {
  font-weight: bold;
  color: #73ff00;
  text-shadow: 0 0 5px #25cb0c, 0 0 10px #00ff44;
}

/* Icon/Heart Animation */
.footer-bottom p {
  margin: 5px 0;
  animation: twinkle-heart 2s infinite alternate;
}

/* Heartbeat Animation */
@keyframes twinkle-heart {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

