/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Navbar Styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #0f0f19;
  color: white;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Push the rest of the content down */
body {
  margin-top: 70px;
}

/* Left Section (Hamburger + Search Icon) */
.left-icons {
  display: flex;
  align-items: center;
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 20px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
}

/* Search Icon */
.search-icon {
  font-size: 1.5rem;
  color: #ffffff;
  cursor: pointer;
}

/* Search Popup */
.search-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  display: none;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px;
  border-radius: 8px;
  width: 300px;
  max-width: 90%;
  z-index: 100;
}

.search-popup input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-right: 10px;
}

.search-popup button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  color: #333;
}

/* Logo Styling */
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  max-width: 250px;
  height: auto;
}

/* Right Icons (User + Cart) */
.right-icons {
  display: flex;
  gap: 15px;
}

.right-icons i {
  font-size: 20px;
  color: white;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  font-size: 19px;
  font-weight: bold;
  padding-top: 80px;
  margin: 0 auto;
}

.nav-links a {
  color: white;
  text-decoration: none;
}

.nav-links a:hover {
  color: #cccccc;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
  .left-icons {
    justify-content: flex-start;
  }

  .hamburger {
    display: flex;
  }

  .logo {
    position: static;
    transform: none;
    text-align: center;
    margin: 0 auto;
  }

  .logo img {
    max-width: 200px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 10px;
    transition: left 0.3s ease-in-out;
    background-color: white;
  }

  .nav-links.active {
    display: flex;
    background-color: white;
  }

  .nav-links a {
    color: black;
    font-size: 16px;
    padding: 5px 0;
  }

  .right-icons i {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .logo img {
    max-width: 150px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .right-icons i {
    font-size: 14px;
  }
}

/* Featured Styling */
.featured-brands {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.featured-brands h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
}

.featured-brands h2::after {
  content: "";
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #000000, #ffffff);
  display: block;
  margin: 10px auto 0;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.brand-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  transition: transform 0.3s ease;
}

.brand-item img {
  max-width: 100px;
  max-height: 60px;
  object-fit: contain;
}

.brand-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.see-more {
  margin-top: 20px;
}

.see-more a {
  font-size: 1rem;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
}

.see-more a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .brand-item {
    padding: 15px;
  }
}

/* New Arrivals Styling */
.new-arrivals {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.new-arrivals h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
}

.new-arrivals h2::after {
  content: "";
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #000000, #ffffff);
  display: block;
  margin: 10px auto 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.product-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease;
}

.product-item img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

.product-item p {
  font-size: 1rem;
  margin: 5px 0;
}

.product-item .price {
  font-weight: bold;
  color: #007BFF;
}

.add-to-cart {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.add-to-cart:hover {
  background-color: #0056b3;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-item {
    padding: 15px;
  }

  .product-item p {
    font-size: 0.9rem;
  }
}

.fixed-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.fixed-whatsapp .whatsapp-icon {
  width: 80px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.fixed-whatsapp .whatsapp-icon:hover {
  transform: scale(1.1);
}

/* Poster Slider Styles */
.poster-slider {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
  will-change: height;
  background-color: #46464620;
}

.poster-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: none;
}

.poster-slider .slide.active {
  display: block;
}

.poster-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Navigation Buttons */
.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 2;
}

.slider-controls button {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-controls button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Dots Navigation */
.dots-container {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: rgba(255, 255, 255, 1);
}

/* Media Queries for Poster Slider */
@media (min-width: 1200px) {
  .poster-slider {
    height: 500px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .poster-slider {
    height: 450px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .poster-slider {
    height: 350px;
  }
}

@media (min-width: 600px) and (max-width: 767px) {
  .poster-slider {
    height: 300px;
  }
}

@media (min-width: 480px) and (max-width: 599px) {
  .poster-slider {
    height: 250px;
  }
}

@media (min-width: 320px) and (max-width: 479px) {
  .poster-slider {
    height: 200px;
  }
}

@media (max-width: 319px) {
  .poster-slider {
    height: 150px;
  }
}

@media (max-width: 280px) and (max-height: 720px) {
  .poster-slider {
    height: 120px;
  }
}

@media (max-width: 240px) and (max-height: 640px) {
  .poster-slider {
    height: 100px;
  }
}

@media (max-width: 212px) and (max-height: 816px) {
  .poster-slider {
    height: 120px;
  }
}

@media (max-width: 192px) and (max-height: 748px) {
  .poster-slider {
    height: 100px;
  }
}

/* Categories Section */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.container h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  position: relative;
}

.container h2::after {
  content: "";
  width: 50px;
  height: 3px;
  background: linear-gradient(to right, #000000, #ffffff);
  display: block;
  margin: 10px auto 0;
}

.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.category {
  background-color: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 150px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.category img {
  max-width: 100px;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.category p {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 0;
}

.category:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category {
    padding: 15px;
    height: 180px;
  }

  .category img {
    max-width: 120px;
    max-height: 80px;
  }

  .category p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .category {
    padding: 15px;
    height: 160px;
  }

  .category img {
    max-width: 100px;
    max-height: 70px;
  }

  .category p {
    font-size: 0.8rem;
  }
}

.browse-all {
  text-align: center;
  margin-top: 20px;
}

.browse-all a {
  font-size: 1rem;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
}

.browse-all a:hover {
  text-decoration: underline;
}

/* Why Choose Us Styling */
.why {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
  text-align: center;
  background-color: #f9f9f9;
  pointer-events: none;
}

.why h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  position: relative;
}

.why h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #ffffff, #000000);
  display: block;
  margin: 10px auto 0;
}

.card-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  width: calc(25% - 20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card img {
  width: 90px;
  height: 70px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.card p {
  color: #666;
  margin-bottom: 20px;
}

.card a {
  color: #007BFF;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
}

.card a span {
  font-size: 1.2rem;
  margin-left: 5px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 992px) {
  .card {
    width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .card {
    padding: 15px;
  }
}

/* Footer Styling */
.footer {
  background-color: #0f0f19;
  color: white;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-left,
.footer-middle,
.footer-right {
  flex: 1;
  margin: 10px;
  min-width: 200px;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 15px;
}

.footer p {
  margin: 5px 0;
  line-height: 1.6;
}

.footer-middle ul,
.footer-right ul {
  list-style: none;
  padding: 0;
}

.footer-middle li,
.footer-right li {
  margin-bottom: 10px;
}

.footer-middle a,
.footer-right a {
  color: white;
  text-decoration: none;
}

.footer-middle a:hover,
.footer-right a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
  margin-top: 20px;
}

.footer-payment {
  flex: 2;
}

.payment-methods img,
.pay-later img {
  max-width: 50px;
  height: auto;
  margin-top: 10px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  color: white;
  font-size: 20px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #cccccc;
}

.footer-copyright {
  margin-top: 50px;
  text-align: center;
  font-size: 14px;
}