/* =====================================================
   UMBER FURNITURE SHOWROOM — MAIN STYLESHEET
   assets/css/style.css
===================================================== */

/* Local Poppins Font Faces */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/poppins-v24-latin-900.woff2') format('woff2');
}

/* Local Bootstrap Icons Font Face */
@font-face {
  font-family: 'bootstrap-icons';
  font-style: normal;
  font-weight: normal;
  font-display: block;
  src: url('../fonts/bootstrap-icons.woff2') format('woff2'),
       url('../fonts/bootstrap-icons.woff') format('woff');
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

html,
body {
  font-family: 'Poppins', 'Inter', ui-sans-serif, system-ui, sans-serif;
  max-width: 100% !important;
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

.font-display {
  font-family: 'Georgia', serif;
}

.font-sans {
  font-family: 'Poppins', 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* =====================================================
   NAVIGATION BAR & DROPDOWNS
===================================================== */
.mobile-toggle {
  display: none;
}

.nav-active {
  font-weight: 700;
  position: relative;
}

.nav-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: #644238;
  border-radius: 2px;
}

.home-active {
  font-weight: 700 !important;
  position: relative;
}

#homeDropdownMenu li a.nav-active::after,
#dashboardDropdownMenu li a.nav-active::after,
#profileMenu li a.nav-active::after {
  display: none;
}

@media (max-width: 1024px) {
  #navLinks {
    gap: 14px;
  }
}

@media (max-width: 820px) {
  #centerLinksWrapper {
    display: none !important;
  }

  #rightButtons .text-xl,
  #rightButtons .text-2xl {
    font-size: 1.25rem;
  }
}

@media (min-width: 821px) {
  #hamburgerBtn {
    display: none !important;
  }

  #mobileMenuOverlay,
  #mobileMenu {
    display: none !important;
  }

  #centerLinksWrapper {
    display: flex !important;
  }

  .lg\:flex {
    display: flex !important;
  }
}

.mobile-menu-open {
  overflow: hidden;
}

#mobileMenu.active {
  transform: translateX(0);
}

#mobileMenuOverlay.active {
  display: block !important;
}

#mobileDropdownMenu {
  transition: max-height 0.3s ease-out;
}

#mobileDropdownMenu.show {
  display: block !important;
  animation: slideDown 0.3s ease-out;
}

#hamburgerBtn,
#hamburgerBtn i {
  color: #5D4037 !important;
}

#hamburgerBtn:hover,
#hamburgerBtn:hover i {
  color: #3E2723 !important;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .nav-active::after {
    display: none;
    font-weight: 900;
  }
}

@media (max-width: 426px) {
  #theme-toggle i {
    font-size: 15px;
  }

  #hamburgerBtn,
  #hamburgerBtn i {
    font-size: 20px;
    color: #5D4037 !important;
  }

  #closeMenuBtn {
    font-size: 20px;
  }

  #rightButtons {
    gap: 1rem;
  }
}

/* =====================================================
   GLOBAL ANIMATIONS & UTILITIES
===================================================== */

/* Scroll Reveal Fade-up */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Infinite Marquee */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  animation: marquee 26s linear infinite;
}

/* Outlined Display Text */
.text-outline {
  -webkit-text-stroke: 1px #7a5c52;
  color: transparent;
}

/* =====================================================
   AUTH PAGES — login.html & sign.html
===================================================== */

/* Navbar button resets */
#signNavbar button,
#sign-theme-toggle,
#sign-rtlToggle,
#loginNavbar button,
#login-theme-toggle,
#login-rtlToggle {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Form inputs */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--auth-input-bg, #ffffff);
  border: 1.5px solid var(--auth-input-border, #D7CCC8);
  border-radius: 0.75rem;
  color: var(--auth-input-text, #3E2723);
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input:focus {
  border-color: #8D6E63;
  box-shadow: 0 0 0 3px rgba(141, 110, 99, 0.15);
}

.form-input::placeholder {
  color: #A1887F;
}

/* Password wrapper & toggle */
.password-wrapper {
  position: relative;
}

.password-wrapper .form-input {
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  cursor: pointer;
  color: #8D6E63;
  font-size: 1.1rem;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.password-toggle:hover {
  color: #5D4037;
}

/* Primary auth submit button */
.btn-signup,
.btn-login {
  width: 100%;
  padding: 0.85rem 1.5rem;
  background-color: #5D4037;
  color: #ffffff !important;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
  box-shadow: 0 4px 15px rgba(93, 64, 55, 0.3);
}

.btn-signup:hover,
.btn-login:hover {
  background-color: #3E2723;
  box-shadow: 0 6px 20px rgba(93, 64, 55, 0.4);
  transform: translateY(-1px);
}

.btn-signup:active,
.btn-login:active {
  transform: translateY(0);
}

/* Social auth buttons */
.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border: 1.5px solid #D7CCC8;
  border-radius: 0.75rem;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  color: #3E2723;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
  flex: 1;
}

.btn-social:hover {
  background-color: #F5F1EF;
  border-color: #8D6E63;
  box-shadow: 0 2px 8px rgba(93, 64, 55, 0.1);
}

/* Social button text — icon-only on mobile */
.btn-social-text {
  display: none;
}

@media (min-width: 480px) {
  .btn-social-text {
    display: inline;
  }
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #A1887F;
  font-size: 0.8rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #EFEBE9;
}

/* Checkbox */
.form-checkbox {
  accent-color: #5D4037;
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Page background */
.auth-page-bg {
  min-height: 100vh;
  background: linear-gradient(135deg, #FDFBF9 0%, #F5EDE8 50%, #EDE0D4 100%);
  padding-top: 90px;
  padding-bottom: 24px;
}

/* Form card */
.form-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(93, 64, 55, 0.12), 0 4px 16px rgba(93, 64, 55, 0.08);
  border: 1px solid #EFEBE9;
}

/* Form label */
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5D4037;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

/* Brown link */
.link-brown {
  color: #8D6E63;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.link-brown:hover {
  color: #5D4037;
}

/* Background blobs */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: #8D6E63;
  top: -100px;
  right: -100px;
  animation: float-blob 8s ease-in-out infinite;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: #5D4037;
  bottom: 100px;
  left: -80px;
  animation: float-blob 10s ease-in-out infinite reverse;
}

.blob-login-1 {
  width: 400px;
  height: 400px;
  background: #8D6E63;
  top: -100px;
  left: -100px;
  animation: float-blob 8s ease-in-out infinite;
}

.blob-login-2 {
  width: 300px;
  height: 300px;
  background: #5D4037;
  bottom: 80px;
  right: -80px;
  animation: float-blob 10s ease-in-out infinite reverse;
}

@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-10px, 15px) scale(0.97); }
}

/* Mobile responsive overrides for auth pages */
@media (max-width: 640px) {
  .auth-page-bg {
    padding-top: 76px;
    padding-bottom: 16px;
  }

  .form-card {
    padding: 1.4rem 1.1rem;
    border-radius: 1rem;
    margin: 0;
  }

  .form-input {
    padding: 0.6rem 0.75rem;
    font-size: 0.82rem;
    border-radius: 0.6rem;
  }

  .btn-signup,
  .btn-login {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .form-label {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
  }

  .btn-social {
    padding: 0.55rem;
    flex: unset;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
  }
}

/* =====================================================
   RESTORED COMPONENT STYLES
===================================================== */
/* Masonry for Gallery */
.masonry { column-count: 1; column-gap: 1.25rem; }
.masonry-item { break-inside: avoid; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .masonry { column-count: 2; } }
@media (min-width: 1024px) { .masonry { column-count: 3; } }

/* Quote Slide for Gallery */
.quote-slide { opacity: 0; pointer-events: none; position: absolute; inset: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; }
.quote-slide.active { opacity: 1; pointer-events: auto; position: relative; transform: translateY(0); }

/* Cascade Progress for Gallery / About */
.cascade-bridge { position: relative; }
.cascade-bridge::before { content: ""; position: absolute; left: 15px; top: 40px; bottom: -40px; width: 2px; background-color: #E8DED9; }
[data-theme="dark"] .cascade-bridge::before { background-color: #3a3a3a; }

/* Carousel Track for Collections */
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; }

/* FAQ Accordion for Contact */
.faq-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease; }
.faq-item.open .faq-panel { max-height: 500px; padding-bottom: 1rem; }
.faq-item .bi-chevron-down { transition: transform 0.3s ease; }
.faq-item.open .bi-chevron-down { transform: rotate(180deg); }

/* Care Panels for Materials */
.care-panel { display: none; }
.care-panel:not(.hidden) { display: block; }

/* =====================================================
   SHOWROOM ANIMATION SYSTEM
===================================================== */

/* 1. SCROLL REVEAL UTILITIES */
.reveal,
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.reveal.is-visible,
.reveal-up.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-zoom.is-visible,
.reveal-fade.is-visible {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Stagger Delays */
.delay-100 { transition-delay: 100ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-400 { transition-delay: 400ms !important; }
.delay-500 { transition-delay: 500ms !important; }

/* 2. HERO ENTRANCE KEYFRAMES */
@keyframes heroTitleIn {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDescIn {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBadgeIn {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroCtaIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroBgIn {
  0% {
    opacity: 0.7;
    transform: scale(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Automatic Hero Animations for Showroom Pages */
section.relative:first-of-type h1,
section.bg-brand-900:first-of-type h1,
.hero h1 {
  animation: heroTitleIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

section.relative:first-of-type p.mt-7,
section.relative:first-of-type p.mt-6,
section.relative:first-of-type p.max-w-xl,
section.bg-brand-900:first-of-type p {
  animation: heroDescIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

section.relative:first-of-type .inline-flex.items-center.gap-2.border,
section.bg-brand-900:first-of-type .inline-flex.items-center.gap-2.border {
  animation: heroBadgeIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

section.relative:first-of-type .mt-9.flex,
section.bg-brand-900:first-of-type .mt-9.flex,
section.relative:first-of-type .mt-10.flex {
  animation: heroCtaIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

section.relative:first-of-type > img.absolute.inset-0,
section.bg-brand-900:first-of-type > img.absolute.inset-0 {
  animation: heroBgIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* 3. INTERACTIVE MICRO-ANIMATIONS */

/* Hover Lift on Cards and Figures */
.card,
figure.bg-\[\#F7F3EE\],
figure.bg-white,
.masonry-item,
.hover-lift {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.card:hover,
figure.bg-\[\#F7F3EE\]:hover,
figure.bg-white:hover,
.masonry-item:hover,
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -8px rgba(93, 64, 55, 0.16);
}

/* Smooth Image Hover Zoom in Showcases */
.group.relative.overflow-hidden img,
.relative.overflow-hidden img,
a.group img {
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover img,
.relative.overflow-hidden:hover img,
a.group:hover img {
  transform: scale(1.05);
}

/* Luxury Button Hover Shimmer */
a[class*="bg-brand-"]:not([class*="bg-brand-50"]):not([class*="bg-brand-100"]),
button[type="submit"],
.btn-signup,
.btn-login,
.btn-shimmer {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

a[class*="bg-brand-"]:not([class*="bg-brand-50"]):not([class*="bg-brand-100"]):hover,
button[type="submit"]:hover,
.btn-signup:hover,
.btn-login:hover,
.btn-shimmer:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -5px rgba(93, 64, 55, 0.28);
}

a[class*="bg-brand-"]:not([class*="bg-brand-50"]):not([class*="bg-brand-100"])::after,
button[type="submit"]::after,
.btn-signup::after,
.btn-login::after,
.btn-shimmer::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  transition: transform 0.75s ease;
  pointer-events: none;
}

a[class*="bg-brand-"]:hover::after,
button[type="submit"]:hover::after,
.btn-signup:hover::after,
.btn-login:hover::after,
.btn-shimmer:hover::after {
  transform: translateX(360%) rotate(25deg);
}

/* 4. NAVBAR SCROLL ANIMATION */
#mainNavbar,
#signNavbar,
#loginNavbar {
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

#mainNavbar.navbar-scrolled,
#signNavbar.navbar-scrolled,
#loginNavbar.navbar-scrolled {
  padding-top: 0.65rem !important;
  padding-bottom: 0.65rem !important;
  background-color: rgba(253, 251, 249, 0.94) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px -4px rgba(93, 64, 55, 0.12) !important;
}

[data-theme="dark"] #mainNavbar.navbar-scrolled,
[data-theme="dark"] #signNavbar.navbar-scrolled,
[data-theme="dark"] #loginNavbar.navbar-scrolled {
  background-color: rgba(18, 18, 18, 0.94) !important;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.6) !important;
}

/* 5. GENTLE FLOATING ACCENTS */
@keyframes floatGently {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.float-badge,
.bi-star-fill {
  display: inline-block;
  transition: transform 0.25s ease;
}

figure:hover .bi-star-fill {
  transform: scale(1.15);
}

/* 6. BACK TO TOP BUTTON */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: #5D4037;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 20px rgba(93, 64, 55, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 45;
  border: 2px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.back-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
  background-color: #3E2723;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 28px rgba(93, 64, 55, 0.4);
}

[data-theme="dark"] .back-to-top-btn {
  background-color: #795548;
  border-color: rgba(255, 255, 255, 0.1);
}

/* =====================================================
   404 ERROR PAGE ANIMATIONS
===================================================== */

/* 1. Hanging Pendant Lamp Swing */
@keyframes lampSwing {
  0% {
    transform: rotate(-3.5deg);
  }
  50% {
    transform: rotate(3.5deg);
  }
  100% {
    transform: rotate(-3.5deg);
  }
}

.animate-lamp {
  transform-origin: top center;
  animation: lampSwing 6s ease-in-out infinite;
  will-change: transform;
}

/* 2. Warm Lamp Bulb & Spotlight Glow */
@keyframes lampGlow {
  0%, 100% {
    opacity: 0.75;
    filter: drop-shadow(0 0 16px rgba(254, 243, 199, 0.65));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 30px rgba(254, 243, 199, 0.95));
  }
}

.animate-glow {
  animation: lampGlow 3.5s ease-in-out infinite;
}

/* 3. Floating Handcrafted Chair (The '0' in 404) */
@keyframes floatChair {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(-1.5deg);
  }
}

.animate-float-chair {
  animation: floatChair 4s ease-in-out infinite;
  will-change: transform;
}

/* 4. Interactive Ground Shadow */
@keyframes chairShadow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(0.7);
    opacity: 0.28;
  }
}

.animate-shadow {
  animation: chairShadow 4s ease-in-out infinite;
  will-change: transform, opacity;
}

/* 5. Shimmering 404 Typography */
@keyframes textShimmerAnim {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.text-shimmer {
  background: linear-gradient(135deg, #FFFFFF 0%, #D4C4BD 35%, #F5F1EF 50%, #B8A39A 70%, #FFFFFF 100%);
  background-size: 250% 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmerAnim 6s ease-in-out infinite;
  display: inline-block;
}

/* 6. Floating Atmospheric Dust Motes */
@keyframes floatParticleA {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.2;
  }
  33% {
    transform: translate(16px, -24px);
    opacity: 0.65;
  }
  66% {
    transform: translate(-10px, -40px);
    opacity: 0.4;
  }
}

@keyframes floatParticleB {
  0%, 100% {
    transform: translate(0, 0);
    opacity: 0.25;
  }
  50% {
    transform: translate(-18px, 20px);
    opacity: 0.7;
  }
}

.particle-a {
  animation: floatParticleA 9s ease-in-out infinite;
}

.particle-b {
  animation: floatParticleB 11s ease-in-out infinite;
}

/* =====================================================
   COMING SOON PAGE DEDICATED STYLES
===================================================== */
body.coming-soon-body {
  background-color: #FFFFFF !important;
  color: #1F1A17 !important;
  min-height: 100vh;
}

.coming-soon-card {
  background: #FFFFFF !important;
  border: 1px solid #EFEAE6 !important;
  box-shadow: 0 10px 25px -4px rgba(62, 39, 35, 0.08), 0 2px 6px -1px rgba(62, 39, 35, 0.04) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.coming-soon-card:hover {
  background: #FFFFFF !important;
  border-color: #8D6E63 !important;
  transform: translateY(-5px);
  box-shadow: 0 18px 36px -6px rgba(62, 39, 35, 0.15) !important;
}

.coming-soon-form-box {
  background: rgba(36, 23, 18, 0.85) !important;
  border: 1px solid rgba(212, 196, 189, 0.3) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.coming-soon-teaser {
  background: rgba(38, 25, 20, 0.65) !important;
  border: 1px solid rgba(212, 196, 189, 0.18) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.coming-soon-teaser:hover {
  background: rgba(54, 36, 28, 0.85) !important;
  border-color: rgba(212, 196, 189, 0.4) !important;
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.45) !important;
}

/* =====================================================
   MATERIAL EXPLORER (materials.html)
===================================================== */
.mat-item {
  background-color: #ffffff;
  border: 1px solid #E8DED9 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
}

.mat-item:hover:not(.active) {
  background-color: #FAF6F0;
  border-color: #B8A39A !important;
}

.mat-item.active {
  background-color: #5D4037 !important;
  border-color: #3E2723 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(93, 64, 55, 0.28) !important;
}

.mat-item.active span {
  color: #ffffff !important;
}

.mat-item.active span.text-stone-400 {
  color: #D7CCC8 !important;
}

/* 7. PREFERS-REDUCED-MOTION (ACCESSIBILITY) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-zoom,
  .reveal-fade,
  .animate-lamp,
  .animate-float-chair,
  .animate-shadow,
  .animate-glow,
  .particle-a,
  .particle-b {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
