/* Custom styles and micro-animations for Blue Ocean Language Academy */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Prompt:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500;600;700&display=swap');

:root {
  --color-primary: #0f172a;
  --color-secondary: #1e3a8a;
  --color-accent: #2563eb;
  --color-gold: #c5a880;
  --color-gold-light: #dfc79e;
  --color-gold-dark: #9f835b;
}

body {
  font-family: 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Prompt', sans-serif;
}

.font-outfit {
  font-family: 'Outfit', sans-serif;
}

/* Glassmorphism */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.7);
}

.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Subtle Gold and Ocean Glow */
.gold-gradient-text {
  background: linear-gradient(135deg, #dfc79e 0%, #c5a880 50%, #9f835b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ocean-gradient-text {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-gradient-bg {
  background: radial-gradient(circle at 85% 15%, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 10% 85%, rgba(197, 168, 128, 0.08) 0%, transparent 50%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.ocean-hero-dark-bg {
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.25) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(197, 168, 128, 0.15) 0%, transparent 50%),
              linear-gradient(135deg, #0f172a 0%, #172554 100%);
}

/* Floating animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

/* Pulse badge animation */
@keyframes softPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.2);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }
}

.pulse-badge {
  animation: softPulse 2.5s infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Transitions */
.smooth-hover {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
