/* Additional custom styles beyond Tailwind */

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

/* Make header transparent initially and solid on scroll */
#header {
  background-color: transparent;
}

#header.scrolled {
  background-color: #0a3b2c;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Form focus states */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #0a3b2c;
  box-shadow: 0 0 0 3px rgba(10, 59, 44, 0.1);
}

/* Button hover effects */
button:hover, a.hover-lift:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

/* Service card hover effects */
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Image hover effects */
.image-hover {
  overflow: hidden;
}

.image-hover img {
  transition: transform 0.5s ease;
}

.image-hover:hover img {
  transform: scale(1.05);
}

/* Custom animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Custom list styles */
.custom-list {
  list-style: none;
}

.custom-list li {
  position: relative;
  padding-left: 1.5rem;
}

.custom-list li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.625rem;
  height: 0.375rem;
  width: 0.375rem;
  border-radius: 50%;
  background-color: #0a3b2c;
}

/* Quote form animations */
.quote-form-appear {
  animation: formAppear 0.4s ease-out forwards;
}

@keyframes formAppear {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Hero section background image */
.hero-section {
  background-image: url('https://images.pexels.com/photos/3910071/pexels-photo-3910071.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}