/* Custom styles for Puma's Lawn and Tree Services */

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

/* Navbar scroll effect */
#navbar {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
  background: rgba(253, 240, 243, 0.97);
  box-shadow: 0 2px 20px rgba(107, 27, 42, 0.1);
  backdrop-filter: blur(10px);
}

/* Service card hover */
.service-card {
  border: 2px solid transparent;
}

.service-card:hover {
  border-color: rgba(107, 27, 42, 0.15);
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal animations (below fold only) */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Font size utility */
.font-8xl {
  font-size: 2.5rem;
}

@media (min-width: 768px) {
  .font-8xl {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .font-8xl {
    font-size: 3.5rem;
  }
}

.font-5xl {
  font-size: 2rem;
}

@media (min-width: 768px) {
  .font-5xl {
    font-size: 2.5rem;
  }
}

.font-4xl {
  font-size: 1.75rem;
}

@media (min-width: 768px) {
  .font-4xl {
    font-size: 2.25rem;
  }
}

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #6B1B2A;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection color */
::selection {
  background-color: #F5B4C0;
  color: #6B1B2A;
}
