/* Playing Cards Services Section */
.section-playing-cards {
  background-color: transparent;
  padding: 100px 0;
  overflow: hidden;
}

.cards-deck-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding: 40px 20px 80px;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Hide scrollbar for clean look */
}

.cards-deck-wrapper::-webkit-scrollbar {
  display: none;
}

.playing-card {
  flex: 0 0 auto;
  width: 240px;
  height: 360px;
  background-color: #1A1A1A;
  /* Dark card background */
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid #333;
}

.playing-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(139, 0, 0, 0.3);
  background-color: #FF4326;
  ;
  /* Turn red like the featured card */
  border-color: #FF4326;
  ;
}

.playing-card.featured {
  background-color: #FF4326;
  ;
  /* Deep red for the center card */
  border-color: #FF4326;
  ;
  transform: translateY(40px);
  /* Offset downwards like in the image */
  height: 380px;
  /* Slightly taller */
}

.playing-card.featured:hover {
  transform: translateY(25px);
}

.card-corner {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #888;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  transition: color 0.4s ease;
  z-index: 2;
}

.playing-card.featured .card-corner,
.playing-card:hover .card-corner {
  color: #000;
}

.card-corner.top-left {
  top: 15px;
  left: 15px;
}

.card-corner.bottom-right {
  bottom: 15px;
  right: 15px;
  transform: rotate(180deg);
}

.card-value {
  font-family: monospace;
  font-size: 16px;
}

.card-suit {
  font-size: 12px;
  margin-top: 2px;
}

.card-art {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 20px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-img-black {
  filter: grayscale(1);
  opacity: 1;
}

.service-img-orange {
  opacity: 0;
}

.playing-card:hover .service-img {
  transform: scale(1.05);
}

.playing-card:hover .service-img-black {
  opacity: 0;
}

.playing-card:hover .service-img-orange {
  opacity: 1;
}

.card-title-bottom {
  position: absolute;
  bottom: -40px;
  /* Position text outside the card */
  left: 0;
  width: 100%;
  text-align: center;
  color: #FF4326;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.playing-card.featured .card-title-bottom {
  bottom: -40px;
}

/* Services Footer Content (OUR SERVICES) */
.services-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1400px;
  margin: 60px auto 0;
  padding: 0 40px;
  color: #111;
}

.services-text-left p {
  margin-left: 15px;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: -10px;
  /* Pull the giant text closer */
}

.massive-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(4rem, 12vw, 10rem);
  /* Huge typography */
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 0;
  text-transform: uppercase;
}

.services-text-right {
  max-width: 300px;
  text-align: right;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
  padding-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .services-footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .services-text-right {
    text-align: left;
    max-width: 100%;
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .cards-deck-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 80px;
    /* Space for the absolute bottom titles */
    overflow-x: hidden;
    padding-bottom: 100px;
  }

  .playing-card {
    width: 280px;
    /* Slightly wider on mobile for better text fit */
    height: 400px;
    flex: none;
  }

  .playing-card.featured {
    height: 420px;
    transform: translateY(0);
    /* Remove offset on mobile */
  }

  .playing-card.featured:hover {
    transform: translateY(-10px);
  }

  .massive-title {
    font-size: 60px;
  }
}