/* ========== Book a Creator Like a Ride - Two-column section ========== */

.book-creator-section {
  padding: 7rem 2rem 4rem;
  background: url('../assets/2.jpeg') center/cover no-repeat;
}

.book-creator-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

/* instant-booking.html: text + phone mockup */
.book-creator-inner:has(.book-creator-phone) {
  max-width: 1100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 300px);
  gap: 2.5rem;
  align-items: center;
}

.book-creator-content {
  color: #000000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.125rem;
  min-width: 0;
}

.book-creator-inner:has(.book-creator-phone) .book-creator-content {
  gap: 1.25rem;
}

.book-creator-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #000000;
  margin-bottom: 0;
  line-height: 1.2;
}

.book-creator-subheading {
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Service buttons row */
.book-creator-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
  justify-content: flex-start;
  width: 100%;
  max-width: 100%;
}

.book-creator-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: 12px;
  color: #000000;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.book-creator-btn:hover {
  background: rgba(255,140,0,0.1);
  border-color: #FF8C00;
}

.book-creator-btn svg {
  width: 20px;
  height: 20px;
  color: #FF8C00;
  flex-shrink: 0;
}

/* Torn-paper style banner */
.book-creator-banner {
  display: inline-block;
  background: linear-gradient(135deg, #FF8C00 0%, #E67E22 100%);
  color: #000000;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.7rem 1.8rem;
  position: relative;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
  margin-top: 0.25rem;
}

/* Phone mockup (instant-booking.html) */
.book-creator-phone {
  display: flex;
  justify-content: center;
  align-items: center;
}

.book-creator-phone-frame {
  position: relative;
  width: 260px;
  max-width: 100%;
  aspect-ratio: 9 / 19;
  background: #1a1a1a;
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 0 0 3px #333,
    0 0 0 6px #1a1a1a,
    0 25px 50px -12px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(255, 140, 0, 0.12);
}

.book-creator-phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.book-creator-phone-map {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.6) 100%),
    url('https://images.unsplash.com/photo-1569336415962-a4bd9f69cd83?w=400') center/cover;
  opacity: 0.5;
}

.book-creator-phone-card {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 1rem;
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  z-index: 2;
}

.book-creator-phone-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.book-creator-phone-card-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.4rem;
}

.book-creator-phone-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.book-creator-phone-card-time {
  color: #4ADE80;
  font-weight: 600;
}

.book-creator-phone-card-price {
  color: #FF8C00;
  font-weight: 600;
}

/* Tablets & phones: horizontal pill strip + stack phone under copy */
@media (max-width: 900px) {
  .book-creator-section {
    padding: 4rem 1.25rem 3rem;
  }

  .book-creator-inner:has(.book-creator-phone) {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .book-creator-phone {
    order: 2;
    padding: 0;
  }

  .book-creator-phone-frame {
    width: min(200px, 42vw);
  }

  .book-creator-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    overflow: visible;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
  }

  .book-creator-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .book-creator-section {
    padding: 3rem 1rem;
  }

  .book-creator-phone-frame {
    width: min(160px, 38vw);
  }

  .book-creator-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .book-creator-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.85rem;
  }

  .book-creator-btn svg {
    width: 18px;
    height: 18px;
  }

  .book-creator-banner {
    font-size: 0.9rem;
    padding: 0.55rem 1.35rem;
  }

  .book-creator-content {
    gap: 1rem;
  }
}
