@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Color Palette */
  --bg-primary: #fbfbfa; /* Warm Off-white */
  --bg-secondary: #ffffff; /* Warm White */
  --text-primary: #0f172a; /* Slate 900 */
  --text-secondary: #475569; /* Slate 600 */
  --text-muted: #94a3b8; /* Slate 400 */
  
  --accent-blue: #0066ff; /* Inspira Electric Blue */
  --accent-blue-hover: #0052cc;
  --accent-blue-light: #e6f0ff;
  
  --border-color: #e2e8f0; /* Slate 200 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.04), 0 4px 6px -4px rgb(0 0 0 / 0.04);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

/* Header & Navbar */
.glass-header {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 50 !important; /* Memastikan header selalu di atas konten saat scroll */
}

#product-modal, #cart-drawer {
  z-index: 100 !important; /* Memastikan modal dan keranjang di atas header */
}

/* Search Bar Minimal */
.search-input-container {
  position: relative;
  transition: all 0.2s ease;
}

.search-input-container:focus-within {
  transform: scale(1.02);
}

/* Hero Slider Arch Ornament */
.hero-arch-bg {
  position: relative;
  overflow: hidden;
}

.hero-arch-bg::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 10%;
  width: 70%;
  height: 90%;
  background-color: #f1f5f9;
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  z-index: 0;
  opacity: 0.6;
}

.hero-arch-img {
  position: relative;
  z-index: 10;
}

/* Category Gradient Cards */
.cat-card-lemari {
  background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%); /* Orange Pastel */
}
.cat-card-kursi {
  background: linear-gradient(135deg, #faf7f2 0%, #f1e9db 100%); /* Warm Beige */
}
.cat-card-meja {
  background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%); /* Dusty Rose */
}
.cat-card-sofa {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); /* Slate Blue */
}

/* Drawer Animations */
.drawer-backdrop {
  transition: opacity 0.3s ease-in-out;
}

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

/* Product Card Zoom */
.product-image-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.03);
  z-index: 40;
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
}

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

/* Button & Active States */
.btn-primary-blue {
  background-color: var(--accent-blue);
  color: white;
  transition: all 0.2s ease-in-out;
}

.btn-primary-blue:hover {
  background-color: var(--accent-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.15);
}

.input-minimal {
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.input-minimal:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.08);
}

.variation-chip {
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.variation-chip.active {
  border-color: var(--accent-blue);
  background-color: var(--accent-blue-light);
  color: var(--accent-blue);
  font-weight: 500;
}

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

.cart-badge-pulse {
  animation: cart-pulse 0.3s ease-in-out;
}

/* WhatsApp Floating CTA Widget */
.wa-cta-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 28px -5px rgba(0, 0, 0, 0.1), 0 8px 16px -6px rgba(0, 0, 0, 0.05);
}

.wa-floating-btn {
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

