/* Hero Section Styles */
.hero-bg {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/lucky7_redtowtruck.png');
  background-size: cover;
  background-position: center -30px;
  background-repeat: no-repeat;
  background-attachment: scroll;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Mobile background positioning */
@media (max-width: 767px) {
  .hero-bg {
    background-size: cover;
    background-position: center 0px;
  }
}

/* Logo Styles */
.logo-img {
  height: 60px;
  width: auto;
}

.logo-img-large {
  height: 80px;
  width: auto;
}

/* Navigation Styles */
.navbar-custom {
  background-color: #2d5937 !important;
  border-bottom: 3px solid #1e3d26;
}

/* Service Icon Styles */
.service-icon {
  font-size: 3rem;
  color: #28a745;
}

/* Contact Card Styles */
.contact-card {
  background: linear-gradient(135deg, #dc3545, #28a745);
  color: white;
}

/* Phone Number Styles */
.phone-number {
  font-size: 2rem;
  font-weight: bold;
}

/* Gallery Image Styles */
.gallery-img {
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}

/* Floating Call Button */
.floating-call-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
}

.floating-call-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(40, 167, 69, 0.6);
  color: white;
}

.floating-call-btn:active {
  transform: scale(0.95);
}

/* Pulse animation for floating button */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.8), 0 0 0 10px rgba(40, 167, 69, 0.2);
  }
  100% {
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.4);
  }
}

.floating-call-btn {
  animation: pulse 2s infinite;
}

/* Hide floating button on desktop */
@media (min-width: 768px) {
  .floating-call-btn {
    display: none;
  }
}

/* Mobile-only animations */
@media (max-width: 767px) {
  /* Service Cards Animation */
  .service-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
  }
  
  .service-card.animate {
    opacity: 1;
    transform: translateY(0);
  }
  
  .service-card:not(.animate) {
    opacity: 0;
    transform: translateY(50px);
  }
  
  .service-card:nth-child(1) { transition-delay: 0.1s; }
  .service-card:nth-child(2) { transition-delay: 0.2s; }
  .service-card:nth-child(3) { transition-delay: 0.3s; }
  .service-card:nth-child(4) { transition-delay: 0.4s; }
  .service-card:nth-child(5) { transition-delay: 0.5s; }
  .service-card:nth-child(6) { transition-delay: 0.6s; }
  
  .service-icon {
    transition: transform 0.3s ease;
  }
  
  .service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
  }
  
  /* About Section Animation */
  .about-content {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease-out;
  }
  
  .about-content:not(.animate) {
    opacity: 0;
    transform: translateX(-50px);
  }
  
  .about-image {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease-out;
  }
  
  .about-image:not(.animate) {
    opacity: 0;
    transform: translateX(50px);
  }
  
  /* Gallery Animation */
  .gallery-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.6s ease-out;
  }
  
  .gallery-item:not(.animate) {
    opacity: 0;
    transform: scale(0.8);
  }
  
  .gallery-item:nth-child(1) { transition-delay: 0.1s; }
  .gallery-item:nth-child(2) { transition-delay: 0.2s; }
  .gallery-item:nth-child(3) { transition-delay: 0.3s; }
  
  /* Contact Section Animation */
  .contact-card {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
  }
  
  .contact-card:not(.animate) {
    opacity: 0;
    transform: translateY(30px);
  }
  
  .contact-info {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s ease-out;
  }
  
  .contact-info:not(.animate) {
    opacity: 0;
    transform: translateX(-30px);
  }
  
  .contact-info:nth-child(1) { transition-delay: 0.2s; }
  .contact-info:nth-child(2) { transition-delay: 0.4s; }
  
  /* Pulsate animation for service icons */
  @keyframes pulsate {
    0% { 
      transform: scale(1); 
      color: #28a745;
    }
    25% { 
      transform: scale(1.4); 
      color: #20c997;
    }
    50% { 
      transform: scale(1.2); 
      color: #17a2b8;
    }
    75% { 
      transform: scale(1.3); 
      color: #20c997;
    }
    100% { 
      transform: scale(1); 
      color: #28a745;
    }
  }
  
  .service-card.animate .service-icon {
    animation: pulsate 1.2s ease-in-out;
    animation-fill-mode: both;
  }
  
  /* Specific delays for each card's icon */
  .service-card:nth-child(1).animate .service-icon { animation-delay: 0.2s; }
  .service-card:nth-child(2).animate .service-icon { animation-delay: 0.4s; }
  .service-card:nth-child(3).animate .service-icon { animation-delay: 0.6s; }
  .service-card:nth-child(4).animate .service-icon { animation-delay: 0.8s; }
  .service-card:nth-child(5).animate .service-icon { animation-delay: 1.0s; }
  .service-card:nth-child(6).animate .service-icon { animation-delay: 1.2s; }
  
  /* Override transition during animation */
  .service-card.animate .service-icon {
    transition: none;
  }
} 