/* ================= GOOGLE FONTS ================= */
@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&family=Permanent+Marker&family=Shadows+Into+Light+Two&display=swap');

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

/* ================= NAVBAR ================= */
.site-nav{

    background: rgba(39, 108, 121, 0.95); 

}


/* ================= MAIN SECTION ================= */
.services {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  margin-top: 100px;
}

/* ================= HEADER ================= */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 100px 120px 60px;
  flex-wrap: wrap;
}

.services-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.6;
  max-width: 400px;
}

.services-description {
  text-align: right;
  font-size: 1.1rem;
  color: #111010;
  line-height: 1.7;
  max-width: 550px;
}

/* ================= STACK ================= */
.services-stack {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.service-item {
  position: relative;
  width: 100%;
  overflow: hidden;
  transition: 0.6s ease;
  cursor: pointer;
}

/* ================= IMAGE ================= */
.service-item img {
  width: 100%;
  height: 360px; /* Desktop default */
  object-fit: cover;
  transition: 0.6s ease;
  filter: brightness(0.75);
}

/* ================= CONTENT OVERLAY ================= */
.service-content {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 80px;
  background: rgba(0, 0, 0, 0.35);
  transition: 0.4s ease;
  color: #fff;
}

/* ================= H3 ALWAYS VISIBLE ================= */
.service-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 1;
  z-index: 2;
}

/* ================= SERVICE INFO ================= */
.service-info {
  opacity: 0;
  max-width: 520px;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-info h4 {
  font-family: 'Shadows Into Light Two', cursive;
  font-size: 1.5rem;
  color: #ffd700;
  margin-bottom: 12px;
}

.service-info p {
  font-size: 1rem;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.service-info ul {
  margin-bottom: 12px;
}

.service-info li {
  font-weight: 600;
}

.price {
  color: #1a73e8;
}

/* ================= DESKTOP HOVER ================= */
@media (hover: hover) and (pointer: fine) {

  .service-item:hover img {
    height: 620px;
    transform: scale(1.03);
    filter: brightness(1);
  }

  .service-item:hover .service-content {
    background: rgba(10, 10, 10, 0.75);
  }

  .service-item:hover .service-info {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* ================= TABLET & MOBILE ================= */
@media (max-width: 900px) {

  .services-header {
    flex-direction: column;
    padding: 50px 20px;
  }

  .services-description {
    text-align: left;
    margin-top: 15px;
  }

  /* 🔥 Reduced image height */
  .service-item img {
    height: 220px;
  }

  .service-content {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .service-content h3 {
    font-size: 1.4rem;
  }

  /* Click / Tap expansion */
  .service-item.active img {
    height: 260px;
  }

  .service-item.active .service-info {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .custom-cursor {
    display: none !important;
  }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {

  .service-item img {
    height: 180px;
  }

  .service-item.active img {
    height: 220px;
  }

  .service-content h3 {
    font-size: 1.2rem;
  }
}

/* ================= BLANK SECTION FIX ================= */
.blank-black {
  background: #eaf1f1;
  height: 12vh; /* reduced */
}

/* ================= CUSTOM CURSOR ================= */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  background: rgba(26, 115, 232, 0.8);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  mix-blend-mode: difference;
  transition: 0.2s ease;
  opacity: 0;
  z-index: 9999;
}