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

section[id] {
  scroll-margin-top: 5.5rem;
}

:root {
  --primary-emerald: #0A3F30;
  --primary-emerald-hover: #072B21;
  --emerald-accent: #10B981;
  --emerald-light: #ECFDF5;
  --emerald-border: #D1FAE5;
  
  --bg-cream: #F8F9F7;
  --bg-sand: #F3F4F1;
  
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #FFFFFF;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

/* Smooth reveal animation */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Glassmorphism subtle headers */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 63, 48, 0.08);
}

/* Swatch active indicator */
.swatch-btn {
  position: relative;
  transition: transform 0.2s var(--ease-out-quart), box-shadow 0.2s var(--ease-out-quart);
}
.swatch-btn.active {
  transform: scale(1.12);
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #0A3F30;
}

/* Luxury button styling */
.btn-emerald {
  background: #0A3F30;
  color: #FFFFFF;
  transition: all 0.25s var(--ease-out-quart);
}
.btn-emerald:hover {
  background: #072B21;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(10, 63, 48, 0.35);
}
.btn-emerald:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  border: 1px solid rgba(10, 63, 48, 0.2);
  background: #FFFFFF;
  color: #0A3F30;
  transition: all 0.2s var(--ease-out-quart);
}
.btn-secondary:hover {
  background: #F8F9F7;
  border-color: #0A3F30;
  transform: translateY(-1px);
}

/* Clean cards */
.product-card {
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(10, 63, 48, 0.12);
}

/* Fabric highlight pulse */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 9999px;
}
