/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* Geometric Shapes */
.geo-shape {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
}

.shape-circle-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #D4E8D4 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #A8C49A 0%, transparent 70%);
  bottom: 10%;
  left: 5%;
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-circle-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #C8E6C9 0%, transparent 70%);
  top: 30%;
  left: 10%;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.shape-circle-4 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(254,253,248,0.3) 0%, transparent 70%);
  top: 20%;
  right: -50px;
  border-radius: 50%;
  animation: float 9s ease-in-out infinite reverse;
}

.shape-circle-5 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #A5D6A7 0%, transparent 70%);
  bottom: -50px;
  right: 10%;
  border-radius: 50%;
  animation: float 7s ease-in-out infinite;
}

.shape-circle-6 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(254,253,248,0.1) 0%, transparent 70%);
  top: -80px;
  left: -80px;
  border-radius: 50%;
  animation: float 11s ease-in-out infinite reverse;
}

.shape-square-1 {
  width: 120px;
  height: 120px;
  background: #D4E8D4;
  top: 20%;
  right: 15%;
  transform: rotate(45deg);
  animation: spin 20s linear infinite;
}

.shape-square-2 {
  width: 80px;
  height: 80px;
  background: #A8C49A;
  bottom: 25%;
  left: 8%;
  transform: rotate(30deg);
  animation: spin 15s linear infinite reverse;
}

.shape-square-3 {
  width: 150px;
  height: 150px;
  background: #C8E6C9;
  top: 10%;
  right: -30px;
  transform: rotate(20deg);
  animation: spin 25s linear infinite;
}

.shape-square-4 {
  width: 100px;
  height: 100px;
  background: rgba(254,253,248,0.1);
  bottom: 15%;
  left: 5%;
  transform: rotate(15deg);
  animation: spin 18s linear infinite reverse;
}

.shape-triangle-1 {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid #A8C49A;
  top: 15%;
  left: 20%;
  animation: float 7s ease-in-out infinite;
  opacity: 0.5;
}

.shape-triangle-2 {
  width: 0;
  height: 0;
  border-left: 45px solid transparent;
  border-right: 45px solid transparent;
  border-bottom: 78px solid rgba(254,253,248,0.15);
  bottom: 20%;
  right: 15%;
  animation: float 9s ease-in-out infinite reverse;
}

.shape-dots {
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, rgba(254,253,248,0.3) 1px, transparent 1px);
  background-size: 20px 20px;
  top: 60%;
  right: 5%;
  opacity: 0.4;
}

.shape-diamond-1 {
  width: 100px;
  height: 100px;
  background: rgba(254,253,248,0.1);
  top: 30%;
  left: 10%;
  transform: rotate(45deg);
  animation: spin 20s linear infinite;
}

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

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

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

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

/* Navbar */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(254, 253, 248, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(27, 67, 50, 0.08);
}

.nav-link {
  position: relative;
}

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

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

/* Mobile menu */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

::-webkit-scrollbar-track {
  background: #fdf8ee;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #66bb6a;
}
