/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== HERO RIGHT CLIP ===== */
.clip-hero-right {
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

/* ===== FLOATING SHAPES ===== */
.floating-shape {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}

/* ===== SCROLL INDICATOR ===== */
.animate-scroll-indicator {
  animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: -16px; opacity: 0; }
  50% { opacity: 1; }
  100% { top: 48px; opacity: 0; }
}

/* ===== NAVBAR ===== */
.nav-logo-text {
  transition: color 0.3s ease;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #FBBF24;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(255, 251, 240, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(4, 120, 87, 0.1);
}

.nav-scrolled .nav-logo-text {
  color: #047857;
}

.nav-scrolled .nav-link {
  color: #047857;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
  will-change: transform;
}

/* ===== WHY US CARDS ===== */
.why-card {
  will-change: transform;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(40px);
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu-open {
  overflow: hidden;
}

.mobile-menu-active {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* ===== FORM STYLES ===== */
input:focus, select:focus, textarea:focus {
  outline: none;
}

/* ===== CUSTOM SELECTION ===== */
::selection {
  background: #047857;
  color: #FFFBF0;
}
