/* ==========================================================================
   ATELIER CRAFT MFG - Luxury Custom Apparel Manufacturing Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Clean, elegant modern font stack - no stretched or distorted letters */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Inter', monospace;

  --color-obsidian: #0d0f12;
  --color-surface-dark: #15181e;
  --color-surface-muted: #21252d;
  --color-border-dark: #2a303c;
  
  --color-bg-light: #fafafa;
  --color-surface-light: #ffffff;
  --color-border-light: #e5e7eb;
  --color-border-subtle: #f0f0f2;

  --color-text-main: #111827;
  --color-text-muted: #4b5563;
  --color-text-light: #9ca3af;

  --color-accent-gold: #c59b6d;
  --color-accent-gold-hover: #b3895c;
  --color-accent-emerald: #10b981;
  --color-accent-indigo: #4f46e5;

  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-float: 0 20px 40px -15px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 35px rgba(197, 155, 109, 0.25);
}

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

body {
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.glass-nav-dark {
  background: rgba(13, 15, 18, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 231, 235, 0.8);
}

.glass-card-dark {
  background: rgba(21, 24, 30, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Custom Utilities */
.text-balance {
  text-wrap: balance;
}

.badge-luxury {
  background: linear-gradient(135deg, #1e2229 0%, #0d0f12 100%);
  border: 1px solid rgba(197, 155, 109, 0.3);
  color: #f3f4f6;
}

.badge-tag {
  background: #f3f4f6;
  color: #374151;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #c1c5cd;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}

/* Interactive Slider */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: #e5e7eb;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #0d0f12;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #c59b6d;
}

/* Garment Mockup SVG Animation */
.garment-svg {
  transition: fill 0.35s ease, filter 0.35s ease;
}

.garment-preview-container {
  background: radial-gradient(circle at center, #ffffff 0%, #f3f4f6 100%);
  border: 1px solid #e5e7eb;
  border-radius: 1.25rem;
  position: relative;
  overflow: hidden;
}

/* Floating animation */
@keyframes softFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-soft-float {
  animation: softFloat 4s ease-in-out infinite;
}

/* Custom Accordion Chevron */
.faq-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-open .faq-icon {
  transform: rotate(180deg);
}

/* Toast Notification */
#toastNotification {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
