/* Yleiset palvelusivujen perusasetukset */

/* === HERO SECTION PERUSASETUKSET === */
.service-hero {
  position: relative;
  background: linear-gradient(135deg, 
    rgb(20, 83, 45) 0%, 
    rgb(34, 139, 34) 25%, 
    rgb(20, 83, 45) 50%, 
    rgb(46, 125, 50) 75%, 
    rgb(20, 83, 45) 100%
  );
  overflow: hidden;
}

.service-hero-container {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 900px;
  height: 900px;
}

@media (min-width: 768px) {
  .service-hero-container {
    height: 1000px;
  }
}

@media (min-width: 1024px) {
  .service-hero-container {
    height: 1100px;
  }
}

/* === HERO BACKGROUND PERUSASETUKSET === */
.service-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
}

.service-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg, 
    rgba(20, 83, 45, 0.75) 0%, 
    rgba(56, 142, 60, 0.65) 25%,
    rgba(76, 175, 80, 0.55) 50%,
    rgba(46, 125, 50, 0.7) 75%,
    rgba(20, 83, 45, 0.8) 100%
  );
  z-index: 10;
}

/* === HERO CONTENT PERUSASETUKSET === */
.service-hero-content {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
}

/* === FLOATING ELEMENTS PERUSASETUKSET === */
.service-floating-elements {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.service-floating-particle {
  position: absolute;
  border-radius: 50%;
  filter: blur(2rem);
  animation: float 6s ease-in-out infinite;
}

/* === GLASSMORPHISM PERUSASETUKSET === */
.service-glassmorphism {
  backdrop-filter: blur(16px) saturate(180%);
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(209, 213, 219, 0.3);
}

.service-floating-card {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* === HOVER EFFECTS PERUSASETUKSET === */
.service-hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* === BUTTON PERUSASETUKSET === */
.service-primary-button {
  background: linear-gradient(to right, #ffffff, #f0fdf4);
  color: rgb(20, 83, 45);
  font-weight: 700;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}

.service-primary-button:hover {
  background: linear-gradient(to right, #f0fdf4, #ffffff);
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(34, 197, 94, 0.25);
}

.service-secondary-button {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-weight: 600;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}

.service-secondary-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* === STATS CARDS PERUSASETUKSET === */
.service-stats-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2.5rem auto 0;
  max-width: 80rem;
}

@media (min-width: 768px) {
  .service-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-stats-card {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-stats-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.service-stats-card:hover::before {
  left: 100%;
}

/* === TYPOGRAPHY PERUSASETUKSET === */
.service-hero-title {
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(to right, #ffffff, #dcfce7, #ffffff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.service-hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* === MOBILE PERUSASETUKSET === */
@media (max-width: 768px) {
  .service-hero-container {
    min-height: 55vh !important;
    height: auto;
    padding: 2rem 0;
  }
  
  .service-hero-background {
    background-position: center 15% !important;
    background-attachment: scroll;
  }
  
  .service-floating-particle {
    animation-duration: 4s;
    opacity: 0.3;
  }
  
  .service-hover-lift:hover {
    transform: none;
  }
  
  .service-glassmorphism {
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.12);
  }
  
  .service-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    max-width: 20rem;
  }
  
  .service-stats-card {
    padding: 0.75rem;
  }
}