/* ============================================
   Samantha Shaw Wyatt Medical — Custom Styles
   ============================================ */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fdfcf8;
}
::-webkit-scrollbar-thumb {
  background: #065f46;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #047857;
}

/* ============================================
   Geometric Shapes (Hero & Section Decorations)
   ============================================ */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.circle-1 {
  width: 400px;
  height: 400px;
  background: #34d399;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.circle-2 {
  width: 200px;
  height: 200px;
  background: #6ee7b7;
  bottom: 20%;
  left: -50px;
  animation: float 6s ease-in-out infinite reverse;
}

.circle-3 {
  width: 120px;
  height: 120px;
  background: #a7f3d0;
  top: 30%;
  left: 10%;
  animation: float 10s ease-in-out infinite;
}

.circle-4 {
  width: 300px;
  height: 300px;
  background: #34d399;
  bottom: -80px;
  right: -80px;
  opacity: 0.1;
  animation: float 12s ease-in-out infinite;
}

.circle-5 {
  width: 150px;
  height: 150px;
  background: #6ee7b7;
  top: 10%;
  left: 5%;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite reverse;
}

.circle-6 {
  width: 500px;
  height: 500px;
  background: #10b981;
  top: -200px;
  right: -200px;
  opacity: 0.05;
  animation: float 15s ease-in-out infinite;
}

.geo-square {
  position: absolute;
  background: #34d399;
  opacity: 0.06;
  border-radius: 12px;
}

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

.square-2 {
  width: 50px;
  height: 50px;
  bottom: 25%;
  right: 25%;
  transform: rotate(20deg);
  animation: spin 15s linear infinite reverse;
}

.geo-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid rgba(52, 211, 153, 0.08);
}

.triangle-1 {
  top: 40%;
  left: 5%;
  animation: float 7s ease-in-out infinite;
}

.geo-dots {
  position: absolute;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, rgba(110, 231, 183, 0.3) 1px, transparent 1px);
  background-size: 12px 12px;
  bottom: 15%;
  right: 8%;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(2deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

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

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

#navbar.scrolled {
  background: rgba(253, 252, 248, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(6, 95, 70, 0.08);
}

.nav-link {
  position: relative;
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

/* ============================================
   Feature Cards
   ============================================ */
.feature-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s ease;
}

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

/* ============================================
   Testimonial Cards
   ============================================ */
.testimonial-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(6, 95, 70, 0.12);
}

/* ============================================
   Scroll Reveal Animations
   (Progressive Enhancement — hidden by default, revealed by JS)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-link {
  display: block;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 768px) {
  .circle-1 {
    width: 200px;
    height: 200px;
  }
  .circle-2 {
    width: 100px;
    height: 100px;
  }
  .circle-3 {
    display: none;
  }
  .square-1 {
    width: 40px;
    height: 40px;
  }
  .square-2 {
    display: none;
  }
  .triangle-1 {
    display: none;
  }
  .geo-dots {
    display: none;
  }
}

@media (max-width: 640px) {
  #hero h1 {
    font-size: 2.5rem;
  }
}
