/**
 * Kausar.Build Studio Portfolio - Main Stylesheet
 * 
 * Provides structural styling, animations, and aesthetic variables
 * for 100% visual parity with the live application.
 */

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

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-handwriting: 'Caveat', cursive;
  
  --color-canvas: #FAF9F6;
  --color-card: #FFFFFF;
  --color-neutral-900: #121212;
  --color-accent-orange: #E8590C;
  --color-accent-green: #2B8A3E;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--color-canvas);
  color: var(--color-neutral-900);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-canvas);
  color: var(--color-neutral-900);
  overflow-x: hidden;
}

/* Background Grids & Patterns */
.bg-grid-dots {
  background-image: radial-gradient(#d1d5db 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Realistic Lanyard Strap Texture */
.lanyard-strap {
  background: repeating-linear-gradient(
    45deg,
    #18181b,
    #18181b 8px,
    #27272a 8px,
    #27272a 16px
  );
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Lanyard Card 3D Physics */
.lanyard-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

/* Pulse Keyframes */
@keyframes studioPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.96); }
}

.animate-pulse-subtle {
  animation: studioPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

/* Custom Shadows */
.shadow-soft {
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04);
}

.shadow-float {
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
}

.shadow-lanyard {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Testimonial Slider Utilities */
.testimonial-slide.hidden {
  display: none !important;
}

.testimonial-slide:not(.hidden) {
  display: grid !important;
}

/* Contact Action Buttons */
.contact-action-btn,
#contact-whatsapp-btn,
#contact-instagram-btn,
#contact-call-btn {
  cursor: pointer !important;
  pointer-events: auto !important;
  text-decoration: none !important;
}

.contact-action-btn *,
#contact-whatsapp-btn *,
#contact-instagram-btn *,
#contact-call-btn * {
  pointer-events: none;
}

/* Hero Greeting Word Cycler Animations (100% Parity with React Framer Motion) */
@keyframes heroGreetingOut {
  0% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
  100% {
    opacity: 0;
    transform: translateY(-28px);
    filter: blur(3px);
  }
}

@keyframes heroGreetingIn {
  0% {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

.hero-greeting-out {
  animation: heroGreetingOut 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  will-change: transform, opacity, filter;
}

.hero-greeting-in {
  animation: heroGreetingIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  will-change: transform, opacity, filter;
}


