/* ============================================
   PLANT IT HIGHWAY — Custom Styles
   ============================================ */

/* Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: 'Lora', Georgia, serif;
  color: #1e3a5f;
  background: #ffffff;
  overflow-x: hidden;
}

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, #0a1452 0%, #1535a0 30%, #1a5fa0 50%, #1a8a7a 70%, #22c55e 100%);
  min-height: 92vh;
  position: relative;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: #86efac;
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: #4ade80;
  bottom: -5%;
  left: -3%;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: #bbf7d0;
  top: 40%;
  left: 15%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* Navbar */
.nav-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 20, 82, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.nav-scrolled .nav-link {
  color: rgba(181, 231, 255, 0.85);
}

.nav-scrolled .nav-link:hover {
  color: #ffffff;
}

.nav-link {
  color: rgba(181, 231, 255, 0.75);
  transition: color 0.2s ease;
}

/* Mobile menu */
.mobile-nav-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
  transition: color 0.2s ease;
}

.mobile-nav-link:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Reveal animations */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Scroll reveal — only activate when JS is available */
@media (prefers-reduced-motion: no-preference) {
  .reveal.is-hidden {
    opacity: 0;
    transform: translateY(24px);
  }

  .reveal-left.is-hidden {
    opacity: 0;
    transform: translateX(-32px);
  }

  .reveal-right.is-hidden {
    opacity: 0;
    transform: translateX(32px);
  }
}

/* Product cards */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
}

/* Button hover states */
a:hover {
  text-decoration: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a1452;
}

::-webkit-scrollbar-thumb {
  background: #16a34a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #22c55e;
}

/* Selection */
::selection {
  background: rgba(34, 197, 94, 0.3);
  color: #0a1452;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .hero-orb-1 {
    width: 280px;
    height: 280px;
  }
  .hero-orb-2 {
    width: 200px;
    height: 200px;
  }
  .hero-orb-3 {
    display: none;
  }
}
