@import url('./root-color.css');

/* Palette (match footer/header) */
:root {
	--cream: #f6f1ea;
	--dark-brown: #3d2c19;
	--muted-brown: #a68c6d;
	--gold: #bfa16a;
	--muted-gray: #e7e4df;
}

/* Hero / banner */
.hero-banner {
	background: linear-gradient(180deg, rgba(246,241,234,1) 0%, rgba(255,255,255,1) 100%);
	padding: 32px 0;
	border-bottom: 1px solid var(--muted-gray);
}

.banner img,
.hero-banner .banner img {
  width: 100%;
  height: auto;
  max-height: 700px; /* cap height for very large screens */
  object-fit: contain; /* ensure full image visible */
  border-radius: 12px;
  display: block;
}

/* banner media */

@media (max-width: 992px) {
  .banner img {
    max-height: 500px;
  }
}

@media (max-width: 576px) {
  .banner img {
    max-height: 320px;
    padding: 5px;
  }
}

/* FEATURES SECTION */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  padding: 28px 20px;
  margin: 0 auto 0px;
  max-width: 1350px;
}

.feature-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(61,44,25,0.06);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 20px;
  min-width: 280px;
  max-width: 360px;
  flex: 1 1 300px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(61,44,25,0.10);
}

.feature-icon {
  flex: 0 0 80px;
  height: 80px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(191,161,106,0.12), rgba(166,140,109,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

.feature-icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  display: block;
}

/* variant: slightly larger truck icon */
.feature-icon .truck {
  width: 54px;
  height: 54px;
}

/* text */
.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-text h3 {
  margin: 0 0 8px;
  font-family: "Philosopher", serif;
  font-size: 18px;
  color: var(--dark-brown);
  font-weight: 700;
  line-height: 1.1;
}

.feature-text p {
  margin: 0;
  font-size: 15px;
  color: #6e5c3e;
  line-height: 1.5;
  opacity: 0.95;
}

/* Responsive: scale down on smaller screens */
@media (max-width: 880px) {
  .features {
    gap: 16px;
    padding: 20px 12px;
  }
  .feature-item {
    min-width: 100%;
    max-width: 100%;
    padding: 16px;
    gap: 12px;
  }
  .feature-icon {
    flex: 0 0 64px;
    height: 64px;
    padding: 8px;
  }
  .feature-icon img { width: 40px; height: 40px; }
  .feature-icon .truck { width: 48px; height: 48px; }
  .feature-text h3 { font-size: 16px; }
  .feature-text p { font-size: 14px; }
}

/* saree section*/
.sarees {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
}

.saree-circle {
  /* flex: 1 1 150px; */
  text-align: center;
  margin: 1vh 0;
}

.saree-circle img {
  /* aspect-ratio: 1; */
  width: 200px;
  border-radius: 50%;
  object-fit: cover;
  /* margin-bottom: 1vh; */
  border: 3px solid var(--color-light-orange);
  transition: transform 0.3s ease;
}

.saree-circle img:hover {
  transform: scale(1.10);
}

.saree-circle p {
  margin-top: 15px;
  color: var(--color-dark-maroon);
  font-size: 14px;
  font-weight: bold;
}

@media (max-width: 992px) {
  .saree-circle img {
    width: 170px;
  }

  .sarees {
    /* padding: 0 20px; */
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .saree-circle img {
    width: 140px;
  }

  .sarees {
    /* padding: 0 20px; */
    gap: 30px;
  }
}

/* exclusive-offers */

.exclusive-offers h2 {
margin-bottom: 40px;
  color: var(--color-dark-gray);
  font-family: "Philosopher", sans-serif;
  font-size: 40px;
  text-align: center;
}

.product-filters {
  display: flex;
  justify-content: start;
  /* gap: 20px; */
  margin-bottom: 40px;
  margin-left: 50px;
}

.filter-btn,
.filter-btn-active {
  padding: 6px 14px;
  border: none;
  background: none;
  color: #968989;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  transition: color 0.3s;
}

.filter-btn-active {
  color: var(--color-black);
}

.filter-btn:hover {
  color: var(--primary);
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  padding: 24px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(60,40,20,0.06);
  transition: transform .14s ease, box-shadow .14s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(60,40,20,0.10);
}

.product-image {
  /* keep consistent visual block and prevent layout shift */
  aspect-ratio: 4 / 3;
  display: block;
  overflow: hidden;
  background: #fff;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* show entire image */
  display: block;
  transition: transform .18s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.02);
}

/* wishlist icon */
.wishlist-icon {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(60,40,20,0.06);
}

/* info */
.product-info {
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.product-info h3 {
	font-size: 1rem;
	color: var(--dark-brown);
	font-weight: 700;
	margin: 0;
}

.product-info .meta {
	font-size: 0.9rem;
	color: #6e5c3e;
}

/* price block */
.price {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
}

.current {
	color: var(--muted-brown);
	font-weight: 800;
	font-size: 1.05rem;
}

.original {
	color: #a8a08a;
	text-decoration: line-through;
	font-size: 0.9rem;
}

.discount {
	background: var(--gold);
	color: #fff;
	padding: 4px 8px;
	border-radius: 14px;
	font-weight: 700;
	font-size: 0.8rem;
}

/* shop button */
.shop-now-btn {
	background: var(--muted-brown);
	color: #fff;
	padding: 10px;
	border-radius: 8px;
	border: none;
	font-weight: 700;
	cursor: pointer;
	transition: background .12s ease, transform .12s;
	width: 100%;
}

.shop-now-btn:hover {
	background: var(--dark-brown);
	transform: translateY(-2px);
}

/* Responsive tweaks */
@media (max-width: 992px) {
	.banner img { max-height: 500px; }
	.product-image { aspect-ratio: 3 / 2; }
	.product-image img { object-fit: contain; }
}

@media (max-width: 576px) {
	.banner img { max-height: 320px; }
	.product-image { aspect-ratio: 4 / 3; }
}

/* Types of saree */
.saree-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  padding: 20px 10px;
}

.type-card {
  width: 100%;
  max-width: 300px;
}

.saree-types h2 {
margin-bottom: 40px;
  color: var(--color-dark-gray);
  font-family: "Philosopher", sans-serif;
  font-size: 40px;
  text-align: center;

}

.type-card img {
  height: 430px;
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  transition: transform 0.6s;
}

.type-card img:hover {
  transform: scale(1.05);
}

.type-card h3 {
  color: var(--color-dark-gray);
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  margin-top: 10px;
}

.type-card p {
  color: var(--color-dark-gray);
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  padding: 6px;
}

/* types of saree responsive */
@media (max-width:992px) {
  .saree-grid {
    width: 100%;
    padding: 10px;
  }
}

@media (max-width:768px) {
  .saree-grid {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 30px;
    gap: 35px;
  }

  .type-card {
    width: calc(50% - 20px);
    /* Two items per row with a little gap */
    margin-bottom: 20px;
  }
}

@media (max-width:576px) {
  .saree-grid {
    flex-wrap: wrap;
    padding: 0 50px;
  }

  .type-card {
    width: 100%;
    padding: 15px;
  }
}

/* about us */

.about-us {
  padding: 0 60px;
  gap: 40px;
}

.about-image img {
  width: 500px;
  height: 480px;
  border-radius: 40px;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 40px;
  color: var(--color-dark-gray);
  font-family: "Philosopher", sans-serif;
  font-size: 40px;
  text-align: center;
}

.about-text p {
  color: var(--color-medium-gray-2);
  text-align: center;
  font-size: 19px;
}

.about-text {
  margin-bottom: 50px;
}

@media (max-width:992px) {
  .about-us {
    display: flex;
  }
  .about-text h2 {
    font-size: 22px;
  }
   .about-image img {
    width: 460px;
    height: 460px;
  }
  .about-text{
    margin-bottom: 20px;
  }
  .about-text h2 {
    font-size: 36px;
  }

  .about-text p {
    font-size: 14px;
  }

  .about-us {
    align-items: center;
  } /**/ 
  /* .about-us {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding:20px;
    gap: 60px;
  }
  
  .about-image {
    width: 46%;
  }

  .about-text {
    width: 44%;
  }

  .about-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .about-text p {
    font-size: 14px;
    line-height: 1.6;
  } */
}


@media (max-width: 768px) {
  .about-us {
    flex-direction: column;
    gap: 30px;
    padding: 15px;
    text-align: center;
  }
   
  .about-image,
  .about-text {
    width: 100%;
  }
  .about-image img {
    max-width: 100%;
    height: auto;
  }
  .about-text {
    padding: 30px;
  }

  .about-text h2 {
    font-size: 24px;
  }

  .about-text p {
    font-size: 13px;
    line-height: 1.5;
  }
}
@media (max-width: 576px) {
  .about-us {
    flex-direction: column;
    gap: 30px;
    padding: 15px;
    text-align: center;
  }

  .about-text h2 {
    font-size: 20px;
  }

  .about-text p {
    font-size: 12px;
  }
  .about-image,
  .about-text {
    width: 100%;
  }
  .about-image img {
    max-width: 100%;
    height: auto;
  }
  .about-text{
    padding: 0 30px;
  }
}

/* Exclusive Offers — full-width visual cards */
.exclusive-offers .offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    padding: 18px 24px;
}

.exclusive-offers .product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
}

.exclusive-offers .product-image {
    /* Wide visual area so image appears full width in the card */
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 320px;       /* visual height to avoid cropping on desktop */
    max-height: 420px;
    overflow: hidden;
    background: #fff;
    display: block;
}

.exclusive-offers .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* show the entire image without crop */
    object-position: center;
    display: block;
    transition: transform 0.28s ease;
}

.exclusive-offers .product-card:hover .product-image img {
    transform: scale(1.04);
}

/* Mobile: slightly taller aspect to preserve composition */
@media (max-width: 576px) {
    .exclusive-offers .product-image {
        height: 200px;
        aspect-ratio: 4 / 3;
    }
}

/* Exclusive Offers — card design inspired by uploaded image */
.exclusive-offers .offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    padding: 22px 24px;
}

/* Card shell */
.exclusive-offers .product-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbf6ee 100%);
    border: 1px solid rgba(61,44,25,0.06);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(61,44,25,0.05);
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.exclusive-offers .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(61,44,25,0.09);
}

/* Make image fill the card top edge (full-bleed) */
.exclusive-offers .product-image {
    width: 100%;
    height: 380px;  /* reduced height */
    max-height: 400px;
    padding: 15px;  /* add padding to prevent image touching edges */
    box-sizing: border-box;
    overflow: hidden;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    background: #e7e4df;
    display: flex;  /* enable centering */
    align-items: center;
    justify-content: center;
    position: relative;
}

.exclusive-offers .product-image img {
    width: auto;     /* allow natural width */
    height: auto;    /* allow natural height */
    max-width: 100%; /* prevent overflow */
    max-height: 100%; /* prevent overflow */
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform .22s ease;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .exclusive-offers .product-image {
        height: 300px;  /* slightly taller for mobile */
        padding: 12px;  /* slightly less padding */
    }
}

/* Keep badge and wishlist above the image */
.exclusive-offers .product-card .badge,
.exclusive-offers .wishlist-icon {
	z-index: 6;
}

/* Gentle zoom on hover */
.exclusive-offers .product-card:hover .product-image img {
	transform: scale(1.03);
}

/* Card content */
.exclusive-offers .product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 0 auto;
}

.exclusive-offers .product-info h3 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    color: #3d2c19; /* dark brown */
    line-height: 1.25;
    font-family: "Playfair Display", serif;
}

/* meta / description */
.exclusive-offers .product-info .meta {
    color: #6e5c3e;
    font-size: 0.9rem;
    margin-top: 2px;
}

/* price row */
.exclusive-offers .price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
}

.exclusive-offers .price .left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.exclusive-offers .current {
    color: #a68c6d; /* muted brown */
    font-weight: 800;
    font-size: 1.08rem;
}

.exclusive-offers .original {
    color: #a8a08a;
    text-decoration: line-through;
    font-size: 0.92rem;
}

.exclusive-offers .discount {
    background: #bfa16a; /* gold */
    color: #fff;
    padding: 4px 8px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.82rem;
}

/* CTA area */
.exclusive-offers .cta-row {
    padding: 12px 16px 18px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px dashed rgba(61,44,25,0.04);
    background: transparent;
}

.exclusive-offers .shop-now-btn {
    background: linear-gradient(90deg, #a68c6d 0%, #bfa16a 100%);
    color: #fff;
    padding: 10px 12px;
    border-radius: 10px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    text-align: center;
    transition: transform .12s ease, box-shadow .12s ease;
}

.exclusive-offers .shop-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(61,44,25,0.10);
}

/* --- Ensure desktop keeps original grid when .offers-slider wrapper exists --- */
@media (min-width: 769px) {
	.exclusive-offers .offers-grid {
		/* restore original grid (desktop) */
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
		gap: 28px;
		padding: 22px 24px;
		position: relative;
	}
	/* make offers-slider behave like the same grid on desktop */
	.exclusive-offers .offers-slider {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
		gap: 28px;
		transform: none !important;
	}

  

	/* hide mobile nav on desktop */
	.slider-nav { display: none !important; }
}

/* --- Mobile slider behavior: only applies <= 768px --- */
@media (max-width: 768px) {
	.exclusive-offers .offers-grid {
		position: relative;
		padding: 12px 0;
		overflow: hidden;
	}

	.exclusive-offers .offers-slider {
		display: flex;
		transition: transform 0.4s ease;
		will-change: transform;
	}

	.exclusive-offers .product-card {
		flex: 0 0 100%;
		width: 100%;
		margin: 0;
	}

	.slider-nav {
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		z-index: 10;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background: rgba(255,255,255,0.95);
		border: none;
		cursor: pointer;
		box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	}

	.prev-btn { left: 10px; }
	.next-btn { right: 10px; }
}

/* Category Explain Section */
.category-explain {
  margin: 0 auto 40px auto;
  padding: 32px 0 0 0;
  max-width: 1200px;
}

.category-explain-title {
  text-align: center;
  font-family: "Philosopher", serif;
  font-size: 2.2rem;
  color: var(--dark-brown);
  margin-bottom: 32px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.category-explain-list {
  /* width: 100%; */
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.category-explain-item {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 40px;
    margin-bottom: 48px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(61,44,25,0.08);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.category-explain-item.reverse {
    flex-direction: row-reverse;
}

/* .category-explain-media {
    flex: 0 0 50%;
} */

.category-explain-content {
    flex: 1;
    padding: 20px 0;
}

.category-explain-img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 16px;
    background: var(--cream);
    padding: 20px;
    transition: transform 0.3s ease;
}

.category-explain-item:hover .category-explain-img {
    transform: scale(1.02);
}

.category-explain-item h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-brown);
    font-family: "Philosopher", serif;
    font-weight: 700;
}

.category-explain-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6e5c3e;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .category-explain-item {
        padding: 30px;
        gap: 30px;
    }
    .category-explain-img {
        height: 320px;
    }
    .category-explain-item h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .category-explain-item,
    .category-explain-item.reverse {
        flex-direction: column; /* stack vertically */
        text-align: center;
        padding: 18px;
        align-items: center;
        overflow: visible;
    }

    /* Always place image first, text second on small screens */
    .category-explain-media { order: 0; width: 100%; }
    .category-explain-content { order: 1; width: 100%; padding-top: 12px; }

    .category-explain-img {
        height: auto;            /* natural height so text is visible */
        max-height: 220px;      /* cap so content remains visible */
        width: 80%;
        margin: 0 0 12px 0;     /* space below image */
        object-fit: contain;
        padding: 0;
        border-radius: 12px;
    }

    /* disable hover zoom on touch/mobile */
    .category-explain-item:hover .category-explain-img,
    .category-explain-img:hover {
        transform: none;
    }
}