/* 
 * PURE PROTEIN - Custom Style & Animations
 * Designed with "Essential Luxury" guidelines.
 */

@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Text:ital,wght@0,400;1,400&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* Typography variables and base defaults */
:root {
  --font-serif: "Libre Caslon Text", "Playfair Display", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", "Inter", sans-serif;
  
  --color-primary: #26170c;
  --color-secondary: #665d4e;
  --color-bg: #f9f9f9;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-primary);
  min-height: max(884px, 100vh);
}

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

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

/* Scroll smoothness */
.scroll-smooth {
  scroll-behavior: smooth;
}

/* Animations keys */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Animation utilities */
.animate-fade-in-up {
  animation: slideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-left {
  animation: slideLeft 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-right {
  animation: slideRight 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-up {
  animation: scaleUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
  animation: fadeIn 0.35s ease-out forwards;
}

.delay-200 {
  animation-delay: 200ms;
}

.backdrop-blur-xs {
  backdrop-filter: blur(4px);
}

/* Custom UI enhancements */
.hover\:scale-102:hover {
  transform: scale(1.02);
}

/* Minimalist separator line design */
.line-separator {
  height: 0.5px;
  background-color: var(--color-primary);
  opacity: 0.12;
}

/* Material symbols adjustments for uniform premium look */
.material-symbols-outlined {
  font-size: 20px;
  user-select: none;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Smooth active state transitions */
button, input, select {
  transition: all 0.25s ease-out;
}
