/* ===================================
   CSS Variables & Reset
   =================================== */

:root {
  /* Color Palette - Ultra Premium Jewel Tones */
  --bg-primary: #FAFAFA; /* Cleaner, more modern white/cream base */
  --bg-secondary: #F4F1EA; /* Subtle warm grey/cream for contrast areas */
  --text-primary: #1A1A1A; /* Charcoal */
  --text-secondary: #666666; /* Softer Charcoal */
  --accent-gold: #C5A059; /* Champagne Gold */
  --accent-gold-dark: #A68444; /* Darker Champagne Gold */
  --accent-gold-light: #EADDC0; /* Light Gold */
  --brand-burgundy: #4A1514; /* Deeper, richer Burgundy */
  --bg-dark: #121212; /* Deep Black for Footer */
  --white: #ffffff;
  --black: #000000;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85); /* Cleaner glass */
  --glass-border: rgba(197, 160, 89, 0.15);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.03);

  /* Typography */
  --font-heading: "Playfair Display", serif;
  --font-body: "Montserrat", sans-serif;

  /* Spacing */
  --container-width: 1440px;
  --section-padding: 140px 0; /* More breathing room */
  --section-padding-mobile: 80px 0;

  /* Transitions & Subtle Shadows */
  --transition-smooth: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.4s ease;
  
  /* Extremely subtle, diffused shadows that define luxury */
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.03);
  --shadow-premium: 0 20px 60px rgba(0, 0, 0, 0.05);

  /* Common alias tokens used across pages */
  --dark-gray: var(--text-secondary);
  --medium-gray: #d6d1c8;
  --light-gray: #f5f5f5;
  --bg-cream: var(--bg-secondary);
  --primary-maroon: var(--brand-burgundy);
}

@media (max-width: 768px) {
  :root {
    --section-padding: var(--section-padding-mobile); /* Fixes mobile padding globally */
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.7;
  padding-top: 80px;
  /* Reduced to match new header height */
  width: 100%;
}

/* Prevent long strings/URLs from forcing horizontal scroll on mobile */
p,
a,
li,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: anywhere;
  word-break: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===================================
   Utility Classes
   =================================== */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-smooth);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ===================================
   Navigation
   =================================== */

/* ===================================
   Navigation (Tanishq Inspired)
   =================================== */

/* Top Bar */


.main-header {
  width: 100%;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.main-header.is-sticky {
  box-shadow: var(--shadow-soft);
}

/* Main Navbar */
.navbar {
  width: 100%;
  padding: 15px 0; /* More breathing room for premium feel */
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Nav Links Base */
/* Navigation Utilities */
@media (min-width: 993px) {
  .mobile-only {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .desktop-only {
    display: none !important;
  }
}

/* Nav Links Base */
.nav-links {
  display: flex;
  list-style: none;
  gap: 40px; /* Enhanced tracking spacing */
  margin: 0;
  padding: 0;
}

.nav-links-outer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 60px; /* Wide breather */
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px; /* Editorial feel */
  text-transform: uppercase;
  position: relative;
  padding: 10px 0;
  transition: var(--transition-fast);
  color: var(--text-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background-color: var(--accent-gold);
  transform: translateX(-50%);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent-gold);
}

/* Logo Center */
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 10;
  flex-shrink: 0;
}

.logo img {
  height: 60px;
  width: auto;
  transition: var(--transition-smooth);
}

.navbar.scrolled .logo img {
  height: 60px;
}

/* Right Container (Links + Mobile Hamburger) */
.nav-right-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.nav-icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.nav-icon-item {
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition-fast);
  position: relative;
}

.nav-icon-item:hover {
  color: var(--accent-gold);
  transform: translateY(-2px);
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--white);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  list-style: none;
  padding: 15px 0;
  z-index: 1000;
  border-top: 2px solid var(--accent-gold);
  margin-top: 10px;
  text-align: left;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 0;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 25px;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all 0.2s ease;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.dropdown-menu li a:hover {
  background-color: rgba(197, 160, 89, 0.05);
  color: var(--accent-gold);
  padding-left: 30px;
}

/* Deleted duplicate nav rules */

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================
   Hero Slider Section (Heritage Editorial)
   =================================== */

.hero-slider {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9; /* Scales with zoom/width */
  min-height: 600px;
  max-height: 950px;
  overflow: hidden;
  margin-top: 0;
  background-color: #000; /* Fallback for contain */
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

/* Ken Burns Zoom Effect */
.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 12s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth, long Ken Burns */
}

.slide.active .slide-image {
  transform: scale(1.06); /* Subtle zoom */
}

/* Soft Editorial Overlay - Radial Gradient */
.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

/* Editorial Content Alignment */
.slide-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  text-align: left;
  color: var(--white);
  z-index: 10; /* Increased to stay above border */
  width: 45%;
  max-width: 650px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  padding-bottom: 60px; /* Buffer for ethnic border */
}

/* Staggered Text Reveal Animations */
.slide-title,
.slide-subtitle,
.slide-divider,
.slide-description,
.slide-btns {
  opacity: 0;
  transform: translateY(40px); /* Slightly deeper start */
  transition: all 1.8s cubic-bezier(0.16, 1, 0.3, 1); /* Slower, majestic reveal */
}

.slide.active .slide-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.slide.active .slide-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.slide.active .slide-divider {
  opacity: 1;
  transform: scaleX(1);
  transition-delay: 0.7s;
}

.slide.active .slide-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.slide.active .slide-btns {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1s;
}

/* Typography Details */
.slide-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 25px;
  display: block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 30px;
  color: var(--white);
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slide-divider {
  width: 80px;
  height: 3px;
  background-color: var(--accent-gold);
  margin-bottom: 35px;
  transform-origin: left;
  transform: scaleX(0);
}

.slide-description {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 50px;
  max-width: 550px;
  color: rgba(255, 255, 255, 0.95);
}

.ethnic-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url("../images/ethnic-border-new.png");
  background-size: contain;
  background-repeat: repeat-x;
  background-position: bottom;
  z-index: 5;
  pointer-events: none;
}
  .slide-terms {
  font-size: 0.8rem;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 40px;
  opacity: 0.8;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.dot.active {
  background-color: var(--accent-gold);
  transform: scale(1.2);
  border-color: var(--white);
}

.cta-button {
  display: inline-block;
  padding: 16px 45px;
  background-color: var(--accent-gold);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
}

/* ===================================
   Categories Section
   =================================== */

.categories {
  padding: var(--section-padding);
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--dark-gray);
  letter-spacing: 0.5px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.category-card {
  background-color: var(--white);
  border-radius: 2px; /* Sharper edges */
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
  position: relative;
  border: none; /* No border, rely on shadow */
}

.category-card:hover {
  transform: translateY(-8px); /* More subtle lift */
  box-shadow: var(--shadow-premium);
}

.category-image {
  position: relative;
  overflow: hidden;
  height: 400px;
  background-color: var(--bg-secondary);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(135deg, #fdfdfd 0%, #f5f5f5 100%);
}

.category-card:hover .category-placeholder {
  transform: scale(1.05);
}

.category-content {
  padding: 35px 25px;
  text-align: center;
  position: relative;
  z-index: 2;
  background: var(--white);
}

.category-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--text-primary);
  /* Changed from white to charcoal for visibility */
}

.category-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  /* Improved contrast */
  opacity: 0;
  /* Hidden initially */
  transform: translateY(10px);
  transition: all 0.4s ease 0.1s;
}

.category-card:hover .category-description {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   Product Showcase (Premium)
   =================================== */
.products {
  padding: 100px 0;
  background-color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

.product-card {
  background: var(--white);
  border: none;
  border-radius: 2px;
  padding: 25px 15px; /* More vertical breathing room */
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-5px);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 4px;
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 320px;
  background-color: var(--light-gray);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-placeholder {
  transform: scale(1.1);
}

.wishlist-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(10px, -10px);
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: var(--dark-gray);
}

.product-card:hover .wishlist-btn {
  opacity: 1;
  transform: translate(0, 0);
}

.wishlist-btn:hover {
  background-color: var(--accent-gold);
  color: var(--white);
  transform: scale(1.1) !important;
}

.product-info {
  padding: 30px 20px;
  text-align: center;
  background: var(--white);
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.product-action-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  border: 1px solid var(--primary-maroon);
  color: var(--primary-maroon);
  background: transparent;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.product-card:hover .product-action-btn {
  background: var(--primary-maroon);
  color: var(--white);
  opacity: 1;
}

/* Hide Prices and Wishlist for Showcase Branding */
.product-price,
.wishlist-btn {
  display: none !important;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-gold-dark);
  letter-spacing: 0.5px;
}

/* ===================================
   Our Story (Overlapping Layout)
   =================================== */
.story {
  padding: 120px 0;
  background-color: var(--bg-cream);
  overflow: hidden;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
}

.story-text {
  background: var(--white);
  padding: 60px;
  z-index: 2;
  /* Sits on top */
  box-shadow: var(--shadow-premium);
  margin-right: -80px;
  /* Overlap effect */
  border-left: 5px solid var(--accent-gold);
}

.story-text h2 {
  margin-bottom: 25px;
  line-height: 1.2;
}

.story-text p {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--dark-gray);
  margin-bottom: 25px;
  font-weight: 300;
}

.story-image {
  position: relative;
  z-index: 1;
}

.story-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
}

.story-divider {
  width: 80px;
  height: 2px;
  background-color: var(--accent-gold);
  margin: 20px 0 30px;
}

/* ===================================
   Trust Signals (Minimalist)
   =================================== */

.trust-signals {
  padding: 80px 0;
  background-color: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.trust-card {
  text-align: center;
  padding: 40px 20px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.trust-card:hover {
  border-color: var(--accent-gold);
  background: var(--bg-cream);
}

.trust-icon {
  margin-bottom: 25px;
  display: inline-block;
  padding: 15px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.1);
  /* Gold tint */
  transition: transform 0.3s ease;
}

.trust-card:hover .trust-icon {
  transform: rotateY(180deg);
}

.trust-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--primary-maroon);
}

.trust-description {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--dark-gray);
  line-height: 1.8;
  opacity: 0.8;
}

/* ===================================
   Footer (Premium Dark Mode)
   =================================== */

.footer {
  padding: 100px 0 40px;
  background-color: var(--bg-dark);
  /* Deep Dark Background */
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 100px;
  margin-bottom: 80px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  padding-bottom: 60px;
}

.footer-newsletter h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 30px;
  color: var(--accent-gold);
}

.newsletter-form-inline .input-wrapper {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(197, 160, 89, 0.4);
  padding: 10px 0;
  background: transparent;
  max-width: 400px;
  margin-bottom: 35px;
}

.newsletter-form-inline input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 1rem;
  color: var(--white);
  outline: none;
}

.newsletter-form-inline input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form-inline button {
  background: none;
  color: var(--accent-gold);
  transition: var(--transition-fast);
  transform: translateX(0);
}

.newsletter-form-inline button:hover {
  transform: translateX(5px);
  color: var(--white);
}

.company-info .company-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
}

.company-info .address {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  max-width: 300px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.footer-column h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  position: relative;
  display: inline-block;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 15px;
}

.footer-column ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
  position: relative;
}

.footer-column ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

/* Bottom Footer Section */
.footer-bottom-detailed {
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.social-icons-detailed {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
}

.social-circle {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition-smooth);
}

.social-circle:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--bg-dark);
  transform: translateY(-5px);
}

.copyright-detailed p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 5px;
}

.footer-bottom-right {
  text-align: right;
}

.payment-methods {
  opacity: 0.6;
  filter: grayscale(100%) invert(1);
  /* Make icons white */
}

/* End of Footer (Premium Dark Mode) */
/* Legacy footer styles removed */

.scroll-top-btn:hover {
  background-color: var(--accent-gold);
  color: #fff;
  border-color: var(--accent-gold);
}

/* ===================================
   Collection & Listing Pages
   =================================== */

.collection-group {
  margin-bottom: 80px;
}

.group-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 40px;
  text-align: center;
  color: var(--text-primary);
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.collection-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  text-align: center;
  padding-bottom: 25px;
  display: block;
}

.collection-card:hover {
  box-shadow: var(--shadow-premium);
  transform: translateY(-5px);
}

.collection-card.wide {
  grid-column: span 2;
  padding-bottom: 0;
}

.collection-card .card-image {
  height: 350px;
  overflow: hidden;
}

.collection-card.wide .card-image {
  height: 500px;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.collection-card:hover img {
  transform: scale(1.05);
}

.collection-card h3 {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-primary);
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px 40px 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  text-align: left;
}

.card-overlay h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 10px;
}

.card-overlay p {
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ===================================
   Responsive Design
   =================================== */

/* ===================================
   Responsive Design (Updated)
   =================================== */

@media (max-width: 992px) {
  .nav-container {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    gap: 0;
  }

  .nav-right-container {
    justify-content: flex-end;
  }

  .nav-links-outer {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 30px;
    transition: 0.4s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    gap: 0;
    overflow-y: auto; /* allow scrolling if menu gets too tall */
  }

  .nav-links-outer.active {
    transform: translateX(0);
  }

  .nav-links-outer .nav-links {
    flex-direction: column;
    gap: 15px;
    display: flex;
  }

  .nav-links-outer .nav-left {
    margin-bottom: 20px;
  }

  /* Mobile Dropdown Logic */
  .has-dropdown .dropdown-menu {
    position: static; /* flow naturally in the document */
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    min-width: 100%;
    box-shadow: none;
    border-top: none;
    padding: 0;
    margin-top: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease, margin 0.4s ease;
    border-left: 2px solid var(--accent-gold);
    margin-left: 10px;
  }

  .has-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 400px;
    padding: 10px 0;
    margin-top: 10px;
  }

  .logo img {
    height: 65px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2001;
  }

  .hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .has-mega-menu .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 20px 0;
    box-shadow: none;
  }

  .nav-links.active .has-mega-menu:hover .mega-menu {
    display: block;
  }

  .mega-menu-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mega-menu-image {
    display: none;
  }

  /* Hero adjustments */
  .slide-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .slide-subtitle {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

  .slide-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 30px;
  }

  /* Grid adjustments */
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .ethnic-border {
    height: 30px;
  }

  /* Footer adjustments */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }

  .slide-title {
    font-size: 2.5rem;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom-detailed {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-bottom-right {
    text-align: center;
  }

  .payment-methods {
    justify-content: center;
  }

  .scroll-top-btn {
    margin: 20px auto 0;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .slide-title {
    font-size: 1.8rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .newsletter-form-inline .input-wrapper {
    max-width: 100%;
  }

  .company-info .address {
    margin: 0 auto;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .products-grid,
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Mobile 2-Column */
    gap: 10px;
    /* Tighter gap for mobile */
  }

  .story-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .story-text {
    padding: 30px 25px;
    margin-right: 0;
    border-left: 4px solid var(--accent-gold);
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 0.8rem;
  }

  /* Collection cards that "span 2" should not overflow in narrow layouts */
  .collection-card.wide {
    grid-column: auto;
  }
}

/* Extra-small phones: avoid cramped 2-column product grids */
@media (max-width: 420px) {
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .product-image {
    height: 240px;
  }
}

/* ===================================
   Timeline & My Story Page
   =================================== */

.story-hero {
  padding: 140px 0 100px;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
    url("../images/WhatsApp Image 2024-03-05 at 11.56.36_0fe01422.jpg");
  background-size: cover;
  background-attachment: fixed;
  text-align: center;
}

.timeline-section {
  padding: 100px 0;
  background-color: var(--white);
  position: relative;
}

.timeline-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom,
      transparent,
      var(--accent-gold) 15%,
      var(--accent-gold) 85%,
      transparent);
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 120px;
  width: 100%;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background-color: var(--white);
  border: 4px solid var(--accent-gold);
  border-radius: 50%;
  z-index: 5;
  box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
}

.timeline-content {
  width: 85%;
  padding: 40px;
  background: var(--white);
  border-radius: 12px;
  border-top: 4px solid var(--accent-gold);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: all 0.4s ease;
}

.timeline-content:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(197, 160, 89, 0.15);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 50px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 50px;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 20px;
  line-height: 1;
  opacity: 0.8;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.timeline-text {
  font-size: 1rem;
  color: var(--dark-gray);
  margin-bottom: 25px;
}

.timeline-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-img-wrapper {
  border-radius: 8px;
  overflow: hidden;
  height: auto;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s ease;
  background-color: var(--bg-secondary);
}

.timeline-img-wrapper:hover {
  transform: scale(1.02);
}

.timeline-img-wrapper img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

/* Responsive Timeline */
@media (max-width: 992px) {
  .timeline-section::before {
    left: 20px; /* Move line closer to edge */
  }

  .timeline-item {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 60px; /* Reduced padding-left for more text space */
    margin-bottom: 60px;
  }

  .timeline-item:nth-child(even) {
    padding-left: 60px;
  }

  .timeline-dot {
    left: 10px; /* move dots closer to edge */
  }

  .timeline-content {
    width: 100%; /* Use full available width */
    padding: 20px;
  }

  .timeline-year {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .timeline-item {
    padding-left: 45px; /* Extremely tight on mobile */
  }
  
  .timeline-item:nth-child(even) {
    padding-left: 45px;
  }
  
  .timeline-section::before {
    left: 15px;
  }
  
  .timeline-dot {
    left: 5px;
    width: 20px;
    height: 20px;
  }
  
  .story-hero .section-title {
    font-size: 2rem; /* Ensure title doesn't wrap off-screen */
  }
}

/* Base style for collection-grid if missing */
.collection-grid,
.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.collection-grid.themed {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .collection-grid.themed {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   Static Pages (About/FAQ/Policies/Contact etc.)
   Many of these pages use inline styles; we override for mobile here.
   =================================== */
@media (max-width: 768px) {
  .static-page.container {
    margin-top: 120px !important;
    margin-bottom: 60px !important;
    max-width: 100% !important;
  }

  .collection-main {
    padding-top: 120px !important;
  }

  .static-page .section-title {
    text-align: center !important;
  }

  .static-page .content {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .static-page .content form button,
  .static-page .content .cta-button {
    width: 100% !important;
  }
}

@media (max-width: 480px) {
  .collection-main {
    padding-top: 110px !important;
  }
}

/* ===================================
   Brand Gallery Section
   =================================== */

.brand-gallery {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 400px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item {
    height: 320px;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 260px;
  }
}

/* ===================================
   Testimonials Section
   =================================== */

.testimonials {
  padding: var(--section-padding);
  background-color: var(--white);
  text-align: center;
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  min-height: 250px;
}

.testimonial-card {
  padding: 40px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
  transform: translateY(10px);
}

.testimonial-card.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.testimonial-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.testimonial-text::before {
  content: "“";
  font-family: var(--font-heading);
  font-size: 8rem;
  color: var(--accent-gold);
  opacity: 0.15;
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.customer-name {
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ===================================
   Store & Inquiry Section
   =================================== */

.store-inquiry {
  padding: var(--section-padding);
  background-color: var(--bg-secondary);
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.address-details {
  margin: 30px 0;
  line-height: 2;
  color: var(--text-secondary);
}

.map-container {
  margin-top: 30px;
  box-shadow: var(--shadow-premium);
}

.inquiry-form-container {
  background: var(--white);
  padding: 50px;
  border-radius: 8px;
  box-shadow: var(--shadow-premium);
}

.inquiry-form-container h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 4px;
  font-family: var(--font-body);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.inquiry-form button {
  width: 100%;
}

@media (max-width: 991px) {
  .store-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* ===================================
   Heritage Showcase Section
   =================================== */

.heritage-showcase {
  padding: var(--section-padding);
  background: linear-gradient(135deg, #fdfaf5 0%, #f9f1e1 50%, #fdfaf5 100%);
  position: relative;
  overflow: hidden;
}

.heritage-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 30%, rgba(197, 160, 89, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(197, 160, 89, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.5) 0%, transparent 60%);
  padding: 120px 0;
  background-color: var(--white);
}

.showcase-item {
  display: flex;
  align-items: center;
  gap: 0;
  /* Removed gap for overlap */
  margin-bottom: 150px;
}

.showcase-item:last-child {
  margin-bottom: 0;
}

.showcase-item:nth-child(even) {
  flex-direction: row-reverse;
}

.showcase-image {
  flex: 1;
  /* Balanced layout */
  position: relative;
  z-index: 1;
  max-width: 550px; /* Limit image container width */
}

.showcase-image img {
  width: 100%;
  height: 500px; /* Consistent height */
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s ease;
}

.showcase-item:hover .showcase-image img {
  transform: scale(1.02);
}

.showcase-text {
  flex: 1;
  background: var(--bg-cream);
  /* Cream background */
  padding: 50px 60px;
  z-index: 2;
  /* On top */
  margin-left: -50px;
  /* Reduced overlap */
  box-shadow: var(--shadow-premium);
  border-left: 4px solid var(--accent-gold);
  position: relative;
}

.showcase-item:nth-child(even) .showcase-text {
  margin-left: 0;
  margin-right: -50px;
  /* Reduced overlap */
  border-left: none;
  border-right: 4px solid var(--accent-gold);
}

.showcase-text h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-maroon);
  margin-bottom: 20px;
}

.showcase-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.showcase-text h3::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--accent-gold);
}

.showcase-item:nth-child(even) .showcase-text h3::after {
  left: auto;
  right: 0;
}

.showcase-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

/* Decorative elements */
.showcase-item::after {
  content: "✨";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  opacity: 0.1;
  pointer-events: none;
}

@media (max-width: 991px) {

  .showcase-item,
  .showcase-item:nth-child(even) {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    margin-bottom: 60px;
  }

  .showcase-text h3::after {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
  }
}

/* ===================================
   Craftsmanship & Benefits Section
   =================================== */

/* ===================================
   Craftsmanship & Benefits (Traditional Luxury)
   =================================== */

/* ===================================
   Craftsmanship & Benefits (User Provided Exact Match)
   =================================== */

.backgroundv2 {
  position: relative;
  background-color: #FDF6E3;
  /* Cosmic Latte - Warmer Cream */
  /* Remove external texture to ensure clean color match */
  background-image: none;
  padding-bottom: 80px;
  overflow: hidden;
}

/* Why DP Jewellers Section */
.dp-promise-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.dp-promise-header img {
  display: block;
  margin: 0 auto;
}

.dp-promise-header h2 {
  width: 100%;
  text-align: center;
}

.whydp-main {
  display: flex !important;
  /* Force flex */
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 50px;
  gap: 0;
  width: 100%;
}

.single-div {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10px;
  position: relative;
  margin-bottom: 30px;
  text-align: center;
}

.custom-border-right {
  width: 100%;
  border-right: 1px solid rgba(197, 160, 89, 0.15); /* Subtler Gold Separator */
  height: 100%;
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Remove border for the last item visually */
.single-div:last-child .custom-border-right {
  border-right: none;
}

.benefit-icon {
  width: 45px;
  height: 45px;
  color: #5d4037;
  /* Dark Brown Icon */
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto 15px;
  /* Center icon */
  flex-shrink: 0;
}

.single-div:hover .benefit-icon {
  transform: translateY(-5px);
  color: var(--accent-gold);
}

.dptext3 {
  font-family: var(--font-body);
  color: #5d4037;
  font-size: 0.85rem;
  /* font16 equivalent */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 5px;
  text-align: center;
}

.dptext {
  font-family: var(--font-heading);
  color: #3e2723;
  /* Darker Maroon-Brown */
}

/* Custom Grid Wrapper for "Slider" */
.custom-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /* 6 Items as per HTML */
  gap: 20px;
  overflow-x: auto;
  /* Allow scroll on small screens */
  padding-bottom: 20px;
  margin: 0;
  /* Removed negative margin */
  padding: 0 0 20px 0;
}

.custom-slide-item {
  min-width: 200px;
  /* Ensure items have width on mobile scroll */
  text-align: center;
}

.custom-slide-item img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  aspect-ratio: 3/4;
  /* Standard Portrait Ratio */
  object-fit: cover;
  display: block;
}

.custom-slide-item:hover img {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.custom-slide-item h3 {
  margin-top: 15px;
  font-size: 1.1rem;
  color: #4a3b32;
  font-weight: 500;
}

.custom-slide-item:hover h3 {
  color: var(--primary-maroon);
}

/* Mobile Adjustments */
@media (max-width: 1200px) {
  .custom-grid-wrapper {
    grid-template-columns: repeat(3, 1fr);
    /* 3 cols on medium screens */
  }
}

@media (max-width: 768px) {
  .whydp-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
    /* Gap for grid */
  }

  .single-div {
    border-right: none;
    margin-bottom: 0;
  }

  .custom-border-right {
    border-right: none;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    padding-bottom: 15px;
    margin-bottom: 10px;
  }

  .single-div:nth-last-child(-n+2) .custom-border-right {
    border-bottom: none;
  }

  /* Trust / DP Promise section: single column on mobile */
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }

  .trust-card {
    padding: 28px 20px;
    text-align: center;
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 12px;
    background: var(--bg-cream);
  }

  .trust-title {
    font-size: 1.1rem;
    white-space: normal;
  }

  .trust-description {
    font-size: 0.9rem;
  }

  .ourcrafsld {
    overflow: hidden;
    width: 100%;
    touch-action: pan-y; /* Allow vertical scrolling through the section without sticking */
  }

  /* Center and reduce font size of the Our Craftsmanship heading on mobile */
  .row .section-title.dptext {
    text-align: center !important;
    width: 100%;
    display: block;
    font-size: 1.4rem !important;  /* Smaller so the full word fits on one line */
    white-space: nowrap;           /* Never wrap mid-word */
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Marquee track — JS drives the translateX, CSS just sets up the flex container */
  .custom-grid-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    padding-bottom: 10px;
    overflow: visible;
    touch-action: pan-y;
  }

  .custom-slide-item {
    flex: 0 0 auto;
    width: 200px;
  }

  .custom-slide-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }

  /* Responsive Hero Slider Mobile Fix */
  .hero-slider {
    height: 75vh; /* Much taller, filling most of the screen */
    min-height: 500px;
    max-height: 700px;
    aspect-ratio: auto; /* Remove the strict ratio that squishes it */
  }

  .slide-image {
    background-size: cover; /* Must be cover to fill the taller height */
    background-position: center 20%; /* Keep focus slightly higher on mobile */
  }

  /* Centered Content for Mobile */
  .slide-content {
     width: 90%;
     left: 50%;
     transform: translate(-50%, -50%);
     text-align: center;
     padding-bottom: 0;
     text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  }

  .slide-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    margin-bottom: 10px;
    line-height: 1.1;
  }

  .slide-subtitle {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
  }

  .slide-description {
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: none;
  }

  .slide-divider {
    margin: 0 auto 15px auto;
    width: 40px;
  }

  .slide.active .slide-divider {
     transform: scaleX(1);
  }

  .cta-button {
      padding: 10px 25px;
      font-size: 0.8rem;
  }
}

/* ===================================
   Traditional Section (Replaces Featured)
   =================================== */

.traditional-section {
  padding: 100px 0;
  background-color: var(--white);
}

.traditional-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 100px;
  gap: 40px;
}

.traditional-row:last-child {
  margin-bottom: 0;
}

.traditional-row.reverse {
  flex-direction: row-reverse;
}

.traditional-image {
  flex: 1;
  max-width: 45%;
}

.traditional-image img {
  width: 100%;
  border-radius: 4px;
  /* Slight rounding for elegance */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.traditional-row:hover .traditional-image img {
  transform: scale(1.02);
}

.traditional-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent-gold);
  opacity: 0.6;
}

.divider-line {
  width: 1px;
  height: 80px;
  /* Traditional vertical line look */
  background-color: var(--accent-gold);
}

.divider-icon {
  font-size: 1.5rem;
}

.traditional-content {
  flex: 1;
  max-width: 45%;
  padding: 0 20px;
}

.traditional-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: #3e2723;
  /* Deep Maroon/Brown */
  margin-bottom: 20px;
  line-height: 1.2;
}

.traditional-para {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #5d4037;
  line-height: 1.8;
  opacity: 0.9;
  text-align: justify;
}

/* Mobile Adjustments */
@media (max-width: 900px) {

  .traditional-row,
  .traditional-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .traditional-image,
  .traditional-content {
    max-width: 100%;
  }

  .traditional-divider {
    flex-direction: row;
    /* Horizontal divider on mobile */
    width: 100%;
    margin: 20px 0;
  }

  .divider-line {
    width: 80px;
    height: 1px;
  }

  .traditional-para {
    text-align: center;
  }
}

/* ===================================
   Bottom Banner Section
   =================================== */

.bottom-banner {
  width: 100%;
  line-height: 0;
  /* Remove gap below image */
  overflow: hidden;
}

.bottom-banner img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 2s ease;
}

.bottom-banner:hover img {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .craftsmanship-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-item:not(:last-child)::after {
    display: none;
  }
}


/* ===================================
   Ultra-Premium Utilities (Added)
   =================================== */



/* Scroll Reveal Animation */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Delays */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

/* Mobile-First Grid (2 Column) */
.mobile-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  /* Slightly more gap for clarity */
}

@media (min-width: 768px) {
  .mobile-grid-2col {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (min-width: 1024px) {
  .mobile-grid-2col {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile Sticky Filter Bar */
.mobile-filter-bar {
  display: none;
  /* Hidden by default */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px;
  justify-content: space-around;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .mobile-filter-bar {
    display: flex;
  }

  /* Hide standard filters on mobile if they exist */
  .desktop-filters {
    display: none;
  }
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  /* Lighter weight for premium feel */
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--brand-burgundy);
}

.section-subtitle {
  font-style: italic;
  color: var(--accent-gold);
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

@media (max-width: 576px) {
  .craftsmanship-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }

  .benefit-item {
    flex: 1 1 45%;
  }
}

/* Base Mobile Enhancements */
@media (max-width: 768px) {
  .testimonials-slider {
    min-height: 380px; /* Accounts for longer text wrapping */
  }
}

/* ===================================
   Video Hero Section
   =================================== */

.video-hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height for maximum engagement */
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000;
}

.video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 0 20px;
  margin-top: -50px;
}

.video-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  animation-delay: 0.1s;
}

.video-title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 25px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
  animation-delay: 0.3s;
}

.video-divider {
  width: 60px;
  height: 3px;
  background-color: var(--accent-gold);
  margin: 0 auto 25px;
  animation-delay: 0.5s;
}

.video-description {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 40px;
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  animation-delay: 0.7s;
}

.video-btns {
  animation-delay: 0.9s;
}

.video-btns .cta-button {
  background-color: var(--accent-gold);
  color: #fff;
  padding: 16px 45px;
  border: 1px solid var(--accent-gold);
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.video-btns .cta-button:hover {
  background-color: transparent;
  color: var(--accent-gold);
}

/* DP Promise Logo */
.dp-promise-logo {
  display: block;
  margin: 0 auto;
  max-width: 300px;
  height: auto;
}

@media (max-width: 900px) {
  .video-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .video-hero {
    height: 80vh;
  }
  
  .video-subtitle {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }
  
  .video-title {
    font-size: 2.2rem;
  }
  
  .video-description {
    font-size: 1rem;
    padding: 0 10px;
  }
  
  .dp-promise-logo {
    max-width: 220px;
  }
}
