/* =========================
   SERVICES PAGE – LUXURY UI
   ========================= */

/* ===== COLOR VARIABLES ===== */
:root {
  --gold: #d4af37;
  --dark: #000;
  --dark-soft: #0b0b0b;
  --card-bg: #111;
  --text-soft: #ccc;
  --border-soft: #222;
}

/* ===== SERVICES HERO ===== */
.services-hero {
  min-height: 60vh;
  background: linear-gradient(
      rgba(0,0,0,0.75),
      rgba(0,0,0,0.75)
    ),
    url("images/decorated-banquet-hall-with-flowers.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}

.services-hero-content h1 {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, var(--gold), #ffd700, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.services-hero-content p {
  max-width: 720px;
  margin: auto;
  font-size: 17px;
  color: var(--text-soft);
}

/* ===== SERVICES GRID ===== */
.services-section {
  padding: 90px 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  background: linear-gradient(180deg, #000, #050505);
}

/* ===== SERVICE CARD ===== */
.service-card {
  background: linear-gradient(180deg, #111, #0b0b0b);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.75);
  transition: all 0.45s ease;
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 0 45px rgba(212,175,55,0.35);
}

/* IMAGE */
.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

/* CONTENT */
.service-info {
  padding: 30px 26px 34px;
  text-align: center;
}

.service-info h3 {
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

/* DETAILS LIST */
.service-details {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.service-details li {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 8px;
}

/* ===== PROCESS SECTION ===== */
.services-process {
  padding: 90px 20px;
  text-align: center;
  background: linear-gradient(180deg, #050505, #000);
}

.services-process h2 {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 60px;
}

/* PROCESS GRID */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}
/* ===== FLIP CARD BASE ===== */
.service-card {
  perspective: 1200px;
}

.service-inner {
  position: relative;
  width: 100%;
  height: 420px; /* fixed height for clean flip */
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.4, 0.2, 0.2, 1);
}

/* FLIP ON HOVER */
.service-card:hover .service-inner {
  transform: rotateY(180deg);
}

/* FRONT & BACK COMMON */
.service-front,
.service-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #111, #0b0b0b);
  box-shadow: 0 12px 40px rgba(0,0,0,0.75);
}

/* ===== FRONT ===== */
.service-front img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-front .service-info {
  padding: 20px;
  text-align: center;
}

.service-front h3 {
  color: #d4af37;
  margin-bottom: 12px;
}

.service-front .service-details {
  list-style: none;
  padding: 0;
}

.service-front .service-details li {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 6px;
}

/* ===== BACK ===== */
.service-back {
  transform: rotateY(180deg);
  padding: 35px 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-back h3 {
  color: #d4af37;
  margin-bottom: 18px;
}

.service-back p {
  font-size: 15px;
  line-height: 1.7;
  color: #ccc;
}

/* ===== MOBILE TAP FLIP (WORKING) ===== */
@media (max-width: 768px) {

  /* Disable hover on mobile */
  .service-card:hover .service-inner {
    transform: none;
  }

  /* Tap flip */
  .service-card.active .service-inner {
    transform: rotateY(180deg);
  }

  .service-card {
    perspective: 1200px;
  }

  .service-inner {
    height: 420px;
    transform-style: preserve-3d;
  }

  .service-front,
  .service-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
  }

  .service-back {
    transform: rotateY(180deg);
  }
}



/* ===== MOBILE TAP FLIP ENABLE ===== */
@media (max-width: 768px) {

  /* Disable hover flip on mobile */
  .service-card:hover .service-inner {
    transform: none;
  }

  /* Enable tap flip */
  .service-card.active .service-inner {
    transform: rotateY(180deg);
  }

  .service-inner {
    height: 420px;
  }

  .service-front,
  .service-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
  }

  .service-back {
    transform: rotateY(180deg);
  }

  .footer-line{
        width: 80%;
    }
}


/* STEP */
.process-step {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px 25px;
  border: 1px solid var(--border-soft);
  transition: all 0.4s ease;
}

.process-step:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 0 35px rgba(212,175,55,0.25);
}

.process-step span {
  font-size: 38px;
  display: block;
  margin-bottom: 18px;
}

.process-step h4 {
  color: var(--gold);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-soft);
}

/* ===== SERVICES CTA ===== */
.services-cta {
  padding: 100px 20px;
  text-align: center;
  background: radial-gradient(circle, #111, #000);
}

.services-cta h2 {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 18px;
}

.services-cta p {
  color: var(--text-soft);
  font-size: 16px;
  margin-bottom: 35px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .services-section {
    grid-template-columns: repeat(2, 1fr);
    padding: 70px 40px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .services-hero-content h1 {
    font-size: 30px;
  }

  .services-section {
    grid-template-columns: 1fr;
    padding: 60px 20px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .services-process h2,
  .services-cta h2 {
    font-size: 28px;
  }
}


.service-link-btn {
  margin-top: 22px;
  padding: 14px 34px;
  border-radius: 35px;
  background: linear-gradient(135deg, gold, #ffd700);
  color: #000;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.45);
  transition: 0.35s ease;
}

.service-link-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
}

