:root{
  --popup-bg: #ffffff;
  --popup-text: #ffffff;
  /* --input-bg: #f5f6f7; */
  --input-border: #f08b2c;
  --cancel-bg: #444444;
  --overlay: rgba(3, 0, 0, 0.6);
  
}
body.dark-mode{
  --popup-bg: #1e1e1e;
  --popup-text: #ffffff;
  --input-bg: #2b2b2b;
  --input-border: #bd5d04;
  --cancel-bg: #f44336;
  --overlay: rgba(0,0,0,.6);
  
}
.btn-open{
  background: linear-gradient(to right, #f08b2c, #8b1d1d);
  border: none; padding: 12px 25px;
  color: #fff; border-radius: 25px;
  cursor: pointer; font-weight: 700;
  margin-right: 8px;
}
.btn-quote{
  background: linear-gradient(to right, #501111, #c26e20);
}
.popup-form{
  display:none; position:fixed; inset:0;
  background:var(--overlay); backdrop-filter:blur(6px);
  z-index:1000; justify-content:center; align-items:center;
  
}
.popup-content{
  background:var(--popup-bg); color:var(--popup-text);
  padding:28px; max-width:760px; width:92%;
  border-radius:14px; position:relative; overflow-y:auto;
  max-height:90vh; box-shadow:0 14px 40px rgba(24, 1, 1, 0.18);
  transition:background .25s,color .25s, box-shadow .25s;
  background: rgba(0, 0, 0, 0.199);
  color: white !important;
}
.popup-close{ position:absolute; top:10px; right:14px; font-size:26px;
  background:none; border:none; cursor:pointer; color:inherit; }
.popup-content h2{ text-align:center; margin:0 0 18px; font-size:24px; }
.book-now-form{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group{ display:flex; flex-direction:column; }
.form-group label{ font-weight:700; margin-bottom:6px; color:var(--popup-text); }
.book-now-form input, .book-now-form select{
  padding:12px 14px; border-radius:20px;
  background:var(--input-bg); border:1px solid var(--input-border);
  color:var(--popup-text); font-size:14px; outline:none; width:100%;
}

/* Choices.js fixes */
.choices__inner{
  border-radius:20px !important;
  background:var(--input-bg) !important;
  border:1px solid var(--input-border) !important;
  min-height:44px;
  display:flex; align-items:center;
  color:var(--popup-text) !important;
  padding:6px 8px !important;
}
.choices__placeholder{
  opacity:0.6 !important;
  font-size:14px;
  color:var(--popup-text) !important;
  background:none !important;
  border:none !important;
  box-shadow:none !important;
}
.choices__list--dropdown .choices__item{
  /* color:#000 !important; background:#fff !important; */
  background: rgba(0, 0, 0, 0.7);
}
body.dark-mode .choices__list--dropdown .choices__item{
  color:#fff !important;
  background:#000000 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4)
}

/* Buttons aligned right */
.button-wrapper{
  grid-column: span 2;
  display:flex; justify-content:flex-end;
  gap:12px;
}
.btn-submit,.btn-cancel{
  padding:12px 20px; border-radius:20px; border:none;
  font-weight:700; cursor:pointer;
}
.btn-submit{ background:linear-gradient(to right,#f08b2c,#8b1d1d); color:#fff; }
.btn-cancel{ background:var(--cancel-bg); color:#fff; }

@media (max-width:600px){
  .book-now-form{ grid-template-columns:1fr; }
  .button-wrapper{ grid-column:1; justify-content:flex-end; }
}

/* --- Booking Form Styles (synced with contact.css) --- */
.booking-form {
  width: 100%;
  padding: 30px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-top: -50px;
  position: relative;
  z-index: 5;
}

.booking-form .booking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.booking-form input,
.booking-form select {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

.booking-form button.btn {
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}



.booking-form button.btn:hover {
  background: #0056b3;
}


/*New Get booking*/
/* ===========================
   BOOK NOW POPUP
=========================== */
/* ===========================
   BOOK NOW POPUP
=========================== */





/* Quotation Toggle */
.quotation-toggle {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.checkbox-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #F28C28;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  accent-color: #F28C28; /* modern browsers */
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Quotation Field (Permanent) */
.booking-form .field i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #F28C28;
  font-size: 1rem;
  pointer-events: none;
}




/* ===========================
   GET QUOTE POPUP (Scoped)
=========================== */

/* Overlay */
#getQuotePopup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
#getQuotePopup.active {
  opacity: 1;
  visibility: visible;
}

/* Popup container */
.popup-form {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--overlay);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.popup-form.active { display: flex; }

/* Popup content */
.popup-content{
  background: var(--popup-bg);
  color: var(--popup-text);
  padding: 28px;
  max-width: 760px;
  width: 92%;
  border-radius: 14px;
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
  box-shadow: 0 14px 40px rgba(24, 1, 1, 0.18);
  transition: background .25s, color .25s, box-shadow .25s;
}

/* Scoped override: softer gray background */
#getQuotePopup .popup-content {
  background: #f4f4f4;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #F28C28;
  transition: transform 0.2s;
}
.popup-close:hover { transform: rotate(90deg); }

/* Title */
#getQuotePopup h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #222;
}

/* Quote form */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.quote-form .form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.quote-form .field {
  flex: 1;
  position: relative;
}
.quote-form .field i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #F28C28;
  font-size: 1rem;
  pointer-events: none;
}

/* Inputs */
.quote-form .field input,
.quote-form .field select,
.quote-form .field textarea {
  width: 100%;
  padding: 0.9rem 0.9rem 0.9rem 2.5rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.quote-form .field input:focus,
.quote-form .field select:focus,
.quote-form .field textarea:focus {
  border-color: #F28C28;
  box-shadow: 0 0 0 3px rgba(242,140,40,0.2);
}
.quote-form .field textarea {
  min-height: 100px;
  resize: vertical;
}

/* Readonly */
.quote-form .field input[readonly] {
  background: #f5f5f5;
  font-weight: 600;
  color: #555;
  cursor: not-allowed;
}

/* Floating labels */
.quote-form .field label {
  position: absolute;
  top: 50%;
  left: 2.5rem;
  transform: translateY(-50%);
  color: #777;
  pointer-events: none;
  transition: 0.3s ease;
  font-size: 0.95rem;
  background: none;
}

.quote-form .field input:focus + label,
.quote-form .field input:not(:placeholder-shown) + label,
.quote-form .field select:focus + label,
.quote-form .field select:not([value=""]) + label,
.quote-form .field textarea:focus + label,
.quote-form .field textarea:not(:placeholder-shown) + label {
  top: -8px;
  left: 10px;
  font-size: 0.75rem;
  color: #F28C28;
  background: none;
  padding: 0;
}
/* Dark mode floating labels */
body.dark #getQuotePopup .quote-form .field input:focus + label,
body.dark #getQuotePopup .quote-form .field input:not(:placeholder-shown) + label,
body.dark #getQuotePopup .quote-form .field select:focus + label,
body.dark #getQuotePopup .quote-form .field select:not([value=""]) + label,
body.dark #getQuotePopup .quote-form .field textarea:focus + label,
body.dark #getQuotePopup .quote-form .field textarea:not(:placeholder-shown) + label,
body.dark-mode #getQuotePopup .quote-form .field input:focus + label,
body.dark-mode #getQuotePopup .quote-form .field input:not(:placeholder-shown) + label,
body.dark-mode #getQuotePopup .quote-form .field select:focus + label,
body.dark-mode #getQuotePopup .quote-form .field select:not([value=""]) + label,
body.dark-mode #getQuotePopup .quote-form .field textarea:focus + label,
body.dark-mode #getQuotePopup .quote-form .field textarea:not(:placeholder-shown) + label,
body[data-theme="dark"] #getQuotePopup .quote-form .field input:focus + label,
body[data-theme="dark"] #getQuotePopup .quote-form .field input:not(:placeholder-shown) + label,
body[data-theme="dark"] #getQuotePopup .quote-form .field select:focus + label,
body[data-theme="dark"] #getQuotePopup .quote-form .field select:not([value=""]) + label,
body[data-theme="dark"] #getQuotePopup .quote-form .field textarea:focus + label,
body[data-theme="dark"] #getQuotePopup .quote-form .field textarea:not(:placeholder-shown) + label {
  background: #111;
  color: #F28C28;
}

/* Buttons */
#getQuotePopup .quote-form .btn-submit {
  background: linear-gradient(90deg, #F28C28, #7B1E1E);
  color: #fff;
  border: none;
  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  transition: opacity 0.3s, transform 0.2s;
  margin-top: 1rem;
  width: 100%;
}
#getQuotePopup .quote-form .btn-submit:hover {
  opacity: 0.9;
  transform: scale(1.03);
}
#getQuotePopup .quote-form .btn-cancel {
  margin-top: 0.8rem;
  background: #eee;
  color: #333;
  padding: 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  transition: background 0.3s;
}
#getQuotePopup .quote-form .btn-cancel:hover {
  background: #ddd;
}

/* ===========================
   DARK MODE
=========================== */
body.dark #getQuotePopup .popup-content,
body.dark-mode #getQuotePopup .popup-content,
body[data-theme="dark"] #getQuotePopup .popup-content {
  background: #111;
  color: #fff;
}
body.dark #getQuotePopup .quote-form .field input,
body.dark #getQuotePopup .quote-form .field select,
body.dark #getQuotePopup .quote-form .field textarea,
body.dark-mode #getQuotePopup .quote-form .field input,
body.dark-mode #getQuotePopup .quote-form .field select,
body.dark-mode #getQuotePopup .quote-form .field textarea,
body[data-theme="dark"] #getQuotePopup .quote-form .field input,
body[data-theme="dark"] #getQuotePopup .quote-form .field select,
body[data-theme="dark"] #getQuotePopup .quote-form .field textarea {
  background: transparent;
  border: 1px solid #F28C28;
  color: #fff;
}
body.dark #getQuotePopup .quote-form .field label,
body.dark-mode #getQuotePopup .quote-form .field label,
body[data-theme="dark"] #getQuotePopup .quote-form .field label {
  color: #aaa;
}
body.dark #getQuotePopup .quote-form .btn-cancel,
body.dark-mode #getQuotePopup .quote-form .btn-cancel,
body[data-theme="dark"] #getQuotePopup .quote-form .btn-cancel {
  background: #333;
  color: #fff;
}
body.dark #getQuotePopup .quote-form .btn-cancel:hover,
body.dark-mode #getQuotePopup .quote-form .btn-cancel:hover,
body[data-theme="dark"] #getQuotePopup .quote-form .btn-cancel:hover {
  background: #444;
}

/* Responsive */
@media (max-width: 768px) {
  #getQuotePopup .quote-form .form-row {
    flex-direction: column;
  }
}



/* Floating Labels (Booking Form) */
.booking-form .field {
  position: relative;
  flex: 1;
}

.booking-form .field input,
.booking-form .field select,
.booking-form .field textarea {
  width: 100%;
  padding: 12px 12px 12px 36px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  color: #000;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

body.dark-mode .booking-form .field input,
body.dark-mode .booking-form .field select,
body.dark-mode .booking-form .field textarea {
  background: transparent;
  border: 1px solid #F28C28;
  color: #fff;
}

.booking-form .field label {
  position: absolute;
  top: 50%;
  left: 36px;
  transform: translateY(-50%);
  color: #777;
  font-size: 0.95rem;
  pointer-events: none;
  transition: 0.3s ease;
}

.booking-form .field input:focus + label,
.booking-form .field input:not(:placeholder-shown) + label,
.booking-form .field select:focus + label,
.booking-form .field select:not([value=""]) + label {
  top: -8px;
  left: 10px;
  font-size: 0.75rem;
  background: #fff;
  padding: 0 5px;
  color: #F28C28;
}

body.dark-mode .booking-form .field input:focus + label,
body.dark-mode .booking-form .field input:not(:placeholder-shown) + label,
body.dark-mode .booking-form .field select:focus + label,
body.dark-mode .booking-form .field select:not([value=""]) + label {
  background: #111;
  color: #F28C28;
}

/* Clear Button */
.btn-clear {
  background: #f5f5f5;
  color: #333;
  border: 1px solid #ccc;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}

.btn-clear:hover {
  background: #eee;
  color: #000;
  transform: scale(1.05);
}

body.dark-mode .btn-clear {
  background: #333;
  color: #fff;
  border: 1px solid #555;
}

body.dark-mode .btn-clear:hover {
  background: #444;
}
