/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* NAV styling (same as index) */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  z-index: 1000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
}

.brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: #4CAF50;
  text-decoration: none;
}

.nav-links a {
  margin-left: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.nav-links .cta-btn {
  background: #4CAF50;
  padding: 10px 18px;
  border-radius: 6px;
  color: #fff;
}

.nav-links .active {
  text-decoration: underline;
}

/* HERO TOP HALF */
.services-hero {
  height: 50vh;
  background-image: url("video/images.png"); /* ⬅️ SIIA PILT */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 73px;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.55)
  );
  z-index: 0;
}

.services-hero .overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 50px 70px;
  border-radius: 16px;
  backdrop-filter: blur(4px);
}

.services-hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.services-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* SERVICE BLOCKS */
.service-block {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  gap: 70px;
}

.dark  { background: #232323; color: #fff; }
.black { background: #111; color: #fff; }

.text {
  flex: 0.9;
  max-width: 520px;
}

.text h2 {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.text p {
  font-size: 1.15rem;
  line-height: 1.6;
  opacity: 0.95;
}

/* IMAGE AREA — SUUREM JA DOMINEERIV */
.image-box {
  flex: 1.3;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-box img {
  width: 100%;
  max-width: 720px;          /* ⬅️ OLULINE: pilt on nüüd suur */
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

/* CTA bottom */
.contact-footer {
  background: #000;
  padding: 90px 0;
  text-align: center;
}

.cta-footer {
  background: #4CAF50;
  padding: 18px 36px;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}

.cta-footer:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(76,175,80,0.35);
}

/* MOBILE */
@media (max-width: 900px) {
  .service-block {
    flex-direction: column;
    height: auto;
    text-align: center;
    padding: 110px 6% 110px;
  }

  .image-box img {
    max-width: 100%;
  }

  .navbar {
    padding: 15px 6%;
  }

  .services-hero h1 {
    font-size: 2.2rem;
  }
}
