/* Top Bar and Hamburger Section */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Work Sans', sans-serif;
}

/* Top Bar */
  @keyframes scrollText {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); } /* Adjust based on number of repeats */
  }

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 50px;
  background-color: #f2f2f2;
  flex-wrap: wrap;
  position: relative;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-right: 20px;
}

.nav-center img {
  width: 150px;
  max-height: 60px;
  margin-right: 100px;
}

.nav-right a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  font-size: 18px;
}

.nav-right a:hover {
  color: #d9251c;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropbtn {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  color: #000;
}

.dropbtn:hover {
  color: #d9251c;
}

.dropdown-list {
  list-style-type: none;  /* Changed from 'disc' to 'none' */
  padding-left: 0;        /* Optional: remove extra left space */
  margin: 0;
  width: 260px;
}

.dropdown-list li {
  padding: 0px 10px;
}

.dropdown-list li a {
  color: #000;
  text-decoration: none;
  font-family: 'Work Sans', sans-serif;
  display: block;
}

.dropdown-list li a:hover {
  background-color: #eee;
  border-radius: 4px;
}

.dropdown-content {
  position: absolute;
  background-color: white;
  min-width: 240px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 100;
  top: 100%;
  left: 0;
  border-radius: 5px;
  margin-left: -25px;
  overflow: hidden;

  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);

  transition: max-height 0.4s ease, visibility 0.3s ease;
}




.dropdown-content a {
  padding: 10px 15px;
  display: block;
  text-decoration: none;
  color: #000;
}

.dropdown-content a:hover {
  background-color: #eee;
}

.dropdown:hover .dropdown-content {
  max-height: 500px; /* adjust as needed */
  visibility: visible;
  pointer-events: auto;
  animation: dropdownFade 0.3s ease-in-out forwards;
}



@keyframes dropdownFade {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Mobile */
.mobile-header {
  display: none;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Slide-Out Mobile Menu */
/* Slide-Out Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100vh;
  background: #f2f2f2;
  transform: translateX(100%); /* start hidden off-screen to the right */
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
}

.mobile-menu.active {
  transform: translateX(0); /* slide into view */
}


.mobile-menu a {
  padding: 12px 0;
  text-decoration: none;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
}

.close-btn {
  font-size: 28px;
  color: #000;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 20px;
}

.submenu-toggle {
  cursor: pointer;
  padding: 12px 0;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
}

.submenu {
  display: none;
  flex-direction: column;
  margin-left: 10px;
}

.submenu a {
  padding: 8px 0;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-left,
  .nav-right,
  .nav-center {
    display: none !important;
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
    background-color: #f2f2f2;
  }

  .mobile-logo {
    max-height: 60px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    margin-left: -25px; /* Add this */
  }

  .hamburger {
    display: block;
    margin-left: 100px;  /* Add this */
  }
}



/* Product Section */

  body {
      font-family: Arial, sans-serif;
      margin: 0;
      background-color: #f7f7f7;
    }

    .product-container {
      display: flex;
      flex-wrap: wrap;
      background: #fff;
      padding: 20px;
      border-radius: 12px;
      max-width: 1400px;
      margin: auto;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

    .image-section {
      flex: 1;
      min-width: 300px;
      position: relative;
    }

    .product-image {
      width: 600px;
      height: 550px;
      border-radius: 8px;
    }

    .thumbnail-gallery {
      display: flex;
      gap: 10px;
      margin-top: 15px;
    }

    .thumbnail-gallery img {
      width: 80px;
      height: auto;
      cursor: pointer;
      opacity: 0.6;
      transition: 0.3s;
      border-radius: 6px;
    }

    .thumbnail-gallery img.active,
    .thumbnail-gallery img:hover {
      opacity: 1;
      border: 2px solid #c58ca3;
    }

    .details-section {
      flex: 1.2;
      padding: 0 30px;
      min-width: 300px;
    }

    .category {
      color: gray;
      font-size: 14px;
    }

    .title {
      font-size: 28px;
      margin: 10px 0;
    }

    .description {
      font-size: 18px;
      line-height: 30px;
    }

    .enquire-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #d9251c;
  color: #fff;
  font-size: 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.enquire-button:hover {
  background-color: #b91c14;
}





    /* Feature Section */
    .features-section {
      max-width: 1300px;
      margin: auto;
      padding: 40px 50px;
    }

    h1 {
      font-size: 2rem;
      font-weight: 700;
      color: #2a0b15;
      margin-bottom: 20px;
    }

    .features-list {
      list-style-type: disc;
      padding-left: 20px;
    }

    .features-list li {
      margin-bottom: 12px;
      font-size: 1.05rem;
    }

  
    /* Image section*/

    .extra-images {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.image-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


  /* =================== Responsive =================== */
  @media (max-width: 1024px) {
    .title {
      font-size: 24px;
    }

    .description {
      font-size: 16px;
      line-height: 28px;
    }
  }

  @media (max-width: 768px) {
    .product-container {
      flex-direction: column;
      padding: 15px;
    }

    .details-section {
      padding: 0;
    }

    .features-section {
      padding: 20px 25px;
    }

    h1 {
      font-size: 1.5rem;
    }

    .features-list li {
      font-size: 1rem;
    }
  }

  @media (max-width: 480px) {
    body {
      padding: 0;
    }

    .title {
      font-size: 20px;
    }

    .description {
      font-size: 15px;
      line-height: 24px;
    }

    .thumbnail-gallery img {
      width: 65px;
    }

    .features-section {
      padding: 15px 20px;
    }

    h1 {
      font-size: 1.3rem;
    }

    .features-list li {
      font-size: 0.95rem;
    }
  }


  /* ✅ Base Fixes for Better Scaling */
.product-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.thumbnail-gallery {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.thumbnail-gallery img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

/* ✅ Mobile Responsive Design */
@media (max-width: 768px) {
  .product-container {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .image-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .details-section {
    width: 100%;
    text-align: left;
    margin-top: 20px;
  }

  .title {
    font-size: 22px;
    text-align: left;
  }

  .category {
    font-size: 14px;
    color: #888;
    margin-bottom: 5px;
  }

  .description {
    font-size: 16px;
    line-height: 26px;
  }

  .enquire-button {
    display: block;
    width: 90%;
    margin: 20px auto 0;
    text-align: center;
  }
}

/* ✅ Extra Small Screens */
@media (max-width: 480px) {
  .thumbnail-gallery img {
    width: 60px;
    height: 60px;
  }

  .title {
    font-size: 20px;
  }

  .description {
    font-size: 15px;
    line-height: 24px;
  }

  .enquire-button {
    font-size: 15px;
    padding: 10px 20px;
  }
}
