/* =========================================================================
   SNA Hotelware - Clean Luxury Minimalist Design System
   ========================================================================= */

:root {
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --color-gold: #C5A880;
  --color-gold-hover: #B5966B;
  --color-navy: #0B0F19;
  --color-navy-card: #131A29;
}

body {
  font-family: var(--font-body);
  background-color: #FAFAFB;
  color: #1E293B;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
}

/* Glassmorphism & Header */
.glass-header {
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Clean Gold Button */
.btn-gold {
  background: linear-gradient(135deg, #C5A880 0%, #B39366 100%);
  color: #0B0F19;
  font-weight: 700;
  transition: all 0.25s ease;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #D4BA94 0%, #C5A880 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(197, 168, 128, 0.35);
}

/* Outline Gold Button */
.btn-outline-gold {
  border: 1px solid rgba(197, 168, 128, 0.6);
  color: #C5A880;
  transition: all 0.25s ease;
}

.btn-outline-gold:hover {
  background: rgba(197, 168, 128, 0.1);
  border-color: #C5A880;
  color: #FFFFFF;
}

/* Subtle Card Hover */
.clean-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.clean-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.06);
}

/* Product Image Zoom */
.img-zoom {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Filter Pill States */
.filter-pill {
  transition: all 0.2s ease;
}

.filter-pill.active {
  background-color: #0B0F19 !important;
  color: #FFFFFF !important;
  border-color: #0B0F19 !important;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  z-index: 40;
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

/* Drawer Transitions */
.drawer-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-content.open {
  transform: translateX(0);
}

/* Modal Transitions */
.modal-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: #0B0F19;
  color: #FFFFFF;
  border: 1px solid rgba(197, 168, 128, 0.3);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.3s ease forwards;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.toast-leave {
  animation: toastOut 0.3s ease forwards;
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(12px); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Print Stylesheet */
@media print {
  body * {
    visibility: hidden;
  }
  #rfq-print-area, #rfq-print-area * {
    visibility: visible !important;
    display: block !important;
  }
  #rfq-print-area table, #rfq-print-area thead, #rfq-print-area tbody, #rfq-print-area tr {
    display: table !important;
  }
  #rfq-print-area thead {
    display: table-header-group !important;
  }
  #rfq-print-area tbody {
    display: table-row-group !important;
  }
  #rfq-print-area tr {
    display: table-row !important;
  }
  #rfq-print-area th, #rfq-print-area td {
    display: table-cell !important;
  }
  #rfq-print-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #FFFFFF !important;
    color: #000000 !important;
  }
}

/* =========================================================================
   Active Section Header Navigation & ScrollSpy (Golden Persistent State)
   ========================================================================= */
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: #94A3B8; /* text-slate-400 */
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: -2px;
  width: calc(100% + 4px);
  height: 2px;
  background: #C5A880; /* Brand Gold */
  box-shadow: 0 0 8px rgba(197, 168, 128, 0.7);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 2px;
}

.nav-link:hover {
  color: #C5A880;
}

.nav-link:hover::after {
  transform: scaleX(0.5);
  opacity: 0.8;
}

.nav-link.active {
  color: #C5A880 !important;
  font-weight: 600 !important;
}

.nav-link.active::after {
  transform: scaleX(1) !important;
  opacity: 1 !important;
}

/* Mobile Nav Active State */
.mobile-nav-link {
  transition: all 0.2s ease;
  border-radius: 10px;
  padding: 10px 14px;
  color: #CBD5E1;
  display: flex;
  align-items: center;
}

.mobile-nav-link:hover {
  color: #C5A880;
  background-color: rgba(255, 255, 255, 0.05);
}

.mobile-nav-link.active {
  color: #C5A880 !important;
  background-color: rgba(197, 168, 128, 0.15);
  font-weight: 700 !important;
  border-left: 3px solid #C5A880;
}


/* =========================================================================
   Instagram Infinite Showcase Marquee (Compact, Engaging, Non-Cluttered)
   ========================================================================= */
.insta-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.insta-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: instaMarquee 34s linear infinite;
}

.insta-marquee-container:hover .insta-track {
  animation-play-state: paused;
}

@keyframes instaMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.insta-card {
  width: 230px;
  height: 270px;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #0B0F19;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.insta-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #C5A880;
  box-shadow: 0 16px 32px -8px rgba(197, 168, 128, 0.28);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.94) 0%, rgba(11, 15, 25, 0.45) 45%, rgba(11, 15, 25, 0.15) 100%);
  opacity: 0.88;
  transition: opacity 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
}

.insta-card:hover .insta-overlay {
  opacity: 0.98;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.97) 0%, rgba(11, 15, 25, 0.55) 50%, rgba(11, 15, 25, 0.25) 100%);
}

.insta-icon-badge {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
