@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&amp;display=swap');

/* Typography setup */
.ep-booking-page .ep-service-card *,
.ep-booking-page .ep-card-title,
.ep-booking-page .ep-card-duration {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.ep-booking-page .ep-service-card h3 {
  font-weight: 600;
}

/* Base card styling */
.ep-booking-page .ep-service-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 250px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.ep-booking-page {
  display: flex;
  justify-content: center;
}

.ep-booking-page .ep-service-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.ep-booking-page .ep-service-card h3 {
  font-size: 1.5rem;
  z-index: 2;
  margin: 0;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.ep-booking-page .ep-service-card p {
  font-size: 1rem;
  margin-top: 8px;
  z-index: 2;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

.ep-booking-page .ep-service-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, 0.05);
  z-index: 1;
}

/* Top content row */
.ep-booking-page .ep-card-top {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  font-size: 1rem;
}

.ep-booking-page .ep-card-duration,
.ep-booking-page .ep-card-title {
  color: white;
  font-weight: 500;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

/* Dot on duration */
.ep-card-duration::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: #910048;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

/* Pulse animation */
.ep-service-card.pulse {
  animation: breatheCard 2s ease-in-out infinite;
}

@keyframes breatheCard {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Flip container */
.ep-flip-card {
  perspective: 1000px;
  width: 100%;
  max-width: 600px;
  height: 250px;
  position: relative;
  transition: height 0.4s ease;
}

/* Inner flipping wrapper */
.ep-flip-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  position: relative;
}

/* Flip logic */
.ep-flip-card.flipped .ep-flip-inner {
  transform: rotateY(180deg);
}

/* Faces */
.ep-flip-front,
.ep-flip-back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.ep-flip-front {
  z-index: 2;
}

.ep-flip-back {
  transform: rotateY(180deg);
  background: #fff;
  color: black;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

/* Acuity embed */
.ep-flip-back iframe,
#scheduler-container {
  width: 100%;
  min-height: 600px;
  border: none;
}


.ep-flip-card.flipped .ep-flip-inner {
  transform: rotateY(180deg) !important;
}

