/* Custom Variables */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #25d366;
  --dark-color: #212529;
  --light-color: #f8f9fa;
}

/* Base Styles */
body {
  font-family: "Open Sans", sans-serif;
  padding-top: 76px; /* Account for fixed navbar */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(13, 110, 253, 0.8), rgba(13, 110, 253, 0.9)),
    url("../gallery/images/clean_roof_zoomedin.jpeg") center/cover;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Card Enhancements */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Testimonial Carousel */
.testimonial-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 15px;
}

.testimonial-card {
  height: 100%;
  margin: 1rem;
}

.testimonial-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-content i.fa-quote-left {
  color: var(--primary-color);
  opacity: 0.2;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.testimonial-author {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.rating {
  color: #ffd700;
}

/* Navigation Dots */
.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.testimonial-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background-color: var(--primary-color);
  opacity: 0.5;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.3s ease;
}

.testimonial-nav button.active {
  opacity: 1;
}

/* Navigation Arrows */
.testimonial-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.3s ease;
}

.arrow-btn:hover {
  transform: scale(1.1);
}

/* Custom Button Styles */
.btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-lg {
  padding: 1rem 2rem;
}

/* Image Styles */
.img-fluid {
  border-radius: 0.5rem;
}

/* Section Spacing */
section {
  position: relative;
  overflow: hidden;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }

  .testimonial-arrows {
    display: none;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
