/* ===== CUSTOM STYLES ===== */

/* Geometric hero decorations */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.geo-circle-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.geo-circle-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
  bottom: 10%;
  left: -50px;
}

.geo-circle-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.1) 0%, transparent 70%);
  top: 40%;
  right: 20%;
}

.geo-circle-4 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.07) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.geo-rect {
  position: absolute;
  pointer-events: none;
}

.geo-rect-1 {
  width: 120px;
  height: 120px;
  background: rgba(74, 222, 128, 0.06);
  border-radius: 24px;
  top: 20%;
  left: 60%;
  transform: rotate(45deg);
}

.geo-rect-2 {
  width: 80px;
  height: 80px;
  background: rgba(6, 182, 212, 0.06);
  border-radius: 16px;
  bottom: 25%;
  left: 10%;
  transform: rotate(20deg);
}

.geo-rect-3 {
  width: 100px;
  height: 100px;
  background: rgba(74, 222, 128, 0.05);
  border-radius: 20px;
  bottom: -30px;
  left: 10%;
  transform: rotate(30deg);
}

.geo-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(74, 222, 128, 0.05);
  top: 30%;
  left: 5%;
  transform: rotate(-15deg);
  pointer-events: none;
}

/* Hero photo */
.hero-photo-wrap {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 42%;
  height: 80%;
  overflow: hidden;
  border-radius: 24px 0 0 24px;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(10, 20, 32, 0.3) 0%, rgba(10, 20, 32, 0.85) 100%);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Navbar active state */
#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Service card hover glow */
.service-card:hover {
  border-color: rgba(74, 222, 128, 0.3);
}

/* Testimonial card hover */
.testimonial-card:hover {
  border-color: rgba(74, 222, 128, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .service-card,
  .testimonial-card {
    transition: none;
  }
  .service-card:hover,
  .testimonial-card:hover {
    transform: none;
  }
}

/* Scroll reveal base (progressive enhancement — JS adds .revealed) */
.scroll-reveal {
  opacity: 1;
  transform: none;
}

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