/* Custom styles for CNT Lawncare */

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

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

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

::-webkit-scrollbar-thumb {
  background: #C4703F;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #E06B2D;
}

/* Navbar scroll effect */
.navbar-scrolled {
  background: rgba(10, 10, 10, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Service card hover effect */
.service-card {
  transform: translateY(0);
  transition: all 0.3s ease;
}

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

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

/* Button ripple effect */
button, a {
  position: relative;
  overflow: hidden;
}

/* Focus styles */
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(196, 112, 63, 0.3);
}

/* Animation classes (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile menu animation */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobile-menu.open {
  max-height: 500px;
}

/* Gold accent line */
.gold-line {
  height: 3px;
  width: 60px;
  background: linear-gradient(90deg, #C4703F, #D49A3A);
  border-radius: 2px;
}

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

/* Glow effect */
.glow {
  box-shadow: 0 0 40px rgba(196, 112, 63, 0.3);
}
