/* ==========================================================================
   JRK INTERIORS - CONTACT & CTA SECTION (FRONTEND CSS)
   ========================================================================== */
.jrk-contact-cta-section {
  --jrk-brand-dark: #202C22; 
  --jrk-card-bg: #F6F5F0; 
  --jrk-input-bg: #EFECE3; 
  
  position: relative !important;
  width: 100% !important;
  padding: 100px 48px !important;
  box-sizing: border-box !important;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
  overflow: hidden !important;
}

.jrk-contact-cta-section * {
  box-sizing: border-box !important;
}

/* Background Image & Overlay */
.jrk-contact-bg {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
}

.jrk-contact-bg-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.jrk-contact-bg-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(26, 31, 28, 0.88) !important; 
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* Main Container */
.jrk-contact-container {
  position: relative !important;
  z-index: 2 !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 60px !important;
}

/* ==========================================================================
   LEFT COLUMN: CONTENT & CTA
   ========================================================================== */
.jrk-contact-content {
  flex: 0 0 40% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.jrk-contact-heading {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(2.4rem, 3.5vw, 3.5rem) !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
  color: #FFFFFF !important;
  margin: 0 0 20px 0 !important;
  letter-spacing: -0.5px !important;
}

.jrk-contact-desc {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0 !important;
  max-width: 90% !important;
}

/* Light Pill Button */
.jrk-contact-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  background-color: var(--jrk-card-bg) !important; 
  color: var(--jrk-brand-dark) !important;
  text-decoration: none !important;
  padding: 14px 28px !important;
  border-radius: 9999px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.jrk-contact-btn svg {
  transition: transform 0.3s ease !important;
}

.jrk-contact-btn:hover {
  background-color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2) !important;
}

.jrk-contact-btn:hover svg {
  transform: translateX(4px) !important;
}

/* ==========================================================================
   RIGHT COLUMN: FORM CARD
   ========================================================================== */
.jrk-contact-form-card {
  flex: 1 !important;
  background-color: var(--jrk-card-bg) !important;
  border-radius: 20px !important;
  padding: 48px !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25) !important;
  position: relative !important;
}

/* Form CSS Grid to match the reference layout perfectly */
.jrk-form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px 24px !important;
  transition: opacity 0.3s ease !important;
}

.jrk-group-name    { grid-column: 1; grid-row: 1; }
.jrk-group-phone   { grid-column: 2; grid-row: 1; }
.jrk-group-email   { grid-column: 1; grid-row: 2; }
.jrk-group-package { grid-column: 2; grid-row: 2; }
.jrk-group-message { grid-column: 1 / span 2; grid-row: 3; }

/* Left-aligned luxury submit button */
.jrk-group-submit { 
  grid-column: 1 / span 2; 
  grid-row: 4; 
  display: flex !important; 
  align-items: flex-start !important; 
  justify-content: flex-start !important; 
  margin-top: 6px !important;
}

/* Form Elements */
.jrk-form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.jrk-form-label {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: var(--jrk-brand-dark) !important;
}

.jrk-form-input {
  width: 100% !important;
  background-color: var(--jrk-input-bg) !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.9rem !important;
  color: var(--jrk-brand-dark) !important;
  transition: all 0.3s ease !important;
  outline: none !important;
}

.jrk-form-input::placeholder {
  color: rgba(32, 44, 34, 0.4) !important;
}

.jrk-form-input:focus {
  background-color: #FFFFFF !important;
  border-color: rgba(32, 44, 34, 0.2) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

/* Custom Select Styling */
.jrk-select-wrapper {
  position: relative !important;
  width: 100% !important;
}

.jrk-form-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  padding-right: 40px !important;
}

.jrk-select-arrow {
  position: absolute !important;
  right: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  color: var(--jrk-brand-dark) !important;
  opacity: 0.6 !important;
}

/* Textarea Specifics */
.jrk-form-textarea {
  resize: none !important;
  height: 100% !important; /* Stretches to fill the 2 rows */
  min-height: 140px !important;
}

/* Dark Submit Button */
.jrk-form-submit-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background-color: var(--jrk-brand-dark) !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 16px 36px !important;
  border-radius: 9999px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  width: auto !important;
}

.jrk-form-submit-btn svg {
  transition: transform 0.3s ease !important;
}

.jrk-form-submit-btn:hover {
  background-color: #121A14 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

.jrk-form-submit-btn:hover svg {
  transform: translateX(4px) !important;
}

.jrk-form-submit-btn:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Success & Error Feedback Containers */
.jrk-form-feedback {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  display: none;
}

.jrk-form-feedback.is-error {
  display: block;
  background-color: #fff1f0;
  border: 1px solid #ffa39e;
  color: #cf1322;
}

.jrk-form-feedback.is-success {
  display: block;
  background-color: #f6ffed;
  border: 1px solid #b7eb8f;
  color: #389e0d;
}

/* In-Card Complete Success State Screen */
.jrk-form-success-screen {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.jrk-form-success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px auto;
  border-radius: 50%;
  background: #202C22;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jrk-form-success-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--jrk-brand-dark);
  margin: 0 0 10px 0;
}

.jrk-form-success-msg {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  max-width: 480px;
  margin: 0 auto 24px auto;
}

.jrk-form-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--jrk-brand-dark);
  border: 1px solid var(--jrk-brand-dark);
  padding: 10px 24px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.jrk-form-reset-btn:hover {
  background: var(--jrk-brand-dark);
  color: #FFFFFF;
}

/* ==========================================================================
   RESPONSIVE: LAPTOPS (1024px to 1280px)
   ========================================================================== */
@media screen and (max-width: 1280px) and (min-width: 1024px) {
  .jrk-contact-cta-section {
    padding: 80px 32px !important;
  }
  .jrk-contact-container {
    gap: 40px !important;
  }
  .jrk-contact-form-card {
    padding: 40px !important;
  }
}

/* ==========================================================================
   RESPONSIVE: TABLETS (768px to 1023px)
   ========================================================================== */
@media screen and (max-width: 1023px) and (min-width: 768px) {
  .jrk-contact-cta-section {
    padding: 80px 24px !important;
  }
  .jrk-contact-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 40px !important;
  }
  .jrk-contact-content {
    flex: none !important;
    width: 100% !important;
    max-width: 600px !important;
  }
  .jrk-contact-form-card {
    width: 100% !important;
    padding: 40px !important;
  }
}

/* ==========================================================================
   RESPONSIVE: MOBILE (UNDER 768px)
   ========================================================================== */
@media screen and (max-width: 767px) {
  .jrk-contact-cta-section {
    padding: 60px 16px !important;
  }
  .jrk-contact-container {
    flex-direction: column !important;
    gap: 40px !important;
  }
  
  .jrk-contact-content {
    flex: none !important;
    width: 100% !important;
    text-align: left !important;
  }
  .jrk-contact-heading {
    font-size: 2.4rem !important;
  }
  
  .jrk-contact-form-card {
    width: 100% !important;
    padding: 32px 24px !important;
  }

  /* Stack grid into 1 column on mobile */
  .jrk-form-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .jrk-group-name    { grid-column: 1; grid-row: 1; }
  .jrk-group-phone   { grid-column: 1; grid-row: 2; }
  .jrk-group-email   { grid-column: 1; grid-row: 3; }
  .jrk-group-package { grid-column: 1; grid-row: 4; }
  .jrk-group-message { grid-column: 1; grid-row: 5; }
  .jrk-group-submit  { grid-column: 1; grid-row: 6; align-items: stretch !important; }

  .jrk-form-textarea {
    min-height: 110px !important;
    height: 110px !important;
  }

  .jrk-form-submit-btn {
    width: 100% !important;
    justify-content: center !important;
    margin-top: 6px !important;
  }
}
/* ==========================================================================
   JRK INTERIORS - LUXURY BOOKING POPUP MODAL
   ========================================================================== */
.jrk-booking-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease !important;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif !important;
}

.jrk-booking-modal-overlay.jrk-modal-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.jrk-booking-modal-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(16, 24, 18, 0.75) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 1 !important;
}

.jrk-booking-modal-dialog {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 580px !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
}

.jrk-booking-modal-card {
  position: relative !important;
  background: #FFFFFF !important;
  border-radius: 28px !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  padding: 32px 36px !important;
  overflow-y: auto !important;
  max-height: 90vh !important;
  transform: scale(0.95) translateY(-14px) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.jrk-booking-modal-card::-webkit-scrollbar {
  width: 6px !important;
}
.jrk-booking-modal-card::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.15) !important;
  border-radius: 4px !important;
}

.jrk-booking-modal-overlay.jrk-modal-open .jrk-booking-modal-card {
  transform: scale(1) translateY(0) !important;
}

/* Close Button */
.jrk-booking-modal-close {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(0, 0, 0, 0.05) !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #202C22 !important;
  transition: all 0.25s ease !important;
  z-index: 10 !important;
}

.jrk-booking-modal-close:hover {
  background: rgba(0, 0, 0, 0.1) !important;
  transform: rotate(90deg) !important;
}

/* Header */
.jrk-booking-modal-tag {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #C5A880 !important;
  margin-bottom: 6px !important;
}

.jrk-booking-modal-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.65rem !important;
  font-weight: 600 !important;
  color: #202C22 !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.25 !important;
}

.jrk-booking-modal-sub {
  font-size: 0.88rem !important;
  color: #666666 !important;
  margin: 0 0 16px 0 !important;
  line-height: 1.5 !important;
}

/* Selected Badge */
.jrk-booking-selected-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #F6F5F0 !important;
  border: 1px solid #E6E4DC !important;
  padding: 8px 16px !important;
  border-radius: 9999px !important;
  font-size: 0.85rem !important;
  color: #202C22 !important;
  margin-bottom: 22px !important;
}

.jrk-badge-dot {
  color: #25D366 !important;
  font-size: 12px !important;
}

/* Form Grid */
.jrk-modal-form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px 18px !important;
  margin-bottom: 22px !important;
}

.jrk-mcol-full {
  grid-column: 1 / -1 !important;
}

.jrk-mform-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.jrk-mform-label {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  color: #202C22 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.jrk-mform-input {
  width: 100% !important;
  padding: 12px 14px !important;
  background-color: #F6F5F0 !important;
  border: 1px solid #E6E4DC !important;
  border-radius: 12px !important;
  font-family: inherit !important;
  font-size: 0.92rem !important;
  color: #202C22 !important;
  outline: none !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
}

.jrk-mform-input:focus {
  background-color: #FFFFFF !important;
  border-color: #C5A880 !important;
  box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.16) !important;
}

.jrk-mform-textarea {
  min-height: 80px !important;
  resize: vertical !important;
}

/* Select wrapper */
.jrk-mselect-wrapper {
  position: relative !important;
  width: 100% !important;
}

.jrk-mform-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  padding-right: 36px !important;
  cursor: pointer !important;
}

.jrk-mselect-arrow {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  color: #202C22 !important;
}

/* Submit Button */
.jrk-mform-submit-btn {
  width: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background-color: #202C22 !important;
  color: #FFFFFF !important;
  padding: 15px 28px !important;
  border-radius: 9999px !important;
  border: none !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 10px 24px rgba(32, 44, 34, 0.2) !important;
}

.jrk-mform-submit-btn:hover {
  background-color: #172119 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 30px rgba(32, 44, 34, 0.28) !important;
}

.jrk-mform-submit-btn:disabled {
  opacity: 0.65 !important;
  cursor: not-allowed !important;
}

/* Feedback Box */
.jrk-modal-feedback {
  padding: 12px 16px !important;
  border-radius: 10px !important;
  font-size: 0.88rem !important;
  margin-bottom: 16px !important;
  font-weight: 600 !important;
}

.jrk-modal-feedback.is-error {
  background: #FFF1F0 !important;
  color: #CF1322 !important;
  border: 1px solid #FFA39E !important;
}

/* Success Screen */
.jrk-modal-success-screen {
  text-align: center !important;
  padding: 24px 16px 10px !important;
}

.jrk-success-icon-wrap {
  width: 68px !important;
  height: 68px !important;
  margin: 0 auto 18px !important;
  border-radius: 50% !important;
  background: #EAF7EE !important;
  color: #25D366 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.jrk-success-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.6rem !important;
  color: #202C22 !important;
  margin: 0 0 10px 0 !important;
}

.jrk-success-desc {
  font-size: 0.95rem !important;
  color: #555555 !important;
  line-height: 1.6 !important;
  max-width: 440px !important;
  margin: 0 auto 24px !important;
}

.jrk-success-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  align-items: center !important;
}

.jrk-success-wa-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background-color: #25D366 !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
  padding: 14px 28px !important;
  border-radius: 9999px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3) !important;
  transition: transform 0.2s ease !important;
}

.jrk-success-wa-btn:hover {
  transform: translateY(-2px) !important;
}

.jrk-success-close-btn {
  background: transparent !important;
  border: none !important;
  color: #666666 !important;
  font-size: 0.88rem !important;
  cursor: pointer !important;
  text-decoration: underline !important;
  padding: 6px 12px !important;
}

/* Mobile responsive */
@media screen and (max-width: 600px) {
  .jrk-booking-modal-card {
    padding: 24px 20px !important;
    border-radius: 20px !important;
  }
  .jrk-modal-form-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .jrk-mcol-full {
    grid-column: 1 !important;
  }
  .jrk-booking-modal-title {
    font-size: 1.4rem !important;
  }
}

/* Force hide submitted forms */
.jrk-is-hidden,
form.jrk-is-hidden,
.jrk-mat-form-grid.jrk-is-hidden,
.jrk-embedded-form-grid.jrk-is-hidden,
.jrk-lux-form-grid.jrk-is-hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
