/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 560'%3E%3Cdefs%3E%3ClinearGradient id='grad' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23ffffff'/%3E%3Cstop offset='50%25' stop-color='%23e0e0e0'/%3E%3Cstop offset='100%25' stop-color='%23cccccc'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none'%3E%3Crect width='1440' height='560' fill='url(%23grad)'/%3E%3Cpath d='M 0,269 C 57.6,216.4 172.8,22.2 288,6 C 403.2,-10.2 460.8,177.2 576,188 C 691.2,198.8 748.8,55.2 864,60 C 979.2,64.8 1036.8,206 1152,212 C 1267.2,218 1382.4,114.4 1440,90L1440 560L0 560z' fill='url(%23grad)'/%3E%3Cpath d='M 0,374 C 96,396 288,480 480,484 C 672,488 768,395.2 960,394 C 1152,392.8 1344,461.2 1440,478L1440 560L0 560z' fill='url(%23grad)'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-container img{
  height: 12vh;
  width: 20vh;
  margin-top: 5px;
}

.nav-logo h1 {
  font-size: 24px;
  font-weight: 700;
  color: rgb(0, 0, 0);
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  font-size: 20px;
  font-weight: 600;
}

.nav-menu a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: rgb(0, 0, 0);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  /* background: #000; */
  transition: width 0.3s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.login-btn {
  background: black;
  border: 1px solid #333;
  padding: 8px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  color: rgb(255, 255, 255);
  background-color:none;
}

.login-btn:hover {
  background: black;
  color: rgb(255, 255, 255);

}

.cart-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  position: relative;
}

.cart-count {
  background: #000;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

/* Hero Section */
.hero {
  margin-top: 70px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  /* background: linear-gradient(135deg, #000 60%, #111); */
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -20%;
  width: 500px;
  height: 500px;
  /* background: radial-gradient(circle, #ff2d55 0%, transparent 70%); */
  filter: blur(200px);
  opacity: 0.4;
  z-index: 0;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  padding-right: 40px;
}

.hero-title {
  font-size: 6rem;
  font-weight: 900;
  color: rgb(0, 0, 0);
  text-transform: uppercase;
  letter-spacing: -2px;
  z-index: 2;
  position: relative;
}

.hero-subtitle {
  font-size: 1.4rem;
  color: rgba(0, 0, 0, 0.8);
}

.hero-cta {
  background: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  border: none;
  padding: 10px 40px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 50px;
}

.hero-cta:hover {
  background: black;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-image {
  flex: 0.5;
}

.hero-image img {
  max-width: 450px;
  height: auto;
  transform: rotate(-8deg);
  border-radius: 0;
  z-index: 2;
  position: relative;
  box-shadow: 0px 30px 60px rgba(0,0,0,0.7);
  transition: transform 0.4s ease;
}
.hero-image img:hover {
  transform: rotate(-8deg) scale(1.05);
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero-content, .hero-image {
  animation: fadeInUp 1s ease forwards;
}

/* Categories Section */
.categories {
  padding: 80px 0;
  /* background: #000000; */
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  color: #000;
}

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

.category-card {
  /* background: white; */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.category-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  padding: 20px 20px 10px;
  color: #000;
}

.category-card p {
  color: #666;
  padding: 0 20px 20px;
}

/* Products Section */
.products {
  padding: 80px 0;
  /* background: #f8f8f8; */
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-tabs {
  display: flex;
  gap: 10px;
}

.filter-tab {
  background: white;
  border: 1px solid #ddd;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-tab.active,
.filter-tab:hover {
  background: #000;
  color: white;
  border-color: #000;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  /* background: white; */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

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

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.7); */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.add-to-cart {
  background: white;
  color: #000;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.add-to-cart:hover {
  background: #000;
  color: white;
  transform: scale(1.05);
}

.add-to-cart.added {
  background: #4CAF50;
  color: white;
}

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #000;
}

.product-category {
  color: #666;
  text-transform: capitalize;
  margin-bottom: 10px;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.cart-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.empty-cart {
  text-align: center;
  color: #666;
  font-style: italic;
  margin-top: 50px;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  position: relative;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.cart-item-price {
  color: #666;
  margin-bottom: 10px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn {
  background: #f0f0f0;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.quantity-btn:hover {
  background: #ddd;
}

.quantity {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.cart-item-remove {
  position: absolute;
  top: 10px;
  right: 0;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #999;
  padding: 5px;
}

.cart-item-remove:hover {
  color: #ff4444;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  background: #f8f8f8;
}

.cart-total {
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: center;
}

.checkout-btn {
  width: 100%;
  background: #000;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.checkout-btn:hover {
  background: #333;
}

/* Login Modal */
.login-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  width: 90%;
  max-width: 400px;
}

.login-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  padding: 30px 30px 20px;
  text-align: center;
  position: relative;
}

.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

.login-form {
  padding: 0 30px 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #000;
}

.login-submit {
  width: 100%;
  background: #000;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-bottom: 20px;
}

.login-submit:hover {
  background: #333;
}

.login-submit:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.login-footer {
  text-align: center;
  color: #666;
}

.login-footer a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Footer */
.footer {
  background: #000;
  color: white;
  padding: 60px 0 20px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 15px;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .products-header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-tabs {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .cart-sidebar {
    width: 100%;
    right: -100%;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.running-slider {
  height: 30px;
  background-color: #000;
  overflow: hidden;
  position: relative;
  border-color: none;
}

.slider-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 25s linear infinite;
  position: fixed;
}

.slider-track span {
  display: inline-block;
  color: #fff;
  font-size: 15px;
  line-height: 5px;
  padding: 0 2rem;
  font-weight: 500;
  text-transform: uppercase;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

