/* Services Premium Redesign Stylesheet */

:root {
  --color-gold: #C5A059;
  --color-gold-hover: #d4b56e;
  --color-dark: #111111;
  --color-bg-light: #FAF8F4;
  --color-card-bg: #ffffff;
  --color-border-subtle: #ECECEC;
  --color-border-gold: rgba(197, 160, 89, 0.35);
  --font-serif: 'Kaisei Tokumin', serif !important;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 30px 60px rgba(197, 160, 89, 0.15);
}

.services-page-wrapper {
  background-color: var(--color-bg-light);
  font-family: var(--font-sans);
  color: var(--color-dark);
  position: relative;
  overflow-x: hidden;
  padding-bottom: 6rem;
}

/* Luxury Hero Section */
.services-luxury-hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 6rem;
  background-image: url('../common/hero-pg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .services-luxury-hero {
    min-height: 60vh;
    padding: 6rem 1.5rem 4rem;
    background-attachment: scroll;
  }
}

.hero-luxury-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.7);
  z-index: 1;
}

.hero-ambient-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.15) 0%, rgba(197, 160, 89, 0) 70%);
  filter: blur(80px);
  z-index: 2;
  pointer-events: none;
}

.hero-luxury-content {
  position: relative;
  z-index: 3;
  max-width: 60rem;
  text-align: center;
  color: #ffffff;
}

.hero-kicker-gold {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title-serif {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  color: #ffffff;
  animation: fadeInUp 1s ease forwards;
}

.hero-title-serif span {
  color: var(--color-gold);
}

.hero-intro-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  animation: fadeInUp 1.2s ease forwards;
}

.hero-cta-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1.4s ease forwards;
}

@media (max-width: 640px) {
  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
}

.hero-btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

@media (max-width: 640px) {
  .hero-btn {
    width: 100%;
    box-sizing: border-box;
  }
}

.hero-btn-gold {
  background-color: var(--color-gold);
  color: #111111;
  border: 1px solid var(--color-gold);
}

.hero-btn-gold:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

.hero-btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Service Grid Section */
.services-section-grid-wrap {
  max-width: 85rem;
  margin: 5rem auto 2rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.services-responsive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .services-responsive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .services-responsive-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Service BG Image Card Premium Redesign */
.premium-service-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 2rem;
  box-sizing: border-box;
  box-shadow: var(--shadow-premium);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  background-color: #111111;
  border: 1px solid var(--color-border-subtle);
  height: 100%;
}

.service-card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.4) 0%, rgba(17, 17, 17, 0.85) 75%, rgba(17, 17, 17, 0.95) 100%);
  z-index: 2;
  transition: all 0.4s ease;
}

.premium-service-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-hover);
}

.premium-service-card:hover .service-card-bg-img {
  transform: scale(1.08);
}

.premium-service-card:hover .service-card-overlay {
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.3) 0%, rgba(17, 17, 17, 0.75) 70%, rgba(17, 17, 17, 0.9) 100%);
}

.service-card-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.service-icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.premium-service-card:hover .service-icon-wrapper {
  background-color: var(--color-gold);
  color: #111111;
  border-color: var(--color-gold);
  transform: rotate(5deg);
}

.service-title-serif {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-desc-muted {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
