/* Gemini Landscaping - Custom Styles */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Service chip toggle buttons */
.service-chip {
  cursor: pointer;
}
.service-chip span {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 0.875rem;
  transition: all 0.2s;
  user-select: none;
}
.service-chip:hover span {
  background: #f0f7f1;
}
.service-chip input:checked + span {
  background: #d9eddb;
  border-color: #55a55f;
  color: #1E5631;
  font-weight: 500;
}

/* Fade-in animation on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery dot indicators */
.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s;
}
.gallery-dot.active {
  background: #1E5631;
  width: 28px;
  border-radius: 5px;
}

/* Star ratings using text */
.text-yellow-400 {
  font-size: 1.25rem;
  letter-spacing: 2px;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(30, 86, 49, 0.1);
}

/* Loading spinner for form submit */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Navbar scroll effect */
.nav-scrolled {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

/* Before/After Slider */
.ba-slider {
  touch-action: none;
}
.ba-before-clip {
  will-change: width;
}
.ba-before-clip img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
}
.ba-handle {
  will-change: left;
  z-index: 10;
}
.ba-handle svg {
  transform: rotate(90deg);
}

/* BA navigation dots */
.ba-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.ba-dot.active {
  background: #1E5631;
  width: 28px;
  border-radius: 5px;
}
