/* Custom styles & animations for Berkah Medianet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --primary-light: #ffedd5;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1e293b;
  overflow-x: hidden;
}

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

/* Glassmorphism */
.glass-nav {
  background: rgba(194, 65, 12, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.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.4);
}

.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);
}

/* Speed Bar Animation */
.speed-bar {
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Strike-through promo speed animation */
@keyframes coretKecepatan {
  0% {
    text-decoration: none;
    color: #ea580c;
  }
  40% {
    text-decoration: line-through;
    color: #94a3b8;
  }
  100% {
    text-decoration: none;
    color: #ea580c;
  }
}

.kecepatan-lama.animate-coret {
  animation: coretKecepatan 2.2s forwards;
}

/* Interactive word hover in About section */
.hover-word {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
  cursor: default;
}

.hover-word:hover {
  color: #ea580c;
  transform: translateY(-4px) scale(1.1);
}

/* Modern Gradient Glow */
.glow-orange {
  box-shadow: 0 10px 30px -10px rgba(234, 88, 12, 0.35);
}

.glow-orange-lg {
  box-shadow: 0 20px 40px -15px rgba(234, 88, 12, 0.45);
}

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

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

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
