/* ============================================
BOOK STAND COMPONENT STYLES
============================================ */

.book-component {
  background: var(--dark-secondary);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

/* Background Text */

.book-component .book-bg-text {
  position: absolute;
  top: 5%;
  right: -5%;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(100px, 18vw, 280px);
  color: rgba(202, 166, 106, 0.03);
  z-index: 0;
  pointer-events: none;
  letter-spacing: 12px;
  user-select: none;
}

/* Container */

.book-component .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ============================================
HERO SECTION
============================================ */

.book-component .book-hero {
  text-align: center;
  margin-bottom: 50px;
  padding: 40px 0;
}

.book-component .book-hero .section-label {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.book-component .book-hero .section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  color: var(--text-light);
  margin-bottom: 12px;
}

.book-component .book-hero .section-subtitle {
  font-size: clamp(16px, 1.2vw, 18px);
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* Trust Badges */

.book-component .trust-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.book-component .trust-badge {
  padding: 6px 20px;
  border: 1px solid rgba(202, 166, 106, 0.2);
  border-radius: 50px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ============================================
BOOKING PORTAL
============================================ */

.book-component .booking-portal {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

/* Form Container */

.book-component .book-form-container {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(202, 166, 106, 0.1);
  border-radius: 24px;
  padding: 40px 36px;
}

.book-component .book-form-container .form-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.book-component .book-form-container .form-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 28px;
}

/* Form Groups */

.book-component .form-group {
  margin-bottom: 24px;
}

.book-component .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.book-component .form-group select,
.book-component .form-group input,
.book-component .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text-light);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.book-component .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23caa66a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.book-component .form-group select:focus,
.book-component .form-group input:focus,
.book-component .form-group textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.08);
}

.book-component .form-group select option {
  background: var(--dark-secondary);
  color: var(--text-light);
}

.book-component .form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.book-component .form-group .field-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 4px;
}

/* Contact Method */

.book-component .contact-methods {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.book-component .contact-methods label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-weight: 400;
}

.book-component .contact-methods input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-primary);
  cursor: pointer;
}

/* Payment Details */

.book-component .payment-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(202, 166, 106, 0.08);
}

.book-component .payment-details .detail-item {
  display: flex;
  flex-direction: column;
}

.book-component .payment-details .detail-item .detail-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.3);
}

.book-component .payment-details .detail-item .detail-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 2px;
}

.book-component .payment-details .detail-item .detail-value.gold {
  color: var(--gold-primary);
}

/* Submit Button */

.book-component .btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--gold-gradient);
  color: var(--dark);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  margin-top: 8px;
  letter-spacing: 0.5px;
}

.book-component .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(202, 166, 106, 0.25);
}

/* ============================================
RESERVATION SUMMARY (Sticky Sidebar)
============================================ */

.book-component .reservation-summary {
  position: sticky;
  top: 100px;
  align-self: start;
}

.book-component .summary-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(202, 166, 106, 0.15);
  border-radius: 24px;
  padding: 32px 28px;
}

.book-component .summary-card .summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.book-component .summary-card .summary-header h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--text-light);
  margin: 0;
}

.book-component .summary-card .status-badge {
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.book-component .summary-card .status-badge.selling {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.book-component .summary-card .status-badge.upcoming {
  background: rgba(241, 196, 15, 0.2);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.3);
}

.book-component .summary-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.book-component .summary-item:last-child {
  border-bottom: none;
}

.book-component .summary-item .summary-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.book-component .summary-item .summary-value {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  text-align: right;
}

.book-component .summary-item .summary-value.gold {
  color: var(--gold-primary);
  font-weight: 600;
}

/* ============================================
FORM SUCCESS
============================================ */

.book-component .form-success {
  text-align: center;
  padding: 40px 20px;
}

.book-component .form-success .success-icon {
  font-size: 64px;
  color: var(--gold-primary);
  margin-bottom: 20px;
}

.book-component .form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.book-component .form-success p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.book-component .form-success .success-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.book-component .form-success .success-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.book-component .form-success .success-actions .btn-primary {
  background: var(--gold-gradient);
  color: var(--dark);
  border-color: var(--gold-primary);
}

.book-component .form-success .success-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(202, 166, 106, 0.25);
}

.book-component .form-success .success-actions .btn-outline {
  background: transparent;
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}

.book-component .form-success .success-actions .btn-outline:hover {
  background: var(--gold-primary);
  color: var(--dark);
  transform: translateY(-2px);
}

/* ============================================
REVEAL ANIMATIONS
============================================ */

.book-component .book-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.book-component .book-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.book-component .book-reveal-delay-1 {
  transition-delay: 0.1s;
}

.book-component .book-reveal-delay-2 {
  transition-delay: 0.2s;
}

.book-component .book-reveal-delay-3 {
  transition-delay: 0.3s;
}

.book-component .book-reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ============================================
RESPONSIVE
============================================ */

@media (max-width: 1024px) {
  .book-component .booking-portal {
    grid-template-columns: 1fr;
  }

  .book-component .reservation-summary {
    position: relative;
    top: 0;
  }

}

@media (max-width: 768px) {
  .book-component {
    padding: 60px 0;
  }

  .book-component .book-hero {
    padding: 20px 0;
    margin-bottom: 30px;
  }

  .book-component .book-form-container {
    padding: 28px 20px;
  }

  .book-component .payment-details {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .book-component .trust-badges {
    gap: 12px;
  }

  .book-component .trust-badge {
    font-size: 10px;
    padding: 4px 14px;
  }

  .book-component .contact-methods {
    flex-wrap: wrap;
    gap: 12px;
  }

  .book-component .summary-card {
    padding: 24px 20px;
  }

  .book-component .form-success .success-actions {
    flex-direction: column;
  }

  .book-component .form-success .success-actions .btn {
    width: 100%;
    text-align: center;
  }

}

@media (max-width: 480px) {
  .book-component .book-hero .section-title {
    font-size: 28px;
  }

  .book-component .book-form-container {
    padding: 20px 16px;
  }

  .book-component .book-form-container .form-title {
    font-size: 20px;
  }

  .book-component .summary-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .book-component .summary-item .summary-value {
    text-align: left;
  }

}

/* ============================================
REDUCED MOTION
============================================ */

@media (prefers-reduced-motion: reduce) {
  .book-component .book-reveal {
    opacity: 1;
    transform: none;
  }

  .book-component .btn-submit {
    transition: none;
  }

  .book-component .btn-submit:hover {
    transform: none;
  }

  .book-component .form-success .success-actions .btn {
    transition: none;
  }

  .book-component .form-success .success-actions .btn:hover {
    transform: none;
  }

}

/* Component styles are inherited from base CSS */

