/* -----------------------------------------------------------header ------------------------------------------------------------------------------------------------------*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.4;
  background: #fff;
  color: #2c3e50;
}


/*------------------------------------------------------------------- banner --------------------------------------------------------------------------------------------------------------------------------------*/

.hero {
  font-family: "Arial", sans-serif;
  /* background-color: #f5f5f5; */
}

.banner-container {
  display: flex;
  max-width: 1500px;
  margin: 20px auto;
  gap: 20px;
  padding: 0 20px;
}

/* Carousel Section */
.carousel-section {
  flex: 1;
  position: relative;
  /* border-radius: 20px; */
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  width: 33.333%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*.slide-1 {*/
/*  background: url("../../uploads/images/banner.jpg");*/
/*}*/

/*.slide-2 {*/
/*  background: url("../../uploads/images/banner2.png");*/
/*}*/

/*.slide-3 {*/
/*  background: url("../../uploads/images/banner3.jpg");*/
/*}*/

.carousel-content {
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 90%;
  padding: 40px 20px;
}

.carousel-content h1 {
  font-size: 3.2rem;
  font-weight: 300;
  margin-bottom: 15px;
  letter-spacing: -1px;
  line-height: 1.2;
  color: #c77041;
}

.carousel-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
  font-weight: 300;
}

.shop-btn {
  display: inline-block;
  padding: 15px 35px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.shop-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgb(199 112 65);
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background: white;
  transform: scale(1.2);
}

/* Static Section */
.static-section {
  flex: 1;
  position: relative;
  /* border-radius: 20px; */
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  /*background: url("../../uploads/images/banner4.jpg");*/
  display: flex;
  align-items: center;
  justify-content: center;
  height: 600px;
}

.static-content {
  text-align: center;
  color: white;
  max-width: 90%;
  padding: 40px 20px;
}

.static-content h2 {
  font-size: 3.2rem;
  font-weight: 300;
  margin-bottom: 15px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.static-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
  font-weight: 300;
}

/* Decorative Elements */
.carousel-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 70%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .banner-container {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .carousel-wrapper,
  .static-section {
    height: 500px;
  }

  .carousel-content h1,
  .static-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .banner-container {
    gap: 10px;
    padding: 0 10px;
  }

  .carousel-wrapper,
  .static-section {
    height: 450px;
  }

  .carousel-content h1,
  .static-content h2 {
    font-size: 2rem;
  }

  .carousel-content p,
  .static-content p {
    font-size: 1rem;
  }

  .carousel-content,
  .static-content {
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .banner-container {
    margin: 10px auto;
  }

  .carousel-wrapper,
  .static-section {
    height: 400px;
  }

  .carousel-content h1,
  .static-content h2 {
    font-size: 1.8rem;
  }

  .shop-btn {
    padding: 12px 25px;
    font-size: 0.8rem;
  }

  .carousel-nav {
    bottom: 20px;
  }
}

/* Animation for slide transitions */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.carousel-slide.active .carousel-content {
  animation: slideInRight 0.8s ease-out;
}
/* --------------------------------------------------section1 --------------------------------------------------------------------------*/
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}
/* .modal-content {
  background: #fff;
  padding: 20px;
  width: 70%;
  max-width: 800px;
  display: flex;
  gap: 20px;
  border-radius: 8px;
  position: relative;
} */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 25px;
  cursor: pointer;
}
.modal-image img {
  max-width: 250px;
  border-radius: 6px;
}
.modal-details {
  flex: 1;
}
.modal-price {
  margin: 10px 0;
}
.modal-price span {
  margin-right: 10px;
  font-weight: bold;
}
#modalOriginalPrice {
  text-decoration: line-through;
  color: gray;
}

/* Section & Container */
.section {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #fafafa;
  padding: 40px 0;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section header */
.section-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #c77041;
  margin: 0;
  /*font-style: italic;*/
}

.section-description {
  color: #666;
  font-size: 16px;
  flex: 1;
  min-width: 250px;
}

/* Carousel container */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 10px 0;
}

/* Track */
.carousel-track {
  display: flex;
  transition: transform 0.5s linear;
  gap: 20px;
  will-change: transform;
}

/* Product card */
.product-card {
  flex: 0 0 280px;
  background: #fff;
  /* border-radius: 12px; */
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Image */
.product-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

/* Discount badge */
.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff4757;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Product actions (Quick View / Compare) */
.product-actions {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateY(0);
}

.quick-view-btn,
.compare-btn {
  flex: 1;
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.quick-view-btn {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
}

.compare-btn {
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
}

/* Product content */
.product-content {
  padding: 15px 20px;
}

.product-categories {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.category-tag {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  text-decoration: none;
}

.category-tag:hover {
  color: #007bff;
}

.product-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.product-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
  margin: 0;
  flex: 1;
}

.product-title a {
  text-decoration: none;
  color: inherit;
}

.product-title a:hover {
  color: #007bff;
}

.wishlist-btn {
  background: none;
  border: none;
  color: #ccc;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wishlist-btn:hover {
  color: #ff4757;
  transform: scale(1.1);
}

/* Pricing */
.product-pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.price {
  display: flex;
  align-items: center;
  gap: 6px;
}

.current-price {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.original-price {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}

.add-to-cart-btn {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
}

.add-to-cart-btn:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

/* Ratings */
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars {
  display: flex;
  gap: 2px;
  color: #ffc107;
}

.rating-text {
  font-size: 12px;
  color: #666;
}

/* Carousel arrows */
.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  z-index: 10;
}

.carousel-controls:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.prev-btn {
  left: -20px;
}

.next-btn {
  right: -20px;
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot.active {
  background: #007bff;
  transform: scale(1.2);
}

/* Responsive */
@media (max-width: 1200px) {
  .product-card {
    flex: 0 0 240px;
  }
}

@media (max-width: 992px) {
  .product-card {
    flex: 0 0 200px;
  }
}

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-card {
    flex: 0 0 180px;
  }

  .carousel-controls {
    display: none;
  }
}

@media (max-width: 480px) {
  .product-card {
    flex: 0 0 140px;
  }
}
/* section2 */

.section2 {
  font-family: "Arial", sans-serif;
  background-color: #f8f8f8;
  color: #333;
}

.showroom-section {
  display: flex;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  /* background-color: white;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1); */
}

.content-side {
  flex: 1;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: -130px;
  /* background-color: #fefefe; */
}

.brand-text {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 20px;
}

.main-heading {
  font-size: 48px;
  font-weight: 300;
  color: #2c2c2c;
  margin-bottom: 40px;
  line-height: 1.2;
}

.description {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 60px;
  max-width: 400px;
}

.hours-section {
  margin-bottom: 50px;
}

.hours-title {
  font-size: 16px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 8px;
}

.hours-time {
  font-size: 16px;
  color: #666;
  margin-bottom: 5px;
}

.hours-days {
  font-size: 16px;
  color: #666;
}

.cta-button {
  display: inline-block;
  padding: 0 0 3px 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2c2c2c;
  text-decoration: none;
  border-bottom: 2px solid #2c2c2c;
  transition: all 0.3s ease;
  width: fit-content;
}

.cta-button:hover {
  color: #b8860b;
  border-bottom-color: #b8860b;
}

.image-side {
  flex: 1.2;
  position: relative;
  overflow: hidden;
}

.jewelry-image {
  width: 84%;
  height: 545px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 768px) {
  .showroom-section {
    flex-direction: column;
  }

  .content-side {
    padding: 40px 30px;
    margin-top: 0px;
  }

  .main-heading {
    font-size: 36px;
  }

  .image-side {
    height: 400px;
  }
}

/* Quick View Modal Styles */
.quick-view-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.quick-view-modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  /* border-radius: 10px; */
  display: flex;
  flex-wrap: wrap;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  /* height: 700px; */
  gap: 20px;
  position: relative;
  animation: popup 0.3s ease;
}

@keyframes popup {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-left img {
  width: 300px;
  border-radius: 8px;
}

.modal-right {
  flex: 1;
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
}

.current-price {
  color: #d93025;
  font-size: 1.5rem;
  font-weight: 600;
}

.original-price {
  text-decoration: line-through;
  color: #888;
  margin-left: 10px;
}

.modal-actions {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  border-radius: 4px;
}

#qtyInput {
  width: 40px;
  text-align: center;
  border: 1px solid #ccc;
}

.add-cart-btn {
  background: #111;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 5px;
  cursor: pointer;
}
/* Arrow button styles */
.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* background: rgba(0, 0, 0, 0.5); */
  /* color: #fff; */
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 10;
}

.arrow-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

/* Ensure .modal-left is positioned correctly for arrows */
/* .modal-left {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-image-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
} */
.modal-left {
  position: relative;
  display: flex;
  flex-direction: column; /* ← This is the key fix */
  justify-content: center;
  align-items: center;
  gap: 10px; /* optional spacing between image and thumbnails */
}

.modal-image-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
}

.modal-thumbnails {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.modal-thumbnails img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;

  /* .modal-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease; */
}

.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.arrow-btn.left {
  left: 8px;
}

.arrow-btn.right {
  right: 8px;
}

.arrow-btn:hover {
  background: white;
}

.modal-thumbnails {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.modal-thumbnails img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: border 0.2s ease;
}

.modal-thumbnails img.active,
.modal-thumbnails img:hover {
  border-color: #ab3f28; /* highlight color */
}
