#services {
  position: relative;
  padding: 80px 0;
  background: #00183d;
  background-image: url('../images/home_image.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 13, 33, 0.747) 0%, rgba(6, 13, 33, 0.747) 30%, rgba(6, 13, 33, 0.747) 100%);
  z-index: 1;
}

#services .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

#services .site-footer {
  position: relative;
  z-index: 3;
}

#services h1 {
  font-family: 'TheSeasons', 'The Seasons', Georgia, serif;
  color: #e8e8f2;
  font-size: 2.5rem;
  margin-bottom: 60px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

@media (max-width: 980px) {
  .services-grid { 
    grid-template-columns: 1fr; 
    gap: 40px;
  }
}

.service {
  text-align: center;
  color: #e8e8f2;
  padding: 20px 10px;
}

.service a {
  display: block;
  margin: 0 auto 20px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.service a:hover {
  transform: scale(1.05);
}

.service img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: opacity 0.3s ease;
}

.service a:hover img {
  opacity: 0.9;
}

.service h3 {
  margin: 0 0 15px 0;
  font-family: 'TheSeasons', 'The Seasons', Georgia, serif;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
  font-size: 1.2rem;
}

.service p {
  margin: 0 auto;
  max-width: 280px;
  line-height: 1.6;
  color: #e8e8f2;
  font-family: 'TheSeasons', 'The Seasons', Georgia, serif;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  #services h1 {
    font-size: 2rem;
  }
  
  .service {
    padding: 25px 15px;
  }
  
  .service h3 {
    font-size: 1.1rem;
  }
  
  .service p {
    font-size: 0.9rem;
  }
}

