/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/* Color variables for theme */
:root {
  --theme-bg: #E3DDD7;
  --theme-card: #efeae5;
  --theme-card-alt: rgba(255, 255, 255, 0.4);
  --theme-text: #111827; /* Tailwind gray-900 */
  --theme-text-muted: #6B7280; /* Tailwind gray-500 */
  --theme-accent: #1e3a8a; /* Touch of navy/corporate blue for hover states */
}

/* Base styles */
body {
  font-family: 'Manrope', sans-serif;
  background-color: var(--theme-bg);
  color: var(--theme-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.font-playfair {
  font-family: 'Playfair Display', serif;
}

/* Custom Animations from Sample */
@keyframes slideUpBlur {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes sonarWave {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes cardEnter {
  0% { opacity: 0; transform: scale(0.95) translateX(20px); }
  100% { opacity: 1; transform: scale(1) translateX(0); }
}

@keyframes cardExit {
  0% { opacity: 1; transform: scale(1) translateX(0); }
  100% { opacity: 0; transform: scale(1.05) translateX(-20px); }
}

/* Animation utilities matching the sample */
.animate-enter {
  opacity: 0; /* Starts hidden, JS handles reveal, or pure CSS animation on load */
  animation: slideUpBlur 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* JS-triggered scroll animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.delay-100 { animation-delay: 100ms; transition-delay: 100ms; }
.delay-200 { animation-delay: 200ms; transition-delay: 200ms; }
.delay-300 { animation-delay: 300ms; transition-delay: 300ms; }
.delay-400 { animation-delay: 400ms; transition-delay: 400ms; }
.delay-500 { animation-delay: 500ms; transition-delay: 500ms; }

.sonar-ring {
  animation: sonarWave 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

.card-active {
  display: block;
  animation: cardEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
  z-index: 10;
}

.card-hidden {
  display: none;
}

/* Hide scrollbar for clean UI */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Premium micro-interactions */
.btn-primary {
  @apply bg-gray-900 text-white px-8 py-4 rounded-full font-medium transition-all flex items-center gap-3 shadow-xl;
}
.btn-primary:hover {
  @apply bg-gray-800 scale-105 shadow-gray-900/20;
}
.btn-primary:active {
  @apply scale-95;
}

.card-glass {
  @apply bg-white/40 backdrop-blur-sm border border-white/40 rounded-[2rem] transition-colors duration-500;
}
.card-glass:hover {
  @apply bg-white shadow-xl shadow-gray-900/5;
}

/* Contact Form styles */
.form-input {
  @apply w-full bg-white/60 border border-gray-200 rounded-xl px-4 py-3 text-sm focus:outline-none focus:ring-2 focus:ring-gray-900 focus:bg-white transition-all;
}
.form-label {
  @apply block text-xs font-semibold text-gray-700 uppercase tracking-wide mb-2;
}

/* Section Tag styling */
.section-tag {
  @apply inline-block bg-[#d1c8c0] text-gray-900 px-3 py-1.5 rounded-lg text-xs font-semibold uppercase tracking-wider mb-6;
}
