/* Custom styles for Garcia Landscaping */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0b1120;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Selection color */
::selection {
  background: rgba(45, 212, 191, 0.3);
  color: #f1f5f9;
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(6, 12, 24, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(45, 212, 191, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Service card hover effects */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2dd4bf, transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.service-card:hover::before {
  opacity: 1;
}

/* Gallery items */
.gallery-item {
  cursor: pointer;
}

/* Testimonial cards */
.testimonial-card {
  position: relative;
}
.testimonial-card::after {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 6rem;
  font-family: 'Crimson Text', serif;
  color: rgba(45, 212, 191, 0.06);
  line-height: 1;
  pointer-events: none;
}

/* Floating animation for hero cards */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.floating-card-1 { animation: float 6s ease-in-out infinite; }
.floating-card-2 { animation: float 6s ease-in-out infinite 1s; }
.floating-card-3 { animation: float 6s ease-in-out infinite 2s; }

/* Fade-in animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #2dd4bf, #0d9488);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Form select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  appearance: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-card-1,
  .floating-card-2,
  .floating-card-3 {
    display: none;
  }
}
