
/* Custom styles for Stopps Plumbing Website */

/* Brand colors - using Bootstrap variables where possible */
:root {
  --plumbing-primary: #0056b3;  /* Darker blue */
  --plumbing-secondary: #4ca5ff; /* Lighter blue */
  --plumbing-accent: #f8f9fa;   /* Light off-white */
}

/* Hero section styling */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('https://images.unsplash.com/photo-1585704032915-c3400ca199e7?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 7rem 0;
  position: relative;
}

/* Services section */
.service-card {
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

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

.service-icon {
  font-size: 3rem;
  color: var(--plumbing-primary);
  margin-bottom: 1rem;
}

/* Testimonials styling */
.testimonial-card {
  border-left: 4px solid var(--plumbing-secondary);
}

.testimonial-stars {
  color: gold;
}

/* Contact page styling */
.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--plumbing-primary);
}

/* CTA sections */
.cta-section {
  background-color: var(--plumbing-primary);
  color: white;
  padding: 4rem 0;
}

/* Footer styling */
footer {
  background-color: #212529;
  color: white;
  padding: 3rem 0;
}

/* Custom button styling */
.btn-plumbing {
  background-color: var(--plumbing-primary);
  border-color: var(--plumbing-primary);
  color: white;
}

.btn-plumbing:hover {
  background-color: var(--plumbing-secondary);
  border-color: var(--plumbing-secondary);
  color: white;
}

/* Emergency badge */
.emergency-badge {
  background-color: #dc3545;
  color: white;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 5rem 0;
  }
  
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .contact-form {
    margin-top: 2rem;
  }
}
