/* ========================================
   CALENDLY BOOKING SECTION STYLES
   ForgeTheStack Integration v1.0.0
   ======================================== */

/* Booking Section Container */
.booking {
  background: var(--bg-section, #ffffff);
  padding: 4rem 0;
  position: relative;
}

.booking[hidden] {
  display: none;
}

/* Content Wrapper */
.booking__content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Eyebrow Text */
.booking__cta {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent, #D4AF37);
  margin-bottom: 0.75rem;
}

/* Section Title */
.booking__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary, #1F2937);
  margin: 0 0 1rem;
}

/* Description Text */
.booking__description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary, #6B7280);
  margin: 0 0 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Calendly Embed Container */
.booking__embed {
  margin-top: 2rem;
  min-height: 700px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
              0 2px 4px -1px rgba(0, 0, 0, 0.06);
  background: #ffffff;
}

/* Popup Mode Button */
.booking__cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  background: var(--color-accent, #D4AF37);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.booking__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.booking__cta-button:active {
  transform: translateY(0);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .booking {
    padding: 3rem 0;
  }

  .booking__embed {
    min-height: 600px;
    border-radius: 8px;
  }

  .booking__title {
    font-size: 1.75rem;
  }

  .booking__description {
    font-size: 1rem;
  }
}

/* Dark Theme Support (Optional) */
@media (prefers-color-scheme: dark) {
  .booking {
    background: var(--bg-dark, #0B1020);
  }

  .booking__title {
    color: var(--text-primary, #F8FAFC);
  }

  .booking__description {
    color: var(--text-secondary, #CBD5E1);
  }
}

/* Loading State */
.booking__embed:empty::before {
  content: 'Loading booking calendar...';
  display: block;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-secondary, #6B7280);
  font-size: 1rem;
}

/* Error State Fallback */
.booking__fallback {
  padding: 2rem;
  text-align: center;
  background: #f8f9fa;
  border-radius: 8px;
  border: 2px dashed #dee2e6;
}

.booking__fallback p {
  margin: 0;
  color: #6c757d;
  font-size: 1rem;
}

.booking__fallback a {
  color: var(--color-accent, #007bff);
  font-weight: 600;
  text-decoration: underline;
}

.booking__fallback a:hover {
  color: var(--color-accent-dark, #0056b3);
}
