/* ==========================================================================
   KARIGARI – The Crafted Beauty | Custom Styles & Artistry Enhancements
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Caveat:wght@400..700&family=Cormorant+Garamond:ital,wght@0,300;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&display=swap');

:root {
  --color-terracotta: #C85A32;
  --color-terracotta-dark: #9E3F1F;
  --color-terracotta-light: #E78864;
  --color-olive: #5B6B4C;
  --color-olive-dark: #3F4C33;
  --color-cream: #FBF8F2;
  --color-beige: #F3EBDD;
  --color-sand: #E7DAC5;
  --color-brown: #33261D;
  --color-brown-light: #5A483C;
  --color-gold: #C99757;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--color-cream);
  color: var(--color-brown);
}

/* Typography Utility Classes */
.font-serif-luxury {
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-display {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-handwritten {
  font-family: 'Caveat', cursive;
}

.font-signature {
  font-family: 'Alex Brush', cursive;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #9E3F1F;
}

/* Subtle Organic Craft Background Texture */
.craft-texture {
  background-color: #FAF6EF;
  background-image: radial-gradient(#d3c5b2 0.75px, transparent 0.75px), radial-gradient(#d3c5b2 0.75px, #FAF6EF 0.75px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
}

.terracotta-gradient {
  background: linear-gradient(135deg, #C85A32 0%, #A24220 100%);
}

.olive-gradient {
  background: linear-gradient(135deg, #5B6B4C 0%, #3D4A32 100%);
}

.luxury-hero-overlay {
  background: linear-gradient(180deg, rgba(35, 25, 20, 0.55) 0%, rgba(35, 25, 20, 0.75) 100%);
}

/* Delicate Borders & Shadows */
.border-artisan {
  border: 1px solid rgba(200, 90, 50, 0.2);
}

.shadow-craft {
  box-shadow: 0 10px 30px -10px rgba(80, 50, 30, 0.08), 0 4px 6px -2px rgba(80, 50, 30, 0.03);
}

.shadow-craft-hover {
  box-shadow: 0 20px 40px -15px rgba(80, 50, 30, 0.16), 0 8px 12px -4px rgba(80, 50, 30, 0.06);
}

/* Badge Glow & Pulse */
@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

.animate-soft-pulse {
  animation: softPulse 3s ease-in-out infinite;
}

@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

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

/* Image Zoom & Aspect Ratio */
.img-zoom-wrapper {
  overflow: hidden;
}

.img-zoom-wrapper img {
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.img-zoom-wrapper:hover img {
  transform: scale(1.08);
}

/* Custom Glassmorphism */
.glass-header {
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(215, 195, 175, 0.4);
}

.glass-modal {
  background: rgba(251, 248, 242, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Handmade Ribbon / Stamp */
.stamp-seal {
  position: relative;
}

.stamp-seal::after {
  content: '';
  position: absolute;
  inset: -3px;
  border: 1px dashed rgba(200, 90, 50, 0.5);
  border-radius: inherit;
  pointer-events: none;
}

/* Official KARIGARI Logo Enhancements */
.karigari-logo-frame {
  background-color: #FAF7F2;
  border: 1px solid rgba(215, 195, 175, 0.7);
  box-shadow: 0 2px 8px -2px rgba(80, 50, 30, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.karigari-logo-frame:hover {
  border-color: rgba(200, 90, 50, 0.6);
  box-shadow: 0 6px 16px -4px rgba(200, 90, 50, 0.18);
  transform: translateY(-1px) scale(1.02);
}

