/* ============================================================
   The Bead Room by Pallas – Master Stylesheet
   Artisanal Luxury E-Commerce & Workshop Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand Color Tokens */
  --color-rose: #D87A99;
  --color-rose-soft: #F7E8ED;
  --color-rose-glow: rgba(216, 122, 153, 0.25);
  --color-terracotta: #E89A7A;
  --color-plum: #5C2438;
  --color-plum-dark: #3B1623;
  --color-bg-ivory: #FDFBF7;
  --color-gold: #D4AF37;
  --color-gold-glow: rgba(212, 175, 55, 0.3);
  --color-sage: #7D9D86;
  --color-dark-text: #2C2224;
  --color-muted: #7A6C70;
  
  /* UI Surface & Glassmorphism */
  --glass-bg: rgba(253, 251, 247, 0.92);
  --glass-border: rgba(212, 175, 55, 0.28);
  --glass-shadow: 0 20px 40px 0 rgba(92, 36, 56, 0.1);

  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-ivory);
  color: var(--color-dark-text);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  color: var(--color-plum);
}

/* Announcement Bar */
.top-announcement-bar {
  background: linear-gradient(90deg, var(--color-plum-dark) 0%, var(--color-plum) 50%, var(--color-plum-dark) 100%);
  color: #FFF;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 9px 0;
  text-align: center;
  position: relative;
  z-index: 1040;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  letter-spacing: 0.5px;
}

/* Luxurious Header Navbar - Responsive Design */
.navbar-beadroom {
  background: linear-gradient(135deg, rgba(253, 251, 247, 0.96) 0%, rgba(247, 232, 237, 0.92) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 30px rgba(92, 36, 56, 0.06);
  padding: 10px 0;
  transition: var(--transition-smooth);
}

.brand-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(92, 36, 56, 0.08));
  transition: var(--transition-smooth);
}

.brand-logo-img:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 6px 14px rgba(216, 122, 153, 0.25));
}

@media (min-width: 992px) {
  .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    align-items: center;
  }

  .nav-link {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--color-plum) !important;
    margin: 0 4px;
    padding: 8px 16px !important;
    border-radius: 30px;
    position: relative;
    transition: var(--transition-smooth);
    white-space: nowrap !important;
  }
}

@media (max-width: 991.98px) {
  .brand-logo-img {
    height: 40px;
  }

  .navbar-collapse {
    background: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 18px;
    border-radius: var(--radius-md);
    margin-top: 12px;
    box-shadow: 0 15px 35px rgba(92, 36, 56, 0.15);
    border: 1.5px solid var(--glass-border);
  }

  .navbar-nav {
    flex-direction: column !important;
    gap: 6px;
  }

  .nav-link {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-plum) !important;
    padding: 10px 16px !important;
    border-radius: 12px;
    text-align: left;
    display: block;
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(216, 122, 153, 0.15);
  }

  .nav-link.active::after {
    display: none;
  }
}

.nav-link:hover, .nav-link.active {
  color: var(--color-plum) !important;
  background: rgba(216, 122, 153, 0.15);
  box-shadow: inset 0 0 0 1px rgba(216, 122, 153, 0.3);
}

.nav-link.active::after {
  content: '•';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-rose);
  font-size: 1.2rem;
  line-height: 0;
}

/* Buttons & Animations */
.btn-pallas-primary {
  position: relative;
  background: linear-gradient(135deg, var(--color-rose) 0%, #C45F80 100%);
  color: #FFF !important;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 8px 24px rgba(216, 122, 153, 0.38);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.btn-pallas-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: 0.6s;
}

.btn-pallas-primary:hover::before {
  left: 100%;
}

.btn-pallas-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(216, 122, 153, 0.5);
  background: linear-gradient(135deg, #C45F80 0%, var(--color-plum) 100%);
}

.btn-pallas-outline {
  background: #FFF;
  color: var(--color-plum) !important;
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 50px;
  border: 2px solid var(--color-rose);
  box-shadow: 0 4px 14px rgba(92, 36, 56, 0.06);
  transition: var(--transition-smooth);
}

.btn-pallas-outline:hover {
  background: var(--color-rose-soft);
  border-color: var(--color-plum);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(92, 36, 56, 0.12);
}

.btn-cart-toggle {
  position: relative;
  background: #FFF;
  border: 1.5px solid var(--color-rose);
  color: var(--color-plum);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 18px rgba(216, 122, 153, 0.2);
  transition: var(--transition-smooth);
}

.btn-cart-toggle:hover {
  background: var(--color-rose-soft);
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(216, 122, 153, 0.35);
}

.btn-cart-toggle .badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-plum);
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFF;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Luxurious Hero Section */
.hero-section {
  position: relative;
  padding: 90px 0 80px;
  background: radial-gradient(circle at 15% 30%, rgba(247, 232, 237, 0.95) 0%, rgba(253, 251, 247, 1) 85%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFF;
  color: var(--color-plum);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 40px;
  border: 1.5px solid var(--color-gold);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.15);
  margin-bottom: 24px;
}

.hero-title-gradient {
  background: linear-gradient(135deg, var(--color-plum) 0%, #8C3856 50%, var(--color-plum-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-frame-wrapper {
  position: relative;
  padding: 20px;
}

.hero-frame-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, var(--color-rose-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  z-index: 0;
}

.hero-card-box {
  position: relative;
  z-index: 1;
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(92, 36, 56, 0.12);
  border: 2px solid var(--color-rose-soft);
  transition: var(--transition-smooth);
}

.hero-card-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(92, 36, 56, 0.18);
}

.floating-hero-badge {
  position: absolute;
  background: #FFF;
  border: 1px solid var(--glass-border);
  padding: 10px 18px;
  border-radius: 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-plum);
  z-index: 10;
  animation: float-slow 4s ease-in-out infinite;
}

.floating-hero-badge.badge-top-left {
  top: -15px;
  left: -15px;
}

.floating-hero-badge.badge-bottom-right {
  bottom: -15px;
  right: -15px;
  animation-delay: 2s;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Trust Badges Strip */
.trust-strip {
  background: #FFF;
  border-y: 1px solid var(--glass-border);
  padding: 20px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 44px;
  height: 44px;
  background: var(--color-rose-soft);
  color: var(--color-plum);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Section Header */
.section-title-wrap {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--color-rose);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 700;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-filter {
  background: #FFF;
  border: 1.5px solid rgba(216, 122, 153, 0.25);
  color: var(--color-muted);
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.btn-filter:hover, .btn-filter.active {
  background: var(--color-plum);
  color: #FFF;
  border-color: var(--color-plum);
  box-shadow: 0 6px 18px rgba(92, 36, 56, 0.2);
}

/* Product Cards */
.product-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(92, 36, 56, 0.14);
}

.product-img-wrapper {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #F8F4F0;
}

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

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

.wishlist-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CCC;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.wishlist-btn.active, .wishlist-btn:hover {
  color: #E74C3C;
  transform: scale(1.15);
}

.badge-pan-india {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(8px);
  color: var(--color-plum);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(216, 122, 153, 0.35);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-rose);
  font-weight: 800;
  margin-bottom: 6px;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-plum);
  margin-bottom: 15px;
}

.product-price span.original {
  font-size: 0.95rem;
  text-decoration: line-through;
  color: var(--color-muted);
  margin-left: 8px;
  font-weight: 400;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

/* Workshop Cards */
.workshop-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-rose-soft);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.workshop-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-rose);
  box-shadow: 0 24px 48px rgba(92, 36, 56, 0.16);
}

.workshop-date-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-plum);
  color: #FFF;
  text-align: center;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

.workshop-date-badge .day {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.workshop-date-badge .month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.venue-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.seats-meter {
  background: #F2EBE5;
  border-radius: 20px;
  height: 8px;
  overflow: hidden;
  margin: 15px 0 6px;
}

.seats-fill {
  background: linear-gradient(90deg, var(--color-terracotta), var(--color-rose));
  height: 100%;
  border-radius: 20px;
}

/* Custom Estimator Wizard Card */
.estimator-card {
  background: linear-gradient(135deg, #FFF 0%, var(--color-rose-soft) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.estimator-price-display {
  background: var(--color-plum);
  color: #FFF;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.estimator-price-display .price-val {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-gold);
}

/* Testimonial Cards */
.testimonial-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  height: 100%;
}

.star-rating {
  color: var(--color-gold);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

/* Gallery Grid */
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: var(--glass-shadow);
  cursor: pointer;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(92, 36, 56, 0.88) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #FFF;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

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

/* Contact Section & Form */
.contact-card {
  background: #FFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.form-control-pallas {
  background: #FDFBF7;
  border: 1px solid rgba(216, 122, 153, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control-pallas:focus {
  background: #FFF;
  border-color: var(--color-rose);
  box-shadow: 0 0 0 4px rgba(216, 122, 153, 0.15);
  outline: none;
}

/* Floating WhatsApp Button */
.floating-contact-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 62px;
  height: 62px;
  background: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  z-index: 1030;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.floating-contact-btn:hover {
  transform: scale(1.12);
  color: #FFF;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #2D101C 0%, #1A0710 100%);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 35px;
  border-top: 2px solid rgba(212, 175, 55, 0.3);
  position: relative;
}

footer h5 {
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 22px;
}

footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: var(--transition-smooth);
}

footer a:hover {
  color: var(--color-rose);
  padding-left: 4px;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #FFF !important;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
  padding-left: 0 !important;
}

.footer-social-link:hover {
  background: var(--color-rose);
  border-color: var(--color-rose);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(216, 122, 153, 0.4);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-icon {
  color: var(--color-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  margin-top: 60px;
  font-size: 0.875rem;
}
