/* ================================
   Services / Packages Section (#s-services)
   Plain hand-written CSS — not part of the Tailwind build.
   Runtime component stylesheet; edit this file directly (no build needed).
   Content comes from the tk_section_{1..4}_(image|label|title|items) options — see parts/services.php
   ================================ */

#s-services {
  padding: 80px 0;
  background: #151515;
}
@media (min-width: 768px) {
  #s-services {
    padding: 112px 0;
  }
}

#s-services .svc-wrap {
  padding: 0 clamp(20px, 5vw, 80px);
}
#s-services .svc-inner {
  max-width: 1200px;
  margin: 0 auto;
}

#s-services .svc-head {
  text-align: center;
  margin-bottom: 64px;
}
#s-services .svc-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201, 168, 106, 0.8);
}
#s-services .svc-rule {
  width: 56px;
  height: 2px;
  background: rgba(201, 168, 106, 0.5);
  margin: 16px auto 24px;
}
#s-services .svc-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
}
#s-services .svc-title em {
  color: white;
  font-style: normal;
}

#s-services .svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  direction: rtl; 
}
@media (min-width: 640px) {
  #s-services .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  #s-services .svc-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

#s-services .svc-card {
  position: relative;
  border-radius: 16px;
  overflow: visible;
  transition: box-shadow 0.5s ease;
}
#s-services .svc-card:hover {
  box-shadow: 0 8px 40px -12px rgba(201, 168, 106, 0.15);
}

#s-services .svc-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #151515;
  border-radius: 16px 16px 0 0;
}
#s-services .svc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
#s-services .svc-card:hover .svc-img img {
  transform: scale(1.05);
}

#s-services .svc-label {
  position: absolute;
  top: 10px;
  right: -7px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 14px 7px;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.94);
  white-space: nowrap;
  background: linear-gradient(
    135deg,
    rgba(33, 29, 24, 0.82),
    rgba(10, 10, 10, 0.62)
  );
  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top-color: rgba(255, 255, 255, 0.26);
  border-radius: 10px 0 0px 10px;
  box-shadow:
    inset 0 -1px 0 rgba(255, 255, 255, 0.07),
    0 8px 24px rgba(0, 0, 0, 0.28),
    3px 3px 9px rgba(0, 0, 0, 0.35);
  direction: rtl;
  isolation: isolate;
}

/* The brighter outer strip makes the badge feel raised from the card. */
#s-services .svc-label::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  bottom: -1px;
  width: 9px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0.09)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 0;
  box-shadow:
    inset 2px 0 4px rgba(255, 255, 255, 0.035),
    2px 0 6px rgba(0, 0, 0, 0.16);
}

/* Small shaded fold underneath the protruding edge. */
#s-services .svc-label::before {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -7px;
  width: 8px;
  height: 8px;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(135deg, #343230, #1b1a19 72%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.32));
}

#s-services .svc-panel {
  position: relative;
  margin: -40px 16px 16px;
  padding: 24px;
  text-align: center;
  background: rgba(11, 11, 11, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  z-index: 1;
}
#s-services .svc-panel h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.95);
}

#s-services .svc-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;
  text-align: left;
}
#s-services .svc-items li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.5);
}
#s-services .svc-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9a86a;
}
#s-services .svc-items li:last-child {
  margin-bottom: 0;
}
