/* Custom Styles for Greenzhi Pasta Gigi Modern Landing Page */
:root {
  --primary-green: #027b3b;
  --primary-dark: #015428;
  --primary-light: #e8f5e9;
  --accent-gold: #d97706;
  --accent-gold-light: #fbbf24;
  --accent-gold-soft: #fef3c7;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
  user-select: none;
}

input,
textarea,
select,
[contenteditable="true"] {
  user-select: text;
}

img {
  -webkit-user-drag: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #027b3b;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #015428;
}

/* Glassmorphism Header */
.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(2, 123, 59, 0.1);
  transition: all 0.3s ease;
}

.glass-nav.scrolled {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

/* Hero Background Gradient & Blobs */
.hero-gradient-bg {
  background: radial-gradient(circle at 10% 20%, rgba(2, 123, 59, 0.95) 0%, rgba(1, 84, 40, 0.98) 90%);
}

.hero-blob {
  position: absolute;
  filter: blur(96px);
  opacity: 0.65;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-blob-1 {
  width: 400px;
  height: 400px;
  background: rgba(245, 158, 11, 0.25);
  top: -100px;
  right: -50px;
}

.hero-blob-2 {
  width: 350px;
  height: 350px;
  background: rgba(16, 185, 129, 0.25);
  bottom: 0px;
  left: -50px;
}

/* Floating Animations */
@keyframes floatAnim {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(0.5deg);
  }
}

.animate-float {
  animation: floatAnim 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(2, 123, 59, 0.6);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(2, 123, 59, 0);
  }
}

.pulse-button {
  animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.6);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(217, 119, 6, 0);
  }
}

.pulse-gold {
  animation: pulseGold 2s infinite;
}

/* Card Modern Hover Effects */
.card-hover-effect {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(2, 123, 59, 0.15);
}

/* Gradient Texts */
.text-gradient-emerald {
  background: linear-gradient(135deg, #027b3b 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Video Responsive Container */
.video-responsive-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
}

.video-responsive-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Active Nav Links */
.nav-link-active {
  color: #027b3b !important;
  font-weight: 700;
  position: relative;
}

.nav-link-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: #027b3b;
  border-radius: 9999px;
}

:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.85);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
