/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Gradient background inspired by the logo */
.gradient-bg {
  background: linear-gradient(135deg, #d32f2f, #f57c00);
}

/* Custom hover effects for buttons */
.btn-primary {
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover {
  background-color: #b71c1c;
  transform: scale(1.05);
}

/* Hero image styling */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 3rem 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}

/* Mobile-specific styles */
@media (max-width: 640px) {
  /* Adjust font sizes for mobile */
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  p,
  a {
    font-size: 1rem;
  }

  /* Navigation adjustments */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    margin: 0.5rem 0;
    font-size: 1.2rem;
  }

  /* Hamburger menu */
  .hamburger {
    display: block;
    cursor: pointer;
  }
  .hamburger div {
    width: 25px;
    height: 3px;
    background-color: #d32f2f;
    margin: 5px 0;
    transition: all 0.3s ease;
  }

  /* Hero section padding */
  .hero-section {
    padding: 1rem 0;
  }

  /* Adjust container padding */
  .container {
    padding: 1rem;
    /*padding-right: 1rem;*/
  }

  /* Services grid to single column */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Ensure images scale properly */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Contact section adjustments */
  .contact-content {
    padding: 0 1rem;
  }
}
