/* ===== PROJECT DESCRIPTION PAGE ===== */

:root {
  --blue: #173F63;
  --brown: #ff6600;
  --white: #FFFFFF;
  --black: #000000;
  --ash: #96989A;
  --off-white: #E6E7E8;
}

/* ===== Section label (shared pattern) ===== */
.sec-label {
  font-family: "Raleway", serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .28rem;
  text-transform: uppercase;
  color: var(--brown);
  display: block;
  margin-bottom: .6rem;
}

/* ===================================overview===================================== */
.overview_sec {
  padding: 5rem 6%;
  max-width: 1400px;
  margin: 0 auto;
}

.overview_heading {
  margin-bottom: 3rem;
}

.overview_heading h1 {
  font-family: "EB Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--blue);
  margin: 0;
  line-height: 1.15;
}

.overview_con {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  align-items: start;
}

.overview_wr_up p {
  font-family: "EB Garamond", serif;
  font-size: 1.15rem;
  line-height: 1.9;
  color: #555;
  margin: 0;
  padding: 0;
}

/* Property details card */
.property-details {
  position: sticky;
  top: 110px;
}

.property_boder {
  border: 1px solid rgba(23, 63, 99, .1);
  padding: 0 1.5rem;
  margin-bottom: 1.25rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(23, 63, 99, .08);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-family: "Raleway", serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1rem;
  text-transform: uppercase;
  color: var(--ash);
  flex-shrink: 0;
}

.detail-value {
  font-family: "EB Garamond", serif;
  font-size: 1rem;
  color: var(--blue);
  text-align: right;
  line-height: 1.4;
}

.detail-value strong {
  color: var(--brown);
}

.detail-value a {
  color: var(--blue);
  text-decoration: none;
  transition: color .25s;
}
.detail-value a:hover { color: var(--brown); }

/* Download / Subscribe buttons */
.proj_mini_info_box_btn {
  margin-top: 1rem !important;
}

.proj_mini_info_box_btn_btn,
.schedule-btn,
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  padding: .8rem 1.5rem;
  font-family: "Raleway", serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18rem;
  text-transform: uppercase;
  border: 1px solid var(--blue);
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  border-radius: 0;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}

.proj_mini_info_box_btn_btn:hover,
.schedule-btn:hover,
.contact-btn:hover {
  background: var(--blue);
  color: #fff;
}

.sold-out { color: #c0392b; font-weight: 600; }

@media screen and (max-width: 900px) {
  .overview_con {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .property-details { position: static; }
}

@media screen and (max-width: 600px) {
  .overview_sec { padding: 3.5rem 5%; }
}

/* ===================================sold-out message===================================== */
.sold-out-message {
  font-family: "Raleway", serif;
  font-size: .78rem;
  color: var(--ash);
  margin-top: .75rem;
  text-align: center;
}
.sold-out-message a { color: var(--brown); text-decoration: none; }
.sold-out-units {
  font-family: "Raleway", serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08rem;
  color: #c0392b;
}
.available-units {
  font-family: "Raleway", serif;
  font-size: .72rem;
  font-weight: 600;
  color: #27ae60;
}

/* ===================================brochure modal===================================== */
.brochure-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, .88);
  backdrop-filter: blur(8px);
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
  animation: brochureFadeIn .3s ease-out;
}

@keyframes brochureFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.brochure-container {
  background: #fff;
  max-width: 640px;
  width: 100%;
  margin: 60px auto;
  position: relative;
  animation: brochureSlideUp .4s ease-out;
}

@keyframes brochureSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.brochure-header {
  background: var(--blue);
  border-bottom: 3px solid var(--brown);
  color: white;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.brochure-header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.brochure-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.brochure-icon img { width: 100%; height: 100%; object-fit: cover; }

.brochure-title {
  font-family: "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 .25rem;
  color: #fff;
}

.brochure-subtitle {
  font-family: "Raleway", serif;
  font-size: .72rem;
  letter-spacing: .1rem;
  text-transform: uppercase;
  margin: 0;
  color: rgba(255,255,255,.6);
}

.brochure-close {
  background: rgba(255,255,255,.12);
  border: none;
  width: 36px;
  height: 36px;
  color: white;
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s;
  flex-shrink: 0;
}
.brochure-close:hover { background: var(--brown); }

.brochure-form-section {
  padding: 2rem;
  background: #f8f7f5;
}

.brochure-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.brochure-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.brochure-input-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.brochure-label {
  font-family: "Raleway", serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12rem;
  text-transform: uppercase;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.brochure-input {
  padding: .7rem .9rem;
  border: 1px solid rgba(23,63,99,.18);
  border-radius: 0;
  font-family: "EB Garamond", serif;
  font-size: 1rem;
  color: var(--blue);
  background: #fff;
  outline: none;
  transition: border-color .25s;
}
.brochure-input:focus { border-color: var(--brown); }
.brochure-input::placeholder { color: #bbb; }

.brochure-submit-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.brochure-submit-btn {
  background: transparent;
  border: 1px solid var(--blue);
  color: var(--blue);
  padding: .8rem 2rem;
  font-family: "Raleway", serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18rem;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  justify-content: center;
  border-radius: 0;
  transition: background .25s, color .25s;
}
.brochure-submit-btn:hover { background: var(--blue); color: #fff; }

.brochure-submit-btn.loading { pointer-events: none; opacity: .7; }

.brochure-note {
  font-family: "Raleway", serif;
  font-size: .65rem;
  color: var(--ash);
  display: flex;
  align-items: center;
  gap: .4rem;
  text-align: center;
}

@media screen and (max-width: 600px) {
  .brochure-form-row { grid-template-columns: 1fr; }
  .brochure-header { flex-direction: column; gap: 1rem; }
  .brochure-close { position: absolute; top: 1rem; right: 1rem; }
}

.brochure-notification {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  background: #27ae60;
  color: #fff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .6rem;
  z-index: 10001;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  font-family: "Raleway", serif;
  font-size: .72rem;
  letter-spacing: .06rem;
  animation: slideInRight .3s ease-out;
  max-width: 340px;
}
.brochure-notification.error { background: #c0392b; }
@keyframes slideInRight  { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOutRight { from { transform: translateX(0);    opacity: 1; } to { transform: translateX(110%); opacity: 0; } }

/* ===================================section heading===================================== */
.section-heading {
  padding: 4rem 6% 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-heading .sec-label {
  margin-bottom: .5rem;
}

.section-heading h2 {
  font-family: "EB Garamond", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--blue);
  margin: 0;
  line-height: 1.15;
}

/* Legacy heading (used in older sections via .multi-item-slider-text) */
.multi-item-slider-text {
  padding: 3.5rem 6% 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.multi-item-slider-text h2 {
  font-family: "EB Garamond", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--blue);
  margin: 0;
  line-height: 1.15;
  text-transform: none;
}

/* ===================================amenities===================================== */
.aminities_section {
  background: var(--blue);
  padding: 4rem 6%;
}

.aminities_write_up {
  text-align: center;
  margin-bottom: 2.5rem;
}

.aminities_write_up h1 {
  font-family: "EB Garamond", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 .5rem;
}

.aminities_write_up p {
  font-family: "Raleway", serif;
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.aminities_container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.aminites {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
  padding: 1.5rem 1rem;
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color .25s, background .25s;
}

.aminites:hover {
  background: rgba(255,255,255,.05);
  border-color: var(--brown);
}

.aminites img {
  width: 2.5rem;
  filter: brightness(0) saturate(100%) invert(49%) sepia(89%) saturate(2638%) hue-rotate(10deg) brightness(103%) contrast(101%);
}

.aminites p {
  font-family: "Raleway", serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1rem;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin: 0;
}

@media screen and (max-width: 600px) {
  .aminities_container { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .aminities_section { padding: 3rem 5%; }
}

/* ===================================property slider===================================== */
.property_bg_color {
  background: #f8f7f5;
  padding: 3rem 6%;
}

.multi-item-slider-section {
  max-width: 1400px;
  margin: 0 auto;
}

.multi-item-slider {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  cursor: grab;
}

.multi-item-slider.grabbing { cursor: grabbing; }

.multi-item-track {
  display: flex;
  transition: transform 1s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

.multi-item-card {
  flex: 0 0 100%;
  padding: .75rem;
  box-sizing: border-box;
  transition: transform .3s ease;
}

.card-image-container {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s ease;
}

.multi-item-card:hover .card-image-container img { transform: scale(1.06); }

.card-content {
  background: #fff;
  border: 1px solid rgba(23,63,99,.08);
  border-top: 2px solid transparent;
  padding: 1.25rem 1rem;
  transition: border-top-color .3s;
}

.multi-item-card:hover .card-content { border-top-color: var(--brown); }

.card-content h3 {
  font-family: "EB Garamond", serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--blue);
  margin: 0 0 .5rem;
}

.card-content p {
  font-family: "Raleway", serif;
  font-size: .72rem;
  color: var(--ash);
  margin: .3rem 0;
}

.aprt_des {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid #f0f0f0;
}

.card-content .aprt {
  font-family: "Raleway", serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1rem;
  text-transform: uppercase;
  color: var(--ash);
  background: #f8f7f5;
  padding: .25rem .65rem;
}

.property_features {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin: .5rem 0;
}

.property_features .features {
  display: flex;
  align-items: center;
  gap: .2rem;
  font-family: "Raleway", serif;
  font-size: .72rem;
  color: var(--ash);
}

.property_features .features img { width: 1.1rem; }

.multi-item-dots {
  text-align: center;
  margin-top: .75rem;
}

.multi-item-dots .dot {
  display: inline-block;
  height: 5px;
  width: 5px;
  margin: 0 .2rem;
  background: rgba(23,63,99,.2);
  border-radius: 50%;
  cursor: pointer;
  transition: background .25s, width .3s, border-radius .3s;
}

.multi-item-dots .dot.active {
  background: var(--brown);
  width: 18px;
  border-radius: 3px;
}

/* ===================================plan calculator===================================== */
.payment-calculator-section {
  padding: 5rem 6%;
  background: #f0f2f5;
}

.calculator-wrapper {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.calculator-form-container {
  background: #fff;
  padding: 2rem;
  border: 1px solid rgba(23,63,99,.1);
  box-shadow: 0 4px 24px rgba(23,63,99,.06);
}

.clear-btn {
  background: none;
  border: none;
  color: var(--ash);
  cursor: pointer;
  font-family: "Raleway", serif;
  font-size: .65rem;
  letter-spacing: .1rem;
  text-transform: uppercase;
  text-decoration: underline;
  padding: 0;
  transition: color .25s;
  display: block;
  text-align: right;
}
.clear-btn:hover { color: var(--blue); }

.calculator-form { margin-top: 1.5rem; }

.form-row {
  display: flex;
  column-gap: 1rem;
  margin-bottom: 1.25rem;
}

.input-box {
  width: 100%;
  margin-top: 1.25rem;
}

.input-box:first-child { margin-top: 0; }
.form-row .input-box { margin-top: 0; }

.input-box label {
  font-family: "Raleway", serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12rem;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: .5rem;
}

.input-box select {
  height: 44px;
  width: 100%;
  outline: none;
  font-family: "EB Garamond", serif;
  font-size: 1rem;
  color: #555;
  border: 1px solid rgba(23,63,99,.18);
  padding: 0 1rem;
  background: #fff;
  border-radius: 0;
  transition: border-color .25s;
}
.input-box select:focus { border-color: var(--brown); }

.range-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: .5rem;
}

.range-container input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--brown) 0%, var(--brown) 25%, #e5e7eb 25%, #e5e7eb 100%);
  outline: none;
}

.range-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.range-value {
  font-family: "Raleway", serif;
  font-size: .72rem;
  font-weight: 700;
  color: var(--blue);
  background: #f0f2f5;
  padding: .4rem .8rem;
  min-width: 52px;
  text-align: center;
  border: 1px solid rgba(23,63,99,.12);
}

.calculate-btn {
  height: 44px;
  width: 100%;
  font-family: "Raleway", serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .18rem;
  text-transform: uppercase;
  margin-top: 1.5rem;
  border: 1px solid var(--blue);
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  border-radius: 0;
  transition: background .25s, color .25s;
}
.calculate-btn:hover { background: var(--blue); color: #fff; }
.calculate-btn:disabled { opacity: .45; cursor: not-allowed; }

/* Sub-project apartment display */
.apartment-display {
  margin-top: 1.25rem;
}
.apartment-info-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(23,63,99,.1);
  background: #f8f7f5;
}
.apartment-info-display h4 {
  font-family: "EB Garamond", serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--blue);
  margin: 0 0 .2rem;
}
.apartment-meta {
  font-family: "Raleway", serif;
  font-size: .68rem;
  color: var(--ash);
  margin: 0 !important;
}

/* Results */
.calculator-results-container {
  background: var(--blue);
  padding: 2.5rem 2rem;
  min-height: 380px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.results-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 320px;
}

.placeholder-icon {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--brown);
}

.placeholder-icon i { animation: float 3s ease-in-out infinite; }
.placeholder-icon i:nth-child(2) { animation-delay: .5s; }
.placeholder-icon i:nth-child(3) { animation-delay: 1s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

.results-placeholder h3 {
  font-family: "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255,255,255,.75);
  margin: 0 0 .5rem;
}
.results-placeholder p {
  font-family: "Raleway", serif;
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  max-width: 380px;
}

.results-content { animation: slideIn .4s ease-out; }
@keyframes slideIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.results-header { text-align: center; margin-bottom: 1.5rem; }
.results-header h3 {
  font-family: "EB Garamond", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
  margin: 0 0 .75rem;
}

.selected-apartment {
  display: inline-block;
  font-family: "Raleway", serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12rem;
  text-transform: uppercase;
  color: var(--brown);
  border: 1px solid rgba(255,102,0,.4);
  padding: .35rem 1rem;
  margin-bottom: 1.5rem;
}

.payment-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.payment-summary,
.payment-schedule {
  background: rgba(255,255,255,.08);
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.1);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.summary-item:last-child { border-bottom: none; }
.summary-item.total {
  border-top: 1px solid var(--brown);
  margin-top: .75rem;
  padding-top: .75rem;
  font-weight: 700;
}

.summary-item .label {
  font-family: "Raleway", serif;
  font-size: .65rem;
  letter-spacing: .08rem;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.summary-item .value {
  font-family: "EB Garamond", serif;
  font-size: 1.05rem;
  color: #fff;
}

.schedule-title {
  font-family: "Raleway", serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12rem;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: .75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.schedule-summary {
  border: 1px solid rgba(255,102,0,.4);
  color: #fff;
  padding: .75rem 1rem;
  margin-bottom: .75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Raleway", serif;
  font-size: .72rem;
  font-weight: 600;
}

.toggle-schedule {
  background: none;
  border: none;
  color: rgba(255,255,255,.45);
  cursor: pointer;
  font-family: "Raleway", serif;
  font-size: .6rem;
  letter-spacing: .08rem;
  text-transform: uppercase;
  text-decoration: underline;
  padding: 0;
}

.schedule-container {
  max-height: 160px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--brown) rgba(255,255,255,.1);
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem .75rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-family: "Raleway", serif;
  font-size: .68rem;
  color: rgba(255,255,255,.7);
}
.schedule-item:last-child { border-bottom: none; }
.schedule-item.initial { background: rgba(255,102,0,.15); color: #fff; font-weight: 600; }
.schedule-item.verification { background: rgba(255,255,255,.05); }
.schedule-item.verification .month,
.schedule-item.verification .amount { color: rgba(255,255,255,.6); }

.payment-note { margin: .4rem 0; }
.payment-note small {
  font-family: "Raleway", serif;
  font-size: .6rem;
  color: rgba(255,255,255,.35);
  font-style: italic;
}

.calculator-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.schedule-btn,
.contact-btn {
  border-color: rgba(255,255,255,.35);
  color: rgba(255,255,255,.8);
  background: transparent;
  transition: background .25s, border-color .25s, color .25s;
}
.schedule-btn:hover,
.contact-btn:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
}

@media screen and (max-width: 768px) {
  .payment-content-wrapper { grid-template-columns: 1fr; }
  .calculator-actions { grid-template-columns: 1fr; max-width: 100%; }
  .form-row { flex-direction: column; gap: 0; }
  .form-row .input-box { margin-top: 1.25rem; }
  .form-row .input-box:first-child { margin-top: 0; }
  .payment-calculator-section { padding: 3rem 5%; }
}

/* ===================================gallery===================================== */
.gallery_container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 0;
}

.title-single-box {
  padding: 0 6%;
}

.title-single {
  font-family: "EB Garamond", serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  color: var(--blue);
  margin: 0 0 2.5rem;
  position: relative;
  text-transform: none;
}

.title-single::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--brown);
}

.gallery_slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 6%;
}

.gallery_slider-wrapper .image-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .5rem 0 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--brown) #e0e0e0;
  -webkit-overflow-scrolling: touch;
}

.gallery_slider-wrapper .slide-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  width: 40px;
  color: #fff;
  background: var(--blue);
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  border-radius: 0;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  transition: background .25s, transform .25s;
}

.gallery_slider-wrapper .slide-button:hover { background: var(--brown); }
.gallery_slider-wrapper .slide-button#back-slide    { left:  calc(6% - 20px); }
.gallery_slider-wrapper .slide-button#forward-slide { right: calc(6% - 20px); }

.gallery_container .image-list .image-item {
  width: 280px;
  height: 320px;
  object-fit: cover;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform .35s ease, box-shadow .35s ease;
}

.gallery_container .image-list .image-item:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}

.gallery_container .image-list::-webkit-scrollbar { height: 4px; }
.gallery_container .image-list::-webkit-scrollbar-track { background: #f0f0f0; }
.gallery_container .image-list::-webkit-scrollbar-thumb { background: var(--brown); border-radius: 2px; }

/* Modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 100000;
  inset: 0;
  background: rgba(0,0,0,.92);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.image-modal.show { opacity: 1; }

.modal-content {
  position: relative;
  max-width: 95%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% - 120px);
  background: transparent;
}

#modal-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  transform: scale(.95);
  transition: transform .3s;
  background: transparent;
}
.image-modal.show #modal-image { transform: scale(1); }
.image-modal .modal-content { background: none; border: none; }

.modal-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(23,63,99,.6);
  color: #fff;
  width: 38px;
  height: 38px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background .25s, transform .25s;
  z-index: 1001;
}
.modal-nav-button:hover { background: var(--brown); transform: translateY(-50%) scale(1.1); }
.prev-button { left: 16px; }
.next-button { right: 16px; }

.modal-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(23,63,99,.6);
  color: rgba(255,255,255,.75);
  padding: .3rem 1rem;
  font-family: "Raleway", serif;
  font-size: .65rem;
  letter-spacing: .1rem;
}

/* ===================================location/map===================================== */
.location_container {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0 6% 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

.map-container {
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(23,63,99,.1);
}

.map-container iframe { display: block; border-radius: 0; }

/* ===================================proximity map===================================== */
.proxy_map-container {
  position: relative;
  width: 100%;
  height: 80vh;
  background-image: url(../Pictures/proxy_map/home-3-rev-map-background.jpg);
  background-size: cover;
  overflow: hidden;
  margin-bottom: 5rem;
}

.icon_text_map {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--brown);
  font-family: "Raleway", serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .7rem;
  letter-spacing: .15rem;
  text-align: center;
  padding: 4px 6px;
  max-width: 150px;
  word-break: break-word;
}

.icon_text_map img {
  width: 4rem;
  height: 4rem;
  display: block;
  margin: 0 auto .35rem;
}

.icon_text_map .center-icon {
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.1); }
}

.marker {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--brown);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255,102,0,.5);
  cursor: pointer;
  animation: pulse-ring 2s infinite ease-in-out;
}

.marker:hover { transform: scale(1.2); }

.marker-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 5px;
  text-align: center;
  padding: 2px 4px;
}

.marker-name {
  font-family: "Raleway", serif;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: .65rem;
  letter-spacing: .12rem;
  white-space: nowrap;
}

.marker-distance {
  font-family: "Raleway", serif;
  color: var(--brown);
  font-size: .62rem;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(255,102,0,.6); }
  50%  { box-shadow: 0 0 0 6px rgba(255,102,0,.1); }
  100% { box-shadow: 0 0 0 0 rgba(255,102,0,0); }
}

@media screen and (max-width: 768px) {
  .proxy_map-container { height: 70vh; }
}

/* ===================================virtual tour===================================== */
.virtual-tour-section {
  padding: 3rem 6% 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.virtual-tour-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(23,63,99,.1);
}

.virtual-tour-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media screen and (max-width: 768px) {
  .virtual-tour-section { padding: 2rem 5% 3rem; }
  .virtual-tour-container { padding-bottom: 70%; }
}

/* ===================================video section===================================== */
.video-section,
.video_update_section {
  padding: 3rem 6% 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.video-section .title-single-box,
.video_update_section .title-single-box {
  padding: 0;
  margin-bottom: 1.75rem;
}

.video-container,
.video_container {
  max-width: 900px;
  margin: 1.5rem auto 0;
}

.embed-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.embed-responsive iframe,
.embed-responsive video,
.video_container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video_container iframe {
  position: static;
  height: 450px;
  border: none;
}

/* ===================================sticky ribbon===================================== */
.proj_mini_info_placeholder {
  height: 0;
  visibility: hidden;
  transition: height .3s;
}

.proj_mini_info_placeholder.active { height: 80px; }

.proj_mini_info_sec {
  transition: all .3s ease;
  z-index: 999;
}

.proj_mini_info_sec.sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: 0 -4px 20px rgba(23,63,99,.12);
}

.proj_mini_info_sec.snapped {
  position: static;
  box-shadow: none;
}

.proj_mini_info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 6%;
  background: var(--brown);
  border-top: none;
  gap: 1rem;
  flex-wrap: wrap;
}

.proj_mini_info_box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.proj_mini_info_box h1 {
  font-family: "EB Garamond", serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 .1rem;
  text-transform: none;
}

.proj_mini_info_box p {
  font-family: "Raleway", serif;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1rem;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin: 0;
}

.proj_mini_info_box p i { color: rgba(255,255,255,.65); }

.proj_mini_info_box_btn { flex-shrink: 0; }

.proj_mini_info_box_btn_btn {
  padding: .65rem 1.5rem;
  font-size: .62rem;
  border-color: rgba(255,255,255,.6);
  color: #fff;
  background: transparent;
}

.proj_mini_info_box_btn_btn:hover {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
}

@media screen and (max-width: 900px) {
  .proj_mini_info { padding: .85rem 5%; }
  .proj_mini_info_box h1 { font-size: .95rem; }
}

@media screen and (max-width: 600px) {
  .proj_mini_info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
  }
  .proj_mini_info_box_btn { grid-column: 1 / -1; }
  .proj_mini_info_box_btn_btn { width: 100%; }
}

/* ===================================booking alert===================================== */
.booking-alert {
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-family: "Raleway", serif;
  font-size: .78rem;
}
.booking-alert-success { color: #155724; background: #d4edda; border-left: 3px solid #27ae60; }
.booking-alert-danger  { color: #721c24; background: #f8d7da; border-left: 3px solid #c0392b; }

/* ===================================hero override===================================== */
.ab_hero_con { margin-bottom: 0 !important; }
