/* Loader Background */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 1s ease, visibility 1s ease;
  overflow: hidden; 
}

/* Blurred background layer */
#loader::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/images/Pure_Saffron_Background_No_Text.png') center center/cover no-repeat;
  background-size: cover;
  background-position: center;
  filter: blur(2px);  
  z-index: 1;
}

/* Loader hide hone par */
#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Loader Content */
.loader-content {
  text-align: center;
  position: relative;
  z-index: 2; /* ensure logo above blurred background */
}

/* Logo Styling (responsive) */
.loader-logo {
  width: 45vw;             /* responsive width */
  max-width: 300px;        /* desktop max size */
  height: auto;            /* maintain aspect ratio */
  border-radius: 50%;      /* circle */
  object-fit: cover;
  display: block;
  margin: 0 auto;
  animation: zoomIn 1.5s ease-in-out forwards;
  border: none;
  outline: none;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6); /* golden glow */
}

/* Zoom In Animation */
@keyframes zoomIn {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Fade In Animation */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}





/* Headings in Times New Roman */
h1, h2, h3, h4, h5, h6 {
  font-family: "Times New Roman", Times, serif !important;
}

.tagline {
  font-family: "Times New Roman", Times, serif !important;
  font-style: italic;
}

/* Navbar Base */
.navbar {
  background-color: #0c0c0c;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 1050;
}

/* Logo Image */
.navbar-brand img {
  width: 55px;
  height: 55px;
  margin-right: 10px;
  object-fit: cover;
  border-radius: 50%;
}

/* Logo Text */
.brand-text h5 {
  font-size: 18px;
  color: #ffb700;
  margin: 0;
  font-weight: bold;
  line-height: 1.2;
}

.brand-text p {
  font-size: 12px;
  color: #ccc;
  margin: 0;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* Navbar Links */
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: bold;
  margin: 5px 12px;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  position: relative;
  text-align: left; /* side aligned */
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffb700 !important;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: #ffb700;
  border-radius: 3px;
}

/* Shop Now Button */
.shop-btn {
  background: linear-gradient(to right, #ffb700, #e6a400);
  color: #000 !important;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shop-btn:hover {
  background: linear-gradient(to right, #e6a400, #ffb700);
  transform: translateY(-2px);
}

/* Cart Badge */
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #ffc107;
  color: #000;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 991px) {
  .navbar-nav {
    flex-direction: column;
  }
  .shop-btn {
    margin-top: 10px;
  }
}



/* Hero Section */
.about-hero {
  position: relative;
  height: 400px;
  background: url('/images/Pure_Saffron_Background_No_Text.png') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* Dark overlay */
.about-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 12, 12, 0.55); /* semi-dark layer */
}

/* Content */
.about-hero .container {
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: #ffac07;
  margin-bottom: 15px;
}

.about-hero p {
  font-size: 20px;
  color: #ffffff;
  text-align: center;
}
.hero-section .shop-btn {
  background: linear-gradient(to right, #ff9900, #ff9900);
  color: #000;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.hero-section .shop-btn:hover {
  background: linear-gradient(to right, #e6a400, #ffb700);
  transform: translateY(-3px);
}


/* ---------- Products Section Styles ---------- */
.products-section {
  padding: 60px 0;
}

/* Product Card */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Product Image / Background */
.product-card .product-image {
  background: #f8f9fa;
  padding: 40px 20px;
  position: relative;
  text-align: center;
  transition: background 0.3s ease;
}

.product-card:hover .product-image {
  background: #fff3cd; /* light golden background */
}

/* ---------- Badges ---------- */

/* Exclusive */
.badge-exclusive {
  background: linear-gradient(135deg, #6a0dad, #a64ca6);
  color: #fff;
}

/* Gift Box */
.badge-gift {
  background: linear-gradient(135deg, #ffcc00, #ff9900);
  color: #000;
}

/* Premium */
.badge-premium {
  background: linear-gradient(135deg, #222, #555);
  color: #ffcc00;
}

/* ---------- Card Body ---------- */
.product-card .card-body h5 {
  font-weight: 700;
}

.product-card .rating {
  color: #ffc107;
}

/* ---------- Add to Cart Button ---------- */
.product-card .btn-cart {
  background: #ffc107;
  border: none;
  color: #000;
  font-weight: bold;
  transition: all 0.3s ease;
}

.product-card .btn-cart:hover {
  background: #e0a800;
  color: #fff;
}

.product-card .btn-cart.added {
  background: #28a745 !important; /* Green */
  color: #fff !important;
  pointer-events: none;
}


/* Toast Container */
#toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1055;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Toast Message (Updated: light theme) */
.toast-message {
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  animation: fadeInRight 0.4s ease, fadeOut 0.5s ease 2.5s;
  min-width: 220px;
  text-align: left;
}

/* ✅ Success Toast */
.toast-message.success {
  background: #d4edda;
  color: #155724;
  border-left: 6px solid #28a745;
}

/* ❌ Error Toast */
.toast-message.error {
  background: #f8d7da;
  color: #721c24;
  border-left: 6px solid #dc3545;
}

/* Animation */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateX(50px);
  }
}




/* Hover pop effect for saffron special cards */
.card {
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}

.card:hover {
  transform: scale(1.08);  /* zoom pop effect */
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); /* deep shadow */
  z-index: 2; /* ensure it stays above others while zooming */
}



/* Footer */
.footer {
  background: #111;
  color: #fff;
  padding: 70px 30px 30px;
  font-family: Arial, sans-serif;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  max-width: 1250px;
  margin: auto;
}

/* Brand Section */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}
.footer-logo-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-about h2 {
  color: #ffc107;
  margin: 0;
  font-size: 22px;
}
.footer-about .tagline {
  font-size: 14px;
  font-style: italic;
  margin: 0;
  background: linear-gradient(90deg, #ffffff, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}
.footer-text {
  margin: 18px 0;
  font-size: 15px;
  color: #ccc;
  line-height: 1.7;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, filter 0.3s;
}
.social-icons a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.social-linkedin img {
  background-color: #ffffff; /* white background */
  border-radius: 20%;       /* circular icon */
  width: 32px;
  height: 32px;
  display: inline-block;
}
.social-icons a:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Links */
.footer-links h3,
.footer-contact h3 {
  color: #ffc107;
  margin-bottom: 18px;
  font-size: 18px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li {
  margin-bottom: 10px;
}
.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
}
.footer-links ul li a:hover {
  color: #ffc107;
}

/* Contact */
.footer-contact p {
  margin: 10px 0;
  font-size: 15px;
  color: #ccc;
}
.footer-contact i {
  margin-right: 8px;
  color: #ffc107;
}

/* Newsletter */
.newsletter {
  display: flex;
  margin-top: 12px;
}
.newsletter input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ffc107;
  background: #111;
  color: #fff;
  border-radius: 6px 0 0 6px;
  outline: none;
}
.newsletter button {
  background: linear-gradient(90deg, #ffc107, #ff9900);
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
  color: #111;
  font-size: 16px;
  transition: 0.3s;
}
.newsletter button i {
  color: #000;
}
.newsletter button:hover {
  opacity: 0.9;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1250px;
  margin-left: auto;
  margin-right: auto;
}
.footer-bottom p {
  font-size: 14px;
  color: #aaa;
}
.footer-policies {
  display: flex;
  gap: 25px;
}
.footer-policies a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}
.footer-policies a:hover {
  color: #ffc107;
}

/* Scroll Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background: #ffc107;
  color: #111;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Keep alignment to left side */
  .footer {
    text-align: left;
  }

  .footer-brand {
    justify-content: flex-start;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start; /* side align */
    gap: 12px;
  }
}




/* Newsletter Toast Style */
.form-toast {
  visibility: hidden;
  min-width: 300px;
  background-color: #d4edda;
  color: #155724;
  text-align: left;
  border-radius: 6px;
  padding: 12px 16px;
  position: fixed;
  left: 20px;
  bottom: 30px;
  z-index: 9999;
  border: 1px solid #c3e6cb;
  font-size: 15px;
  box-shadow: 0px 3px 8px rgba(0,0,0,0.15);
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
  transform: translateY(20px);
}
.form-toast.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.form-toast .close-btn {
  float: right;
  cursor: pointer;
  font-weight: bold;
  margin-left: 8px;
}



/* ---------- Filter Controls ---------- */
.filter-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px; /* category aur sort ke beech ka space */
  margin-bottom: 30px;
  flex-wrap: wrap; /* mobile par neeche shift ho jaye */
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px; /* label aur dropdown ke beech ka gap */
}

.filter-group label {
  font-weight: bold;
  margin: 0;
  white-space: nowrap; /* ek line me rakhe */
}

.filter-group select {
  min-width: 180px;
  padding: 6px 10px;
  border: 1px solid #ffc107;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
