/* ─── NAVBAR ─── */
.topbar {
   background: var(--darker);
   padding: 6px 0;
   color: #aaa;
}
.topbar a {
   color: #aaa;
   text-decoration: none;
}
.topbar a:hover {
   color: #ef8025;
}


.navbar {
   background: var(--dark) !important;
   padding: 14px 0;
   box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.navbar-brand img {
   height: 42px;
}
.navbar-brand span {
   color: #ef8025;
   font-family: "Playfair Display", serif;
   font-weight: 700;
   letter-spacing: 1px;
}
.nav-link {
   color: #ddd !important;
   font-weight: 500;
   letter-spacing: 0.5px;
   text-transform: uppercase;
   padding: 6px 14px !important;
   transition: color 0.2s;
}
.nav-link:hover,
.nav-link.active {
   color: #ef8025 !important;
}
.btn-navbar {
   background: #ef8025;
   color: #fff !important;
   border-radius: 4px;
   padding: 7px 18px !important;
   font-weight: 700;
   letter-spacing: 0.5px;
}
.btn-navbar:hover {
   background: var(--gold-light);
   color: #fff !important;
}


/* ─── BREADCRUMB ─── */
.breadcrumb-bar {
   background: #fff;
   padding: 10px 0;
}
.breadcrumb-bar a {
   color: #ef8025;
   text-decoration: none;
}
.breadcrumb-bar span {
   color: var(--text-light);
}
.breadcrumb-bar .sep {
   margin: 0 6px;
   color: #bbb;
}


/* ─── HERO ─── */
.hero-section {
   position: relative;
   height: 520px;
   overflow: hidden;
   background: var(--darker);
}


@media (min-width: 992px) {
   .hero-section {
       min-height: 780px;
       height: 780px;
   }


   .hero-content {
       top: 0;
       bottom: 0;
       display: flex;
       align-items: center;
       padding-top: 1rem;
       padding-bottom: 1rem;
   }


   .hero-content .container {
       width: 100%;
   }


   .hero-content .container > .row {
       align-items: center;
       width: 100%;
   }
}
.hero-section img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   opacity: 0.85;
}
.hero-overlay {
   position: absolute;
   inset: 0;
   background: linear-gradient(
       to bottom,
       rgba(10, 10, 20, 0.2) 0%,
       rgba(10, 10, 20, 0.65) 100%
   );
}
.hero-back {
   /* position: absolute; */
   /* top: 20px; */
   /* left: 24px; */
   color: #fff;
   cursor: pointer;
   display: inline-flex;
   align-items: center;
   /* gap: 6px; */
   background: rgba(255, 255, 255, 0.15);
   border: 1px solid rgba(255, 255, 255, 0.3);
   border-radius: 4px;
   padding: 6px 14px;
   backdrop-filter: blur(4px);
   transition: background 0.2s;
   text-decoration: none;
}
.hero-back:hover {
   background: rgba(255, 255, 255, 0.25);
   color: #fff;
}
.hero-badge {
   position: absolute;
   top: 20px;
   right: 24px;
   background: #27ae60;
   color: #fff;
   font-weight: 700;
   letter-spacing: 1px;
   text-transform: uppercase;
   padding: 5px 14px;
   border-radius: 20px;
}
.hero-content {
   position: absolute;
   bottom: 36px;
   left: 0;
   right: 0;
}
.hero-content .developer-link {
   background-color: #ef8025;
   color: #fff;
   font-weight: 600;
   text-decoration: none;
   display: inline-block;
   margin-bottom: 8px;
   padding: 5px;
   border-radius: 10px;
}
.hero-content h1 {
   color: #fff;
   font-size: 72px;
   font-weight: 700;
   line-height: 1.1;
   margin-bottom: 8px;
}
.hero-content .location {
   color: rgba(255, 255, 255, 0.8);
   font-size: 24px;
}
.hero-content .location i {
   color: var(--gold-light);
   margin-right: 5px;
}
.hero-specs {
   color: rgba(255, 255, 255, 0.7);
   margin-top: 6px;
}


.hero-project-summary {
   text-align: center;
}


.hero-project-summary .location i {
   margin-right: 0;
}


@media (min-width: 992px) {
   .hero-project-summary .location {
       display: flex;
       align-items: center;
       justify-content: center;
       gap: 0.35rem;
       flex-wrap: wrap;
   }


   .hero-project-summary .hero-specs {
       display: flex;
       flex-wrap: wrap;
       justify-content: center;
       gap: 0.5rem 1rem;
   }
}
.hero-actions {
   margin-top: 14px;
   display: flex;
   gap: 10px;
   flex-wrap: wrap;
}
.hero-actions .btn {
   font-weight: 600;
   padding: 7px 18px;
   border-radius: 4px;
}
.btn-gold {
   background: #ef8025;
   color: #fff;
   border: none;
}
.btn-gold:hover {
   background: var(--gold-light);
   color: #fff;
}
.btn-outline-light-custom {
   background: transparent;
   color: #fff;
   border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-outline-light-custom:hover {
   background: rgba(255, 255, 255, 0.1);
   color: #fff;
}


/* ─── ENQUIRY FORM ─── */
.enquiry-card {
   background: var(--white);
   border-radius: 10px;
   box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
   padding: 28px;
}
.enquiry-card h5 {
   font-family: "Playfair Display", serif;
   margin-bottom: 18px;
   color: var(--dark);
   border-bottom: 2px solid #ef8025;
   padding-bottom: 10px;
}
.enquiry-card .form-control,
.enquiry-card .form-select {
   border-radius: 5px;
   border: 1px solid var(--border);
   padding: 9px 12px;
}
.enquiry-card .form-control:focus,
.enquiry-card .form-select:focus {
   border-color: #ef8025;
   box-shadow: 0 0 0 3px rgba(184, 154, 90, 0.15);
}
.enquiry-card .btn-submit {
   background: #ef8025;
   color: #fff;
   font-weight: 700;
   width: 100%;
   padding: 11px;
   border: none;
   border-radius: var(--ensky-cta-radius, 12px);
   letter-spacing: 0.5px;
   transition: background 0.2s;
}
.enquiry-card .btn-submit:hover {
   background: var(--gold-light);
}
.enquiry-card .terms {
   color: var(--text-light);
   margin-top: 10px;
   text-align: center;
}
.enquiry-card .terms a {
   color: #ef8025;
}


/* ─── TAB NAV ─── */
.section-tabs {
   background: #fff;
   border-bottom: 2px solid var(--border);
   margin-bottom: 0;
}
.tabs-sticky {
   position: relative;
   margin-bottom: 0;
}
.section-tabs .nav-link {
   color: var(--text-light) !important;
   font-weight: 600;
   padding: 14px 22px !important;
   border-radius: 0;
   border-bottom: 3px solid transparent;
   margin-bottom: -25px;
   text-transform: none;
   letter-spacing: 0;
   background: transparent;
}
.section-tabs .nav-link.active {
   background: rgba(239, 128, 37, 0.12);
   border-bottom-color: #ef8025;
   color: #ef8025 !important;
   border-top-left-radius: 6px;
   border-top-right-radius: 6px;
}
.tabs-sticky {
   position: sticky;
   top: 0;
}
.tabs-sticky.is-fixed {
   position: fixed;
   top: calc(55px + 16px);
   z-index: 106;
   width: var(--tabs-fixed-width, auto);
   /* left: var(--tabs-fixed-left, 0); */
   transform: none;
   background: #fff;
   box-shadow: 0 20px 30px rgba(15, 15, 15, 0.08);
   border-bottom: 2px solid var(--border);
   /* padding-bottom: 8px; */
}
.tabs-placeholder {
   height: 0;
   transition: height 0.2s ease;
}
.section-tabs .nav-link.active,
.section-tabs .nav-link:hover {
   color: #ef8025 !important;
   border-bottom-color: #ef8025;
}


/* ─── SECTIONS ─── */
.section-title {
   font-family: "Playfair Display", serif;
   font-weight: 700;
   color: var(--dark);
   margin-bottom: 6px;
}
.section-subtitle {
   color: var(--text-light);
   margin-bottom: 28px;
}
.gold-line {
   width: 48px;
   height: 3px;
   background: #ef8025;
   margin: 10px 0 22px;
}


/* Overview */
.overview-text {
   line-height: 1.85;
   color: var(--text);
}
.highlight-item {
   display: flex;
   align-items: flex-start;
   gap: 10px;
   margin-bottom: 10px;
}
.highlight-item i {
   color: #ef8025;
   margin-top: 2px;
}


/* Construction Progress */
.progress-section {
   background: var(--bg-light);
   border-radius: 10px;
   padding: 24px;
   margin: 24px 0;
}
.progress-label {
   font-weight: 700;
   color: var(--dark);
   margin-bottom: 16px;
}
.progress-steps {
   display: flex;
   justify-content: space-between;
   position: relative;
}
.progress-steps::before {
   content: "";
   position: absolute;
   top: 14px;
   left: 0;
   right: 0;
   height: 3px;
   background: var(--border);
   z-index: 0;
}
.progress-fill {
   position: absolute;
   top: 14px;
   left: 0;
   height: 3px;
   background: #ef8025;
   z-index: 1;
   width: 100%;
}
.progress-step {
   text-align: center;
   position: relative;
   z-index: 2;
   flex: 1;
}
.step-dot {
   width: 28px;
   height: 28px;
   border-radius: 50%;
   background: #ef8025;
   border: 3px solid var(--white);
   margin: 0 auto 8px;
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 0 0 2px #ef8025;
}
.step-dot i {
   color: #fff;
}
.step-dot.active {
   background: #ef8025;
}
.step-dot.inactive {
   background: var(--border);
   box-shadow: 0 0 0 2px var(--border);
}
.step-label {
   font-weight: 600;
   color: var(--text-light);
}
.step-label.done {
   color: #ef8025;
}


/* Features */
.features-list {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 12px 32px;
}
.feature-item {
   display: flex;
   align-items: center;
   gap: 10px;
   color: #1f2430;
}
.feature-icon {
   width: 26px;
   height: 26px;
   border-radius: 50%;
   border: 2px solid #ef8025;
   display: grid;
   place-items: center;
   color: #ef8025;
   font-size: 11px;
}
@media (max-width: 576px) {
   .features-list {
       grid-template-columns: 1fr;
   }
}


/* Project Facts */
.facts-card {
   background: #f6f7fb;
   border: 1px solid #e4e8f0;
   border-radius: 18px;
   overflow: hidden;
   box-shadow: 0 8px 24px rgba(12, 28, 83, 0.08);
}
.facts-card__header {
   background: #ef8025;
   color: #fff;
   padding: 16px 20px;
   font-size: 20px;
   font-weight: 700;
   letter-spacing: 0.2px;
}
.facts-card__body {
   background: #fff;
   padding: 16px;
}
.fact-row {
   display: flex;
   justify-content: space-between;
   gap: 14px;
   padding: 14px 20px;
   border-bottom: 1px solid #edf0f5;
   align-items: flex-start;
   flex-direction: row-reverse;
}
.fact-row:last-child {
   border-bottom: none;
}
.fact-label {
   font-size: 12px;
   letter-spacing: 0.5px;
   text-transform: uppercase;
   color: #8c92a3;
   font-weight: 700;
   min-width: 180px;
}
.fact-value {
   font-size: 14px;
   color: #1f2430;
   font-weight: 600;
   text-align: right;
   flex: 1;
}
@media (max-width: 576px) {
   .fact-row {
       flex-direction: column;
       align-items: flex-start;
   }
   .fact-label {
       text-align: left;
       min-width: auto;
   }
}


/* Gallery */
.gallery-tabs .nav-link {
   font-weight: 600;
   color: var(--text-light) !important;
   border-radius: 14px;
   padding: 8px 18px;
   margin-right: 6px;
   border: 1px solid var(--border);
   background: var(--bg-light);
}
.gallery-tabs .nav-link.active {
   background: rgba(239, 128, 37, 0.12);
   color: #ef8025 !important;
   border-color: #ef8025;
   box-shadow: 0 6px 12px rgba(239, 128, 37, 0.18);
}
.gallery-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr;
   grid-template-rows: 140px 140px;
   grid-auto-rows: 140px;
   gap: 8px;
}
.gallery-grid .g-item {
   overflow: hidden;
   border-radius: 8px;
   cursor: pointer;
   position: relative;
}
.gallery-grid .g-item:first-child {
   grid-row: 1 / 3;
}
.gallery-grid .g-item img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.3s;
}
.gallery-grid .g-item:hover img {
   transform: scale(1.05);
}
.gallery-overlay {
   position: absolute;
   inset: 0;
   background: rgba(0, 0, 0, 0.5);
   display: flex;
   align-items: center;
   justify-content: center;
   opacity: 0;
   transition: opacity 0.3s;
   border-radius: 8px;
}
.gallery-grid .g-item:hover .gallery-overlay {
   opacity: 1;
}
.gallery-more {
   position: absolute;
   inset: 0;
   background: rgba(0, 0, 0, 0.55);
   display: flex;
   align-items: center;
   justify-content: center;
   border-radius: 8px;
   font-weight: 700;
   color: #fff;
   cursor: pointer;
}


/* Lightbox */
.lightbox {
   position: fixed;
   inset: 0;
   background: rgba(10, 12, 28, 0.92);
   display: none;
   align-items: center;
   justify-content: center;
   z-index: 2000;
   padding: 24px;
}
.lightbox.open {
   display: flex;
}
.lightbox-content {
   position: relative;
   max-width: 90vw;
   max-height: 90vh;
}
.lightbox-img {
   max-width: 100%;
   max-height: 80vh;
   border-radius: 10px;
   box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   background: rgba(255, 255, 255, 0.12);
   color: #fff;
   border: 1px solid rgba(255, 255, 255, 0.25);
   border-radius: 50%;
   width: 42px;
   height: 42px;
   display: grid;
   place-items: center;
   cursor: pointer;
   transition: background 0.2s;
}
.lightbox-close {
   top: -16px;
   right: -16px;
   transform: none;
   background: rgba(0, 0, 0, 0.55);
}
.lightbox-prev {
   left: -58px;
}
.lightbox-next {
   right: -58px;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
   background: rgba(255, 255, 255, 0.22);
}
.lightbox-counter {
   position: absolute;
   bottom: -26px;
   right: 0;
   color: #cfd3e1;
   font-size: 13px;
   letter-spacing: 0.4px;
}
@media (max-width: 768px) {
   .lightbox-prev {
       left: 8px;
   }
   .lightbox-next {
       right: 8px;
   }
   .lightbox-close {
       right: 8px;
       top: 8px;
   }
}


/* Floor Plan */
.floorplan-tabs {
   border-bottom: 1px solid var(--border);
   gap: 8px;
}
.floorplan-tabs .nav-link {
   background: var(--bg-light);
   border: 1px solid var(--border);
   border-radius: 8px;
   margin-right: 8px;
   color: var(--text);
   font-weight: 600;
   padding: 9px 18px !important;
}
.floorplan-tabs .nav-link.active {
   background: rgba(239, 128, 37, 0.12);
   color: #ef8025;
   border-color: #ef8025;
   box-shadow: 0 6px 12px rgba(239, 128, 37, 0.18);
}
.floor-tab-content {
   margin-top: 14px;
}
.floor-tab-pane { display: none; }
.floor-tab-pane.active { display: block; }


.floor-card {
   border: 1px solid var(--border);
   border-radius: 10px;
   overflow: hidden;
   transition: box-shadow 0.2s;
   background: #fff;
}
.floor-card:hover {
   box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}
.floor-main-img-wrap {
   background: #f9fafb;
   height: 260px;
   display: flex;
   align-items: center;
   justify-content: center;
}
.floor-main-img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}
.floor-main-placeholder {
   width: 100%;
   height: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--text-light);
   font-weight: 600;
   background: #f0f2f5;
}
.floor-thumbs {
   display: flex;
   gap: 8px;
   padding: 10px 12px;
   overflow-x: auto;
   background: #f9fafb;
   border-bottom: 1px solid var(--border);
}
.floor-thumb {
   width: 64px;
   height: 64px;
   border: 2px solid transparent;
   border-radius: 8px;
   overflow: hidden;
   cursor: pointer;
   flex: 0 0 auto;
}
.floor-thumb img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}
.floor-thumb.active { border-color: var(--dark); }


.floor-card-body {
   padding: 16px;
}
.floor-card-body h6 {
   font-family: "Playfair Display", serif;
   font-weight: 700;
   margin-bottom: 10px;
   color: var(--dark);
}
.floor-detail {
   color: var(--text-light);
   display: flex;
   align-items: center;
   gap: 6px;
   margin-bottom: 5px;
}
.floor-detail i {
   color: #ef8025;
}
.floor-elements {
   list-style: none;
   padding: 0;
   margin: 10px 0 0;
}
.floor-elements li {
   display: flex;
   align-items: center;
   gap: 8px;
   font-size: 13px;
   color: var(--text);
   margin-bottom: 6px;
}
.floor-elements i { color: #17a673; }


/* Developer */
.developer-card {
   background: linear-gradient(135deg, var(--dark), #2d2d4e);
   border-radius: 12px;
   padding: 32px;
   color: #fff;
}
.developer-card h4 {
   font-family: "Playfair Display", serif;
   margin-bottom: 14px;
   color: var(--gold-light);
}
.developer-card p {
   line-height: 1.8;
   color: rgba(255, 255, 255, 0.8);
}
.developer-card .btn-dev {
   background: #ef8025;
   color: #fff;
   border: none;
   border-radius: var(--ensky-cta-radius, 12px);
   padding: 9px 22px;
   font-weight: 700;
   margin-top: 18px;
   text-decoration: none;
   display: inline-block;
}


/* FAQs */
.faq-item {
   border: 1px solid var(--border);
   border-radius: 8px;
   margin-bottom: 10px;
   overflow: hidden;
}
.faq-question {
   padding: 16px 20px;
   font-weight: 600;
   color: var(--dark);
   cursor: pointer;
   display: flex;
   justify-content: space-between;
   align-items: center;
   background: var(--white);
   transition: background 0.2s;
}
.faq-question:hover {
   background: var(--bg-light);
}
.faq-question i {
   color: #ef8025;
   transition: transform 0.3s;
}
.faq-question.open {
   background: var(--bg-light);
}
.faq-question.open i {
   transform: rotate(180deg);
}
.faq-answer {
   display: none;
   padding: 14px 20px;
   line-height: 1.7;
   color: var(--text-light);
   border-top: 1px solid var(--border);
   background: #fdfcfa;
}


/* Video */
.video-thumb {
   position: relative;
   border-radius: 10px;
   overflow: hidden;
   cursor: pointer;
}
.video-thumb img {
   width: 100%;
   height: 200px;
   object-fit: cover;
}
.play-btn {
   position: absolute;
   inset: 0;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(0, 0, 0, 0.4);
}
.play-btn i {
   color: rgba(255, 255, 255, 0.9);
}


/* FOOTER */
footer {
   background: var(--darker);
   color: rgba(255, 255, 255, 0.7);
   padding: 40px 0 20px;
   margin-top: 60px;
}
footer h6 {
   color: #ef8025;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 1px;
   margin-bottom: 14px;
}
footer a {
   color: rgba(255, 255, 255, 0.6);
   text-decoration: none;
   display: block;
   margin-bottom: 6px;
}
footer a:hover {
   color: #ef8025;
}
footer .footer-bottom {
   border-top: 1px solid rgba(255, 255, 255, 0.08);
   margin-top: 30px;
   padding-top: 18px;
   text-align: center;
   color: rgba(255, 255, 255, 0.4);
}


/* Nearby */
.nearby-card {
   border: 1px solid var(--border);
   border-radius: 8px;
   padding: 14px 16px;
   display: flex;
   align-items: center;
   gap: 12px;
}
.nearby-icon {
   width: 38px;
   height: 38px;
   background: rgba(184, 154, 90, 0.12);
   border-radius: 8px;
   display: flex;
   align-items: center;
   justify-content: center;
}
.nearby-icon i {
   color: #ef8025;
}


/* Hero enquiry card (was inline-styled in template) */
.project-hero-enquiry-card {
   border-radius: 25px;
   width: min(400px, 100%);
   margin-left: auto;
}


/* intl-tel-input + Bootstrap: avoid overlapping dial code / flag and example placeholder */
.project-hero-enquiry-card .iti {
   width: 100%;
   display: block;
}


.project-hero-enquiry-card .iti__country-container {
   border-top-left-radius: 0.375rem;
   border-bottom-left-radius: 0.375rem;
}


.project-hero-enquiry-card .iti input.iti__tel-input.form-control {
   box-sizing: border-box;
   width: 100%;
   padding-top: 0.75rem;
   padding-bottom: 0.75rem;
}


.project-hero-enquiry-card .iti .iti__selected-dial-code {
   white-space: nowrap;
}


@media (max-width: 991.98px) {
   .hero-section {
       height: clamp(320px, 62vh, 460px);
       min-height: 0;
   }


   .hero-section img {
       height: 100%;
   }


   .hero-content {
       position: absolute;
       bottom: 0;
       padding: 0 0 18px;
   }


   .hero-content h1 {
       font-size: clamp(1.75rem, 4.5vw + 0.9rem, 2.6rem);
       line-height: 1.15;
       word-break: break-word;
   }


   .hero-content .location {
       font-size: 1rem;
   }


   .project-hero-enquiry-card {
       width: 100%;
   }


   /* Tabs row should not break layout on mobile */
   .tabs-sticky {
       position: static;
   }


   .tabs-sticky.is-fixed {
       position: fixed;
       left: 0;
       right: 0;
       width: 100%;
       top: calc(55px + 12px);
   }


   /* Bootstrap .nav uses flex-wrap: wrap; force horizontal scroll */
   .nav.section-tabs {
       flex-wrap: nowrap !important;
       overflow-x: auto;
       overflow-y: hidden;
       gap: 0.25rem;
       -webkit-overflow-scrolling: touch;
       scrollbar-width: none;
       padding-bottom: 0.25rem;
       margin-bottom: 0 !important;
   }
   .nav.section-tabs::-webkit-scrollbar {
       display: none;
   }


   /* keep alias in case markup changes */
   .section-tabs {
       flex-wrap: nowrap;
       overflow-x: auto;
       overflow-y: hidden;
       gap: 0.25rem;
       -webkit-overflow-scrolling: touch;
       scrollbar-width: none;
       padding-bottom: 0.25rem;
       margin-bottom: 0 !important;
   }
   .section-tabs::-webkit-scrollbar {
       display: none;
   }


   .nav.section-tabs .nav-link,
   .section-tabs .nav-link {
       flex: 0 0 auto;
       white-space: nowrap;
       padding: 12px 14px !important;
       margin-bottom: 0;
   }
}


@media (max-width: 575.98px) {
   .hero-section {
       height: clamp(280px, 58vh, 400px);
   }


   .hero-section img {
       height: 100%;
   }


   .gallery-grid {
       grid-template-columns: 1fr 1fr;
       grid-template-rows: none;
       grid-auto-rows: 50px;
   }


   .gallery-grid .g-item:first-child {
       grid-row: auto;
       grid-column: auto;
   }


   .gallery-grid .g-item {
       height: 50px;
   }


   .lightbox-content {
       max-width: 100%;
   }
}