* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #fff;
  color: #333;
}

.top {

  background: #fbb03b;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 10px;
}

.social-icons {
  width: 100vh;
}

/* Offer Bar */
.offer-bar {

  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(0, 50%);
  color: #000;
  text-align: center;
  font-size: 14px;
  /* padding: 8px 0; */
}

.offer-bar a {

  font-weight: 600;
  margin-left: 5px;
  text-decoration: underline;
}

/* Navbar */
.navbar {
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  flex-wrap: wrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.social-icons a img {
  width: 20px;
  margin-right: 10px;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #f15a24;
}

.logo img {
  width: 60px;
}

.user-options {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-options a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

.user-options .cart {
  position: relative;
}

.user-options .cart span {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #f15a24;
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  padding: 2px 5px;
}


/* ========================= */
/* Background Slideshow */
/* ========================= */

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
}

/* Base slide styling */
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeCycle 36s infinite; 
}

/* Background Images */
.slide1 {
  background-image: url("https://kalakaram.com/cdn/shop/files/website-banner-03.jpg?v=1740122073&width=1500");
  animation-delay: 0s;
}

.slide2 {
  background-image: url("https://kalakaram.com/cdn/shop/files/website-banner-05.jpg?v=1740122073&width=1500");
  animation-delay: 6s;
}

.slide3 {
  background-image: url("https://kalakaram.com/cdn/shop/files/1-03_595e7bd5-f4b8-4f2a-b8cb-3c193209cbf8.png?v=1751975032&width=1500");
  animation-delay: 12s;
}

.slide4 {
  background-image: url("https://kalakaram.com/cdn/shop/files/Sensory_Kits_Banner-01.png?v=1757507113&width=1500");
  animation-delay: 18s;
}

.slide5 {
  background-image: url("https://kalakaram.com/cdn/shop/files/website-banner-04.jpg?v=1740122073&width=1500");
  animation-delay: 24s;
}

.slide6 {
  background-image: url("https://kalakaram.com/cdn/shop/files/1-03_595e7bd5-f4b8-4f2a-b8cb-3c193209cbf8.png?v=1751975032&width=1500");
  animation-delay: 30s;
}

/* Keyframes for Smooth Fade Transition */
@keyframes fadeCycle {
  0% { opacity: 0; }
  5% { opacity: 1; }
  20% { opacity: 1; }
  25% { opacity: 0; }
  100% { opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slideshow {
    height: 350px;
  }
}


/* Responsive Design */
@media (max-width: 900px) {
  .hero-slideshow {
    height: 350px;
  }

  .nav-links ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.feature-section {
  padding: 40px 0;
  background-color: var(--white-bg);
  border-bottom: 1px solid var(--border-color);
}

.feature-grid {
  display: flex;
  flex-direction: row;
  padding-right: 20vh;
  padding-left: 20vh;
  justify-content: space-between;
  gap: 20px;
  text-align: center;
}

.feature-item {
  padding: 20px;
}

.feature-item .icon-placeholder {
  font-size: 30px;
  color: var(--accent-color);
  margin-bottom: 10px;
  display: block;
}

.feature-item h4 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.trending_box {
  text-align: center;
  margin-bottom: 40px;
}

.trending_box h1 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}


.trending_content {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  padding: 20px;
  flex-direction: row;
}

.card {

  display: flex;
  flex-direction: column;
  align-items: center;

  overflow: hidden;
  background: #fdfdfd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card a {
  width: 100%;
  display: block;
  text-decoration: none;
  color: inherit;
}

video {
  width: 100%;
  height: 600px;
  object-fit: cover;
  background: #ccc;
}

.label {
  width: 100%;
  text-align: center;
  font-weight: bold;
  color: white;
  padding: 12px 0;
}

/* Unique colors for each kit label */
.punch {
  background: #e84ba7;
}

.soap {
  background: #ff7f7f;
}

.solar {
  background: #8fd68f;
}

.lip {
  background: #f7a27d;
}

.mini {
  background: #75c9e6;
}

@media (max-width: 768px) {
  .card {
    flex: 0 0 80%;
  }

  video {
    height: 250px;
  }
}

/* PRODUCT SECTION */
    .product-list-section {
      padding: 60px 0;
    }

    .section-title-box {
      text-align: center;
      margin-bottom: 40px;
    }

    .section-title-box h2 {
      font-size: 30px;
      font-weight: 700;
      margin-bottom: 10px;
    }

    /* Filter Buttons */
    .product-filter {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-bottom: 30px;
      flex-wrap: wrap;
    }

    .filter-button {
      font-size: 16px;
      font-weight: 600;
      color: var(--secondary-text);
      padding: 10px 15px;
      border-bottom: 3px solid transparent;
      cursor: pointer;
      transition: all 0.2s;
    }

    .filter-button:hover,
    .filter-button.active {
      color: var(--accent-color);
      border-color: var(--accent-color);
    }

    /* Product Grid */
    .product-display-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      justify-items: center;
      
    }

    .product-box {
      width: 100%;
      /* max-width: 280px; */
      border: 1px solid var(--border-color);
      /* padding: 20px; */
      overflow: hidden;
      background-color: var(--white-bg);
      transition: box-shadow 0.3s ease-in-out;
      position: relative;
    }

    .product-box:hover {
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

    /* Image Holder */
    .image-holder {
      position: relative;
      width: 100%;
      aspect-ratio: 1 / 1;
      overflow: hidden;
    }

    .product-image-tag {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    }

    .product-image-tag.hover-image {
      opacity: 0;
    }

    .product-box:hover .product-image-tag.main-image {
      opacity: 0;
      transform: scale(1.05);
    }

    .product-box:hover .product-image-tag.hover-image {
      opacity: 1;
      transform: scale(1.05);
    }

    /* Sale Tag */
    .sale-tag {
      position: absolute;
      top: 10px;
      left: 10px;
      background-color: var(--accent-color);
      color: white;
      font-size: 12px;
      padding: 4px 8px;
      border-radius: 5px;
      font-weight: 700;
      z-index: 2;
    }

    .product-list-section {
  padding: 60px 0;
  background: #fff;
}

.section-title-box {
  text-align: center;
}

.section-title-box h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.product-filter {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.filter-button {
  font-weight: 600;
  color: #666;
  padding-bottom: 5px;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: 0.3s;
}

.filter-button:hover,
.filter-button.active {
  color: #000;
  border-color: #000;
}

.product-display-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  justify-items: center;
  padding: 0 20px;
}

.product-box {
  width: 100%;
  max-width: 300px;
  background: #fff;
  border: none;
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
}

.product-box:hover {
  transform: translateY(-5px);
}

/* Image Holder */
.image-holder {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 5px;
}

.product-image-tag {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-image-tag.hover-image {
  opacity: 0;
}

.product-box:hover .main-image {
  opacity: 0;
  transform: scale(1.05);
}

.product-box:hover .hover-image {
  opacity: 1;
  transform: scale(1.05);
}

/* Sale Tag */
.sale-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #f15a24;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
}

/* Add to Cart */
.add-to-cart-button {
  width: 100%;
  background: #fbb03b;
  color: #000;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 10px 0;
  margin-top: 10px;
  transition: 0.3s;
}

.add-to-cart-button:hover {
  background: #f15a24;
  color: #fff;
}

/* Product Details */
.product-name {
  font-size: 14px;
  color: #000;
  font-weight: 600;
  margin-top: 10px;
  line-height: 1.3;
  min-height: 45px;
}

.rating {
  font-size: 13px;
  color: #f7b500;
  margin: 5px 0;
}

.rating span {
  color: #555;
  font-weight: 500;
}

.price-info {
  margin-top: 5px;
}

.current-price {
  font-size: 16px;
  font-weight: 700;
  color: #e63946;
  margin-right: 5px;
}

.old-price {
  font-size: 13px;
  color: #777;
  text-decoration: line-through;
}

/* Responsive */
@media (max-width: 768px) {
  .product-display-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-display-grid {
    grid-template-columns: 1fr;
  }

  .product-name {
    font-size: 13px;
  }
}


.category-section {
  text-align: center;
  padding: 60px 0;
  background: #fff;
}

.category-header {
  margin-bottom: 40px;
}

.all-products-btn {
  background: transparent;
  border: 2px solid #e91e63;
  color: #e91e63;
  padding: 10px 25px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.all-products-btn:hover {
  background: #e91e63;
  color: #fff;
}

/* GRID LAYOUT */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  justify-items: center;
  padding: 0 20px;
}

/* CATEGORY BOX */
.category-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.category-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
}

/* Overlay */
.category-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s ease, background 0.4s ease;
  padding-bottom: 30px;
  padding-left: 20px;
}

.two-category-section {
  padding: 60px 0;
  background: #fff;
}

.category-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  justify-items: center;
  padding: 0 20px;
}

.shop-btn {
  border: 2px solid #fff;
  padding: 15px 50px;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.shop-btn:hover {
  background: #fff;
  color: #000;
}

/* Hover Effects */
.category-box:hover img {
  transform: scale(1.1);
  filter: brightness(0.8);
}

.category-box:hover .category-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .category-overlay h2 {
    font-size: 20px;
  }

  .shop-btn {
    font-size: 12px;
    padding: 6px 15px;
  }
}

/* DIY INSPIRATION SECTION */
.diy-inspiration {
  background: linear-gradient(135deg, #e7c44c 0%, #e94057 100%);
  color: #fff;
  text-align: center;
  padding: 100px 20px; /* extra padding  */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.inspiration-content {
  max-width: 600px;
  text-align: center;
}

.explore-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.diy-inspiration h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 16px;
  margin-bottom: 40px; 
}

.read-btn {
  display: inline-block;
  background: #fbb03b;
  color: #000;
  padding: 12px 35px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.read-btn:hover {
  background: #fff;
  color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .diy-inspiration h2 {
    font-size: 28px;
  }
  .subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }
}

/* WHAT WE STAND FOR SECTION */
.stand-for {
  background: #fff;
  text-align: center;
  padding: 60px 20px;
}

.stand-for h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #000;
  margin-bottom: 50px;
}

.stand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
}

.stand-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
}

.stand-item .title {
  font-size: 14px;
  font-weight: 700;
  color: #0b2545;
  letter-spacing: 0.5px;
}

/*Infinite Scroll Bar Removal */
.infinite-gallery {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  background: #fff;
  padding: 10px 0;
  box-sizing: border-box;
}

.image-track {
  display: inline-flex;
  animation: scroll-left 40s linear infinite;
}

.image-track img {
  width: 250px;
  height: 300px;
  object-fit: cover;
  
  margin-right: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.image-track img:hover {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* Keyframes for infinite scrolling */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .image-track img {
    width: 180px;
    height: 220px;
  }
}

/* Footer Section */
.footer {
  background-color: #f5b344;
  color: #000;
  padding: 60px 8%;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #333;
}

.footer-column.about p {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 400;
  color: #111;
}

/* Social Icons */
.social-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-icons img {
  width: 25px;
  height: 25px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-top: 15px;
  font-size: 13px;
  color: #000;
}

.footer-bottom strong {
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-column.about p {
    font-size: 13px;
  }
}
