/* services.css - Replicating primeforyou.in/services layout and styles */

.services-page-main {
  background-color: #c4c4c4; /* Swapped: Grid section gets dark gray background, same as other pages */
  color: #292929;
  font-family: Arial, Helvetica, sans-serif;
}

/* ─── HERO ───────────────────────────────────────── */
.services-page-hero {
  background-color: #f3f6f9; /* Swapped: Hero section gets light off-white background, same as other pages */
  padding: 4rem 0 0.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.services-hero-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 980px;
  min-height: 520px;
  margin: 0 auto;
}

.hero-left {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  transform: translate(-95%, -50%); /* Shifts 'Services' text left to overlap left edge of the hero image */
  pointer-events: none;
  max-width: 480px;
}

.hero-left h1 {
  font-size: 110px;
  font-weight: 300;
  color: #292929;
  margin: 0 0 1rem 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: -2px;
}

.hero-left p {
  font-size: 13.5px;
  color: #292929;
  line-height: 1.6;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  max-width: 320px;
}

.hero-right {
  width: 520px;
  height: 520px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-left: 430px; /* Shift hero image to right same as events page */
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ─── Services Alternating List Section ────────────── */
.services-list-section {
  padding: 4rem 0;
}

.services-list-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 2%;
  display: flex;
  flex-direction: column;
  gap: 0; /* Tight border-to-border layout */
}

/* Row with border */
.service-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: 2px solid #292929;
  padding: 3rem 0;
}

.service-row:first-child {
  border-top: 2px solid #292929;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

/* Service media (image block) */
.service-media {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.service-media img {
  max-width: 320px;
  max-height: 240px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.6); /* Gray icon styling like reference site */
}

/* Service info (text + button) */
.service-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  text-align: center;
}

.service-info h2 {
  font-size: 40px;
  font-weight: 700;
  color: #292929;
  margin: 0 0 1.5rem 0;
  font-family: Arial, Helvetica, sans-serif;
}

.service-info .btn {
  font-size: 14px;
  color: #292929;
  background: transparent;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.5rem 1rem;
  font-family: Arial, Helvetica, sans-serif;
  transition: all 0.2s ease;
}

.service-info .btn:hover {
  color: #000000;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .services-page-hero {
    padding: 2rem 0 0.5rem 0 !important;
  }
  .service-row, .service-row.reverse {
    flex-direction: column;
    padding: 2rem 0;
  }
  .services-hero-container {
    flex-direction: column;
    min-height: auto;
    padding: 1rem 1.5rem !important;
  }
  .hero-left {
    position: static;
    transform: none;
    text-align: center;
    margin-bottom: 2rem;
  }
  .hero-left h1 {
    font-size: 60px;
  }
  .hero-right {
    width: 280px;
    height: 280px;
    margin-left: 0;
  }
}
