/* =========================================================
   HARD RESET ASTRA LAYOUT FOR SERVICE PAGES
========================================================= */
.ast-container,
.ast-row,
.content-area,
.primary,
.site-content,
.entry-content {
  display: block !important;
  width: 100% !important;
  float: none !important;
}

/* Force vertical stacking */
.kt-hero,
.kt-filters,
.kt-listings {
  display: block !important;
  width: 100% !important;
  clear: both !important;
}

/* =========================================================
   HERO SECTION (FULL WIDTH – FINAL)
========================================================= */
.kt-hero {
  position: relative;
  width: 100%;
  height: 200px;              /* FIXED HEIGHT */
  min-height: 200px;
  display: flex;
  color: #ffffff;
  align-items: center;        /* Vertical center */
  justify-content: center;    /* Horizontal center */
  margin-bottom: 32px;        /* SPACE BELOW HERO */
  background: url("https://kshitijtourism.com/wp-content/uploads/2025/12/mt-sample-background-e1766294199569.jpg")
    center / cover no-repeat;
}
/* =========================================================
   FORCE HERO TEXT COLOR (ASTRA OVERRIDE)
========================================================= */
.kt-hero h1,
.kt-hero p {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.kt-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

/* Centered boxed content */
.kt-hero-content {
  position: relative;
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
  color: #ffffff;
}

.kt-hero-content h1 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.kt-hero-content p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto;
  color: #ffffff;
}

/* =========================================================
   CONTAINER (ASTRA WIDTH)
========================================================= */
.kt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===============================
   FILTERS – SINGLE ROW
================================ */

.kt-filters {
  margin: 20px 0 32px; /* spacing between hero & cards */
}

.kt-filters form {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap; /* allows wrap on small screens */
}

.kt-filters select {
  min-width: 220px;
  height: 42px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccd2da;
  background: #fff;
  font-size: 14px;
}

/* Desktop: keep in one line */
@media (min-width: 992px) {
  .kt-filters form {
    flex-wrap: nowrap;
  }
}


/* =========================================================
   CARD BASE
========================================================= */
.kt-card {
  display: flex;
  gap: 20px;
  background: #ffffff;
  border-radius: 10px;
  padding: 10px;
  height: 280px; /* FIXED CARD HEIGHT */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   IMAGE
========================================================= */
.kt-card-image {
  width: 260px;
  height: 260px;
  position: relative;
  flex-shrink: 0;
}

.kt-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.kt-difficulty {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff8c00;
  color: #ffffff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
}

/* =========================================================
   CARD CONTENT
========================================================= */
.kt-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.kt-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.kt-title-wrap h2 {
  margin: 0;
  font-size: 20px;
}

.kt-meta {
  font-size: 13px;
  color: #666666;
  margin-top: 4px;
}

/* BUTTON */
.kt-btn-enquire {
  background: #0b5ed7;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

/* =========================================================
   TABS
========================================================= */
.kt-tabs {
  display: flex;
  gap: 14px;
  margin: 12px 0;
  border-bottom: 1px solid #dddddd;
}

.kt-tabs button {
  background: none;
  border: none;
  padding: 8px 0;
  font-weight: 600;
  font-size: 13px;
  color: #666666;
  cursor: pointer;
}

.kt-tabs button.active {
  color: #0b5ed7;
  border-bottom: 2px solid #0b5ed7;
}

/* =========================================================
   TAB CONTENT (SCROLLABLE – NO HEIGHT JUMP)
========================================================= */
.kt-tab-wrapper {
  flex: 1;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.6;
  padding-right: 6px;
}

.kt-tab-content {
  display: none;
}

.kt-tab-content.active {
  display: block;
}

/* =========================================================
   PRICE
========================================================= */
.kt-price {
  font-weight: 600;
  font-size: 14px;
  margin-top: 8px;
}


/* =========================================================
   HERO TEXT VISIBILITY & CENTERING – FINAL FIX
========================================================= */

/* Ensure text is above overlay */
.kt-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Ensure overlay stays behind text */
.kt-hero-overlay {
  z-index: 1;
}

/* Force white text (override Astra) */
.kt-hero-content h1,
.kt-hero-content p {
  color: #ffffff !important;
}

/* True vertical centering within 200px hero */
.kt-hero {
  display: flex;
  align-items: center;
  justify-content: center;
}




/* ===============================
   SINGLE STATIC PAGE LAYOUT FIX
=============================== */

.kt-single-top {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 40px;
  margin-top: 40px;
}

/* Fixed image column */
.kt-single-image {
  flex: 0 0 260px;
  width: 260px;
  height: 260px;
  overflow: hidden;
  border-radius: 8px;
}

/* Image fill */
.kt-single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* RIGHT SIDE CONTENT */
.kt-single-details {
  flex: 1;
}

/* MOBILE */
@media (max-width: 768px) {
  .kt-single-top {
    flex-direction: column;
  }

  .kt-single-image {
    flex: 100%;
  }
}


/* ===============================
   ENQUIRY MODAL
=============================== */

.kt-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.kt-modal-content {
  background: #fff;
  max-width: 640px;
  width: 90%;
  padding: 24px;
  border-radius: 8px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.kt-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
}




/* ===============================
   ENQUIRY MODAL – DARK THEME
=============================== */

#kt-enquiry-modal .kt-modal-content {
  background-color: #111;   /* dark background */
  color: #ffffff;
}

/* Form labels */
#kt-enquiry-modal .wpforms-field-label,
#kt-enquiry-modal .wpforms-field-sublabel {
  color: #ffffff;
}

/* Input fields */
#kt-enquiry-modal input,
#kt-enquiry-modal textarea,
#kt-enquiry-modal select {
  background-color: #1e1e1e;
  color: #ffffff;
  border: 1px solid #444;
}

/* Placeholder text */
#kt-enquiry-modal ::placeholder {
  color: #aaa;
}

/* Submit button */
#kt-enquiry-modal .wpforms-submit {
  background-color: #e63946; /* or your brand color */
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

/* Close button */
#kt-enquiry-modal .kt-modal-close {
  color: #ffffff;
}

/* Read-only (auto-filled) fields */
#kt-enquiry-modal input[readonly] {
  background-color: #2a2a2a;
  color: #ccc;
  border: 1px dashed #555;
}



/* ===============================
   CARD TITLE – CLICKABLE INDICATOR
=============================== */

.kt-card h2 a {
  text-decoration: underline;
  text-decoration-color: rgba(0, 0, 0, 0.3);
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.kt-card h2 a:hover {
  color: #0b5ed7; /* or your brand color */
  text-decoration-color: #0b5ed7;
}
