/* ==========================================================================
   DANG CLOTH HOUSE - Custom Luxury Styling
   Palette: Ivory, Champagne Gold, Soft Beige, Rose Gold, Warm Charcoal
   Aesthetic: Light, Elegant, Feminine, High Fashion Boutique
   ========================================================================== */

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

:root {
  /* Core Luxury Light Palette */
  --color-ivory: #FDFBF7;
  --color-ivory-light: #FFFEFC;
  --color-ivory-dark: #F5EFE6;
  --color-cream: #FAF6F0;
  --color-soft-beige: #EFE7DB;
  --color-beige-warm: #E6DCCD;
  
  /* Metallic & Accent Colors */
  --color-champagne: #C5A880;
  --color-champagne-light: #E3D1BA;
  --color-champagne-dark: #9F7F55;
  --color-gold-accent: #D4AF37;
  --color-rose-gold: #E8D5CE;
  --color-rose-accent: #C97A7E;
  --color-blush: #F7EDE8;
  --color-blush-soft: #FCF7F5;

  /* Typography & Readable Charcoal */
  --color-text-main: #2D2424;
  --color-text-muted: #6B5E5E;
  --color-text-subtle: #968686;
  --color-text-gold: #8C6D44;

  /* Fonts */
  --font-serif-display: 'Playfair Display', serif;
  --font-serif-subheading: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-accent: 'Outfit', sans-serif;

  /* Shadows */
  --shadow-subtle: 0 4px 20px -2px rgba(197, 168, 128, 0.12);
  --shadow-medium: 0 10px 30px -5px rgba(107, 94, 94, 0.08), 0 4px 12px -2px rgba(197, 168, 128, 0.1);
  --shadow-elevated: 0 20px 45px -10px rgba(107, 94, 94, 0.14), 0 0 25px rgba(212, 175, 55, 0.08);
  --shadow-gold-glow: 0 0 25px rgba(197, 168, 128, 0.25);
}

/* Base resets & smooth scrolling */
html {
  scroll-behavior: smooth;
  background-color: var(--color-ivory);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--color-ivory);
  overflow-x: hidden;
}

/* Luxury Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-ivory-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--color-champagne);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-champagne-dark);
}

/* Typography Helpers */
.font-display {
  font-family: var(--font-serif-display);
}

.font-subheading {
  font-family: var(--font-serif-subheading);
}

.font-sans {
  font-family: var(--font-sans);
}

.font-accent {
  font-family: var(--font-accent);
}

/* Gold Gradient Text */
.text-gradient-gold {
  background: linear-gradient(135deg, #8C6D44 0%, #C5A880 50%, #9F7F55 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-rose {
  background: linear-gradient(135deg, #B05D61 0%, #D88D82 50%, #C97A7E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Light Panels */
.glass-panel {
  background: rgba(253, 251, 247, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(227, 209, 186, 0.5);
}

.glass-panel-warm {
  background: rgba(255, 254, 252, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 168, 128, 0.35);
}

/* Elegant Borders & Dividers */
.border-gold-subtle {
  border-color: rgba(197, 168, 128, 0.3);
}

.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 168, 128, 0.6), transparent);
}

.gold-divider-left {
  height: 1.5px;
  background: linear-gradient(90deg, rgba(197, 168, 128, 0.8), rgba(212, 175, 55, 0.3), transparent);
}

/* Luxury Button Styles */
.btn-gold {
  background: linear-gradient(135deg, #C5A880 0%, #B8966C 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: 0.6s;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #B8966C 0%, #A37E52 100%);
  box-shadow: 0 6px 20px rgba(197, 168, 128, 0.45);
  transform: translateY(-2px);
}
.btn-gold:hover::after {
  left: 100%;
}

.btn-outline-gold {
  border: 1.5px solid #C5A880;
  color: #8C6D44;
  background: transparent;
  transition: all 0.35s ease;
}
.btn-outline-gold:hover {
  background: #C5A880;
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.25);
  transform: translateY(-2px);
}

.btn-rose {
  background: linear-gradient(135deg, #C97A7E 0%, #B56569 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(201, 122, 126, 0.3);
  transition: all 0.35s ease;
}
.btn-rose:hover {
  background: linear-gradient(135deg, #B56569 0%, #A05256 100%);
  box-shadow: 0 6px 20px rgba(201, 122, 126, 0.45);
  transform: translateY(-2px);
}

/* Subtle Shimmer & Pulse Animations */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}
.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

@keyframes pulseSubtle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}
.animate-pulse-subtle {
  animation: pulseSubtle 3s infinite ease-in-out;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px);
  }
  60% {
    transform: translateY(3px);
  }
}
.animate-scroll-bounce {
  animation: scrollBounce 2s infinite;
}

/* Card Hover Zoom & Glow */
.collection-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}
.collection-card .img-zoom {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.collection-card:hover .img-zoom {
  transform: scale(1.06);
}

/* Interactive Filter Tabs */
.filter-btn {
  position: relative;
  transition: all 0.3s ease;
}
.filter-btn.active {
  background-color: #C5A880;
  color: #FFFFFF;
  border-color: #C5A880;
  box-shadow: 0 4px 12px rgba(197, 168, 128, 0.3);
}

/* Mobile Drawer Overlay */
#mobile-drawer-overlay {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#mobile-drawer {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#mobile-drawer.open {
  transform: translateX(0);
}

/* Modal Animations */
.modal-backdrop {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-content {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
.modal-backdrop.open .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Floating Action Badges */
.floating-action-btn {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.floating-action-btn:hover {
  transform: scale(1.1) translateY(-3px);
}

/* Testimonial Star Rating Colors */
.star-gold {
  color: #F59E0B;
}

/* Luxury Pattern Overlay */
.bg-pattern-luxury {
  background-image: radial-gradient(rgba(197, 168, 128, 0.18) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Smooth reveal on scroll helper */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Custom form inputs */
.luxury-input {
  background-color: #FFFFFF;
  border: 1.5px solid #EFE7DB;
  color: var(--color-text-main);
  transition: all 0.25s ease;
}
.luxury-input:focus {
  border-color: var(--color-champagne);
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.2);
  outline: none;
}
