/* ====================== */
/* GENERAL STYLES */
/* ====================== */
body {
  font-family: 'Playfair Display', Georgia, serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ====================== */
/* NAVBAR STYLES */
/* ====================== */
.navbar-brand img {
  display: block;
  margin: 0 auto;
  max-height: 60px;
}

.navbar-brand div {
  text-align: center;
  font-family: Georgia, serif;
  color: #5d4037;
}

/* ====================== */
/* HERO CAROUSEL SECTION */
/* ====================== */
.hero-carousel {
  position: relative;
   margin-bottom: 0 !important;
}

.carousel-item {
  position: relative;
  height: 80vh;
  min-height: 400px;
  max-height: 800px;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.8);
  transition: transform 8s ease;
}

.carousel-item.active img {
  transform: scale(1.05);
}

.carousel-caption-overlay {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  background: rgba(93, 64, 55, 0.7);
  padding: 40px;
  border-radius: 5px;
  max-width: 500px;
  backdrop-filter: blur(5px);
  border-left: 5px solid #d4af37;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  transition: all 0.5s ease;
}

.carousel-caption-overlay h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #d4af37;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.carousel-caption-overlay p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.btn-shop-now {
  background: linear-gradient(to right, #d4af37, #f1c40f);
  color: #5d4037;
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-shop-now::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn-shop-now:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: rgba(93, 64, 55, 0.7);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background-color: rgba(93, 64, 55, 0.9);
}

.carousel-control-prev { left: 20px; }
.carousel-control-next { right: 20px; }

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 8px;
  background-color: rgba(255,255,255,0.5);
  border: none;
}

.carousel-indicators .active {
  background-color: #d4af37;
}

/* ====================== */
/* COLLECTIONS SECTION */
/* ====================== */
#mainProductsContainer {
  padding-top: 10px;
}

.collections-header {
  text-align: center;
  margin-bottom: 20px;
}

.collections-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
  color: #5d4037;
}

.header-divider {
  width: 80px;
  height: 3px;
  background: #d4af37;
  margin: 10px auto 20px;
}

.collections-grid-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.collection-category {
  margin-bottom: 50px;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.category-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}

.discount-badge {
  background: rgba(0,0,0,0.1);
  color: inherit;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.subcategories-grid {
  display: grid;
grid-template-columns: repeat(5, 1fr);
  gap: 15px; 
  padding: 0 5px; 
}

.subcategory-card {
  background: rgba(255,255,255,0.9); /* Semi-transparent white */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.subcategory-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  z-index: -1;
  opacity: 0.1;
}


.subcategory-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.subcategory-image {
  height: 180px;
  overflow: hidden;
}

.subcategory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.subcategory-card:hover .subcategory-image img {
  transform: scale(1.05);
}

.subcategory-name {
   background: rgba(255,255,255,0.7);
  font-family: 'Playfair Display', serif;
  color: #5d4037;
  text-align: center;
  padding: 15px;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  
}

.btn-view-all {
  background: transparent;
  border: 1px solid;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-view-all:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ====================== */
/* FOOTER STYLES */
/* ====================== */
footer {
  background-color: #5d4037;
  color: white;
  padding: 60px 0 30px;
  font-family: Georgia, serif;
  margin-top: 60px;
}

footer a {
  color: #d4af37;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: white;
}

.footer-links h5 {
  color: #d4af37;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-icons a {
  display: inline-block;
  margin-right: 15px;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  color: #d4af37;
}

.copyright {
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding-top: 20px;
  margin-top: 30px;
  text-align: center;
  font-size: 0.9rem;
}

/* ====================== */
/* UTILITY CLASSES */
/* ====================== */
.loading-spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: text-bottom;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}

/* ====================== */
/* RESPONSIVE ADJUSTMENTS */
/* ====================== */
@media (max-width: 1200px) {
  .carousel-caption-overlay {
    max-width: 450px;
    padding: 30px;
  }
  
  .category-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 992px) {
  .carousel-item {
    height: 65vh;
  }
  
  .carousel-caption-overlay h2 {
    font-size: 2.5rem;
  }
  
  .subcategories-grid {
     grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
  
  .subcategory-image {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    height: 55vh;
    min-height: 350px;
  }
  
  .carousel-caption-overlay {
    max-width: 300px;
    padding: 20px;
    left: 5%;
  }
  
  .carousel-caption-overlay h2 {
    font-size: 2rem;
  }
  
  .carousel-caption-overlay p {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  
  .btn-shop-now {
    padding: 10px 25px;
    font-size: 1rem;
  }
  
  .subcategories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .subcategory-image {
    height: 140px;
  }
  
  .subcategory-name {
    font-size: 1rem;
    padding: 12px;
  }
}

@media (max-width: 576px) {
  .carousel-item {
    height: 50vh;
    min-height: 300px;
  }
  
  .carousel-caption-overlay {
    max-width: 85%;
    padding: 15px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    border-left: none;
    border-bottom: 3px solid #d4af37;
  }
  
  .carousel-caption-overlay h2 {
    font-size: 1.8rem;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  
  .subcategories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .subcategory-image {
    height: 120px;
  }
  
  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  footer {
    padding: 40px 0 20px;
    margin-top: 40px;
  }
}

.btn-view-all {
  font-family: Georgia, serif; 
}