/*-----------------------------------*\
  #SERVICES PAGE STYLES
  Storytelling Mode — Light Theme
\*-----------------------------------*/

:root {
  --svc-bg: #f7f8fa;
  --svc-primary: #1f4fd8;
  --svc-accent: #d9a441;
  --svc-text-dark: #12151a;
  --svc-text-gray: #5b6472;
  --svc-white: #ffffff;
  
  --svc-hero-bg: #0f172a;
  --svc-legacy-bg: #12151a;
  
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.8);
  --shadow-soft: 0 10px 40px rgba(18, 21, 26, 0.08);
  --shadow-hover: 0 20px 50px rgba(31, 79, 216, 0.15);
}

body.services-page {
  background-color: var(--svc-bg);
  color: var(--svc-text-gray);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--svc-text-dark);
}

/*-----------------------------------*\
  #HERO SECTION
\*-----------------------------------*/
.svc-hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding: 0 20px;
  background-color: var(--svc-hero-bg);
  overflow: hidden;
}

.svc-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  mix-blend-mode: overlay;
  pointer-events: none;
  aspect-ratio: 16/9;
}

.svc-hero__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.svc-hero__title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--svc-white);
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  letter-spacing: -1px;
}

.svc-hero__title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
}

/* Make "Unforgettable" bold and gold */
.svc-hero__title span:nth-child(2) {
  font-weight: 700;
  color: var(--svc-accent);
}

.svc-hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255,255,255,0.85);
  opacity: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}


/*-----------------------------------*\
  #THE JOURNEY (HORIZONTAL SCROLL)
\*-----------------------------------*/
.svc-journey {
  position: relative;
  background-color: var(--svc-white);
  overflow: hidden;
}

.svc-journey__header {
  padding: 80px 20px 40px;
  text-align: center;
}

.svc-journey__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

/* Progress Indicator */
.svc-progress-wrapper {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 800px;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  z-index: 10;
  overflow: hidden;
  display: none; /* hidden on mobile */
}

@media (min-width: 900px) {
  .svc-progress-wrapper {
    display: block;
  }
}

.svc-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--svc-primary);
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(31, 79, 216, 0.4);
}

/* Horizontal Track */
.svc-track-container {
  overflow: hidden;
}

.svc-track {
  display: flex;
  padding: 0 5vw 100px;
  gap: 40px;
}

@media (max-width: 899px) {
  .svc-track {
    flex-direction: column;
    padding: 0 20px 60px;
  }
}

.svc-card {
  flex: 0 0 500px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

@media (max-width: 899px) {
  .svc-card {
    flex: auto;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
  }
}

.svc-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.svc-card__img-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #eee;
}

.svc-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.svc-card:hover .svc-card__img {
  transform: scale(1.08);
}

.svc-card__content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-grow: 1;
}

.svc-card__icon {
  width: 60px;
  height: 60px;
  background: rgba(217, 164, 65, 0.15);
  color: var(--svc-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 10px;
}

.svc-card__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--svc-text-dark);
}

.svc-card__text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--svc-text-gray);
}


/*-----------------------------------*\
  #THE LEGACY (COUNTERS)
\*-----------------------------------*/
.svc-legacy {
  padding: 120px 20px;
  background: var(--svc-legacy-bg);
  color: var(--svc-white);
  text-align: center;
}

.svc-legacy h2 {
  color: var(--svc-white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 80px;
  font-weight: 600;
}

.svc-legacy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.svc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.svc-stat__number-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  color: var(--svc-accent);
  line-height: 1;
}

.svc-stat__label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  opacity: 0.7;
  font-weight: 500;
  color: var(--svc-white);
}


/*-----------------------------------*\
  #CTA
\*-----------------------------------*/
.svc-cta {
  padding: 120px 20px;
  text-align: center;
  background-color: var(--svc-bg);
}

@keyframes rotate-bg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.svc-cta__content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  background: var(--svc-white);
  padding: 60px 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transform-style: preserve-3d;
}

.svc-cta__content::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, transparent, transparent, var(--svc-primary));
  animation: rotate-bg 4s linear infinite;
  z-index: 0;
  opacity: 0.15;
}

.svc-cta__content::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--svc-white);
  border-radius: 22px;
  z-index: 1;
}

.svc-cta__title, .svc-cta__subtitle, .svc-cta__btn {
  position: relative;
  z-index: 2;
  transform: translateZ(30px);
}

.svc-cta__title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.svc-cta__btn {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 35px;
  background-color: var(--svc-primary);
  color: var(--svc-white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.svc-cta__btn:hover {
  background-color: var(--svc-text-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(18, 21, 26, 0.15);
}
