/* =========================================
   GLOBAL
========================================= */

:root {
  --nexi-green: #071c14;
  --nexi-green-light: #3a534a;
  --nexi-gold: #d8b34a;
  --nexi-cream: #f7f4ec;
  --nexi-text: #20342b;
  --nexi-muted: #77766f;
  --nexi-border: #dddcd4;
  --nexi-white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--nexi-text);
  background: var(--nexi-cream);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

/* =========================================
   BUTTONS
========================================= */

.nexi-btn-gold {
  background: var(--nexi-gold);
  color: #142016;
  border: 1px solid var(--nexi-gold);
  border-radius: 30px;
  padding: 13px 28px;
  font-weight: 600;
  transition: 0.3s ease;
}

.nexi-btn-gold:hover {
  background: #e2c15b;
  border-color: #e2c15b;
  color: #142016;
  transform: translateY(-2px);
}

.nexi-btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 13px 28px;
  font-weight: 500;
  transition: 0.3s ease;
}

.nexi-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 30px;
  height: 3px;
  background: white;
  position: relative;
  border-radius: 2px;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: white;
  position: absolute;
  border-radius: 2px;
}
.navbar-toggler-icon::before {
  top: -8px;
}
.navbar-toggler-icon::after {
  top: 8px;
}

/* =========================================
   NAVBAR
========================================= */

.nexi-navbar {
  min-height: 66px;
  background: var(--nexi-green);
  padding: 8px 0;
}

.nexi-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.nexi-brand:hover {
  color: white;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--nexi-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Playfair Display", serif;
  font-size: 16px;
}

.brand-text small {
  color: var(--nexi-gold);
  font-size: 11px;
}

.nexi-navbar .nav-link {
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 18px !important;
  font-size: 14px;
}

.nexi-navbar .nav-link:hover {
  color: white;
}

/* =========================================
   LANGUAGE DROPDOWN STYLING
========================================= */

.dropdown-item {
  font-size: 14px;
  padding: 8px 20px;
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background-color: rgba(216, 179, 74, 0.15);
  color: var(--nexi-green);
}

.dropdown-item.active {
  background-color: var(--nexi-gold) !important;
  color: #142016 !important;
  font-weight: 600;
}

/* Dropdown menu background (dark theme) */
.dropdown-menu {
  background: var(--nexi-green);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 6px 0;
  min-width: 150px;
}

.dropdown-menu .dropdown-item {
  color: rgba(255, 255, 255, 0.8);
}

.dropdown-menu .dropdown-item:hover {
  background: rgba(216, 179, 74, 0.2);
  color: white;
}

.dropdown-menu .dropdown-item.active {
  background: var(--nexi-gold);
  color: #142016 !important;
}

/* =========================================
   HERO
========================================= */

.hero-section {
  min-height: calc(100vh - 66px);
  position: relative;
  background: url("../images/hero/hero.jpg") center center / cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 24, 17, 0.95) 0%,
    rgba(4, 24, 17, 0.78) 45%,
    rgba(4, 24, 17, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 66px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero-text {
  max-width: 650px;
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(216, 179, 74, 0.4);
  background: rgba(216, 179, 74, 0.08);
  color: var(--nexi-gold);
  border-radius: 30px;
  padding: 7px 14px;
  font-size: 12px;
  margin-bottom: 25px;
}

.hero-text h1 {
  font-size: clamp(52px, 6vw, 78px);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 25px;
}

.hero-text h1 span {
  display: block;
  color: var(--nexi-gold);
}

.hero-text p {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 17px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  margin-top: 35px;
}

.hero-stats {
  display: flex;
  gap: 55px;
  justify-content: flex-end;
  margin-top: 50px;
}

.hero-stats div {
  text-align: right;
}

.hero-stats strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 27px;
}

.hero-stats span {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}

/* =========================================
   SECTION HEADINGS
========================================= */

.section-label {
  display: block;
  color: #b99a3c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  margin-bottom: 7px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 35px;
}

.section-heading h2,
.difference-section h2 {
  font-size: 42px;
  font-weight: 400;
  margin: 0;
}

/* =========================================
   LISTINGS
========================================= */

.listings-section {
  padding: 90px 0;
  background: var(--nexi-cream);
}

.property-filter {
  display: flex;
  background: #e9e7df;
  padding: 4px;
  border-radius: 30px;
}

.filter-btn {
  border: none;
  background: transparent;
  padding: 9px 20px;
  border-radius: 25px;
  font-size: 12px;
  color: #625f57;
}

.filter-btn.active {
  background: var(--nexi-green);
  color: white;
}

/* =========================================
   PROPERTY CARD
========================================= */

.property-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.11);
}

.property-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.04);
}

.property-badge,
.property-type {
  position: absolute;
  top: 12px;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 600;
}

.property-badge {
  left: 12px;
  background: var(--nexi-gold);
  color: #182018;
}

.property-type {
  right: 12px;
  background: rgba(7, 28, 20, 0.85);
  color: white;
  text-transform: lowercase;
}

.property-content {
  padding: 18px;
}

.property-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.property-header h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 5px;
}

.property-location {
  color: #88867e;
  font-size: 11px;
  margin: 0;
}

.property-price {
  text-align: right;
  white-space: nowrap;
}

.property-price strong {
  display: block;
  color: #28634d;
  font-size: 14px;
}

.property-price small {
  color: #99978e;
  font-size: 10px;
}

.property-details {
  display: flex;
  gap: 8px;
  color: #77766f;
  font-size: 11px;
  margin: 18px 0;
}

.property-actions {
  display: flex;
  gap: 8px;
}

.property-details-btn,
.property-choose-btn {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-radius: 25px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.property-details-btn {
  color: #5e5d57;
  border: 1px solid #dddcd5;
}

.property-details-btn:hover {
  color: var(--nexi-green);
  border-color: var(--nexi-green);
}

.property-choose-btn {
  background: var(--nexi-green);
  color: white;
  border: 1px solid var(--nexi-green);
}

.property-choose-btn:hover {
  background: #123326;
  color: white;
}

/* =========================================
   VIRTUAL TOURS
========================================= */

.virtual-tour-section {
  background: var(--nexi-green);
  color: white;
  padding: 90px 0;
}

.virtual-tour-section h2 {
  font-size: 42px;
  font-weight: 400;
  line-height: 1.1;
}

.virtual-tour-section h2 span {
  display: block;
  color: var(--nexi-gold);
}

.virtual-tour-section p {
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

.tour-features {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.tour-features li {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
  font-size: 14px;
}

.tour-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.tour-image img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.tour-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 50%;
  background: var(--nexi-gold);
  color: var(--nexi-green);
}

.tour-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 15px;
  background: rgba(7, 28, 20, 0.8);
  padding: 14px 18px;
  border-radius: 12px;
}

.tour-caption strong,
.tour-caption small {
  display: block;
}

.tour-caption strong {
  font-size: 14px;
}

.tour-caption small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  margin-top: 4px;
}

/* =========================================
   DIFFERENCE
========================================= */

.difference-section {
  padding: 90px 0;
  background: var(--nexi-cream);
}

.difference-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.difference-icon {
  font-size: 25px;
  margin-bottom: 20px;
}

.difference-card h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.difference-card p {
  color: #77766f;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

/* =========================================
   CONTACT CTA
========================================= */

.contact-cta {
  background: var(--nexi-green);
  color: white;
  padding: 100px 20px;
}

.contact-cta h2 {
  font-size: 46px;
  font-weight: 400;
}

.contact-cta p {
  max-width: 650px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 35px;
}

/* =========================================
   FOOTER
========================================= */

.nexi-footer {
  background: #04110c;
  color: rgba(255, 255, 255, 0.35);
  padding: 25px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-content p {
  margin: 0;
  font-size: 11px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {
  .nexi-navbar .navbar-collapse {
    background: var(--nexi-green);
    padding: 20px;
  }

  .hero-text h1 {
    font-size: 55px;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  .hero-stats div {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 750px;
  }

  .hero-content {
    min-height: 750px;
    padding-top: 50px;
  }

  .hero-text h1 {
    font-size: 45px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stats {
    gap: 25px;
  }

  .hero-stats strong {
    font-size: 22px;
  }

  .section-heading {
    display: block;
  }

  .property-filter {
    width: fit-content;
    margin-top: 20px;
  }

  .section-heading h2,
  .difference-section h2,
  .virtual-tour-section h2,
  .contact-cta h2 {
    font-size: 35px;
  }

  .footer-content {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* =========================================
   PROPERTY DETAIL PAGE
========================================= */

.property-detail-section {
  padding: 50px 0 100px;
  background: var(--nexi-cream);
}

.property-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: #8b897f;
  font-size: 12px;
}

.property-breadcrumb a {
  color: #5d665f;
  text-decoration: none;
}

.property-breadcrumb a:hover {
  color: var(--nexi-green);
}

.property-main-image {
  position: relative;
  height: 550px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 50px;
}

.property-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-detail-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--nexi-gold);
  color: #172017;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
}

/* ====== NEW – THUMBNAIL GALLERY ====== */
.property-thumbnail-gallery {
  margin-top: 5px;
  margin-bottom: 40px;
}

.thumbnail-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  border: 3px solid transparent;
  transition:
    border 0.25s ease,
    opacity 0.25s ease;
  opacity: 0.7;
}

.thumbnail-img:hover {
  border-color: var(--nexi-gold);
  opacity: 1;
}

.active-thumb {
  border-color: var(--nexi-gold) !important;
  opacity: 1 !important;
}
/* ====== END NEW ====== */

.property-detail-type {
  display: inline-block;
  background: #e5e4dd;
  color: #5d625b;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.property-detail-heading h1 {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 10px;
}

.property-detail-location {
  color: #77766f;
  font-size: 14px;
}

.property-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 35px 0 50px;
}

.property-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
}

.feature-icon {
  font-size: 20px;
}

.property-feature strong,
.property-feature small {
  display: block;
}

.property-feature strong {
  font-size: 15px;
}

.property-feature small {
  color: #88867e;
  font-size: 10px;
  margin-top: 3px;
}

.property-description h2,
.property-highlights h2 {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 20px;
}

.property-description p {
  color: #696861;
  font-size: 14px;
  line-height: 1.9;
  max-width: 750px;
}

.property-highlights {
  margin-top: 50px;
}

.highlight-item {
  background: white;
  border-radius: 10px;
  padding: 15px 18px;
  color: #555951;
  font-size: 13px;
}

.property-contact-card {
  background: var(--nexi-green);
  color: white;
  border-radius: 18px;
  padding: 30px;
  position: sticky;
  top: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.detail-price {
  margin: 10px 0 25px;
}

.detail-price strong {
  display: block;
  color: var(--nexi-gold);
  font-family: "Playfair Display", serif;
  font-size: 34px;
}

.detail-price span {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.property-contact-card hr {
  border-color: rgba(255, 255, 255, 0.15);
}

.contact-card-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.7;
  margin: 25px 0;
}

.property-contact-card .btn {
  margin-bottom: 10px;
}

.property-call-btn {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 12px;
}

.property-call-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.property-whatsapp-btn {
  background: #218c58;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px;
}

.property-whatsapp-btn:hover {
  background: #1b7549;
  color: white;
}

/* =========================================
   PROPERTY NOT FOUND
========================================= */

.property-not-found {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
}

.property-not-found h1 {
  font-size: 45px;
  font-weight: 400;
  margin-bottom: 15px;
}

.property-not-found p {
  color: #77766f;
  margin-bottom: 30px;
}

/* =========================================
   PROPERTY DETAIL RESPONSIVE
========================================= */

@media (max-width: 991px) {
  .property-main-image {
    height: 450px;
  }

  .property-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-contact-card {
    position: static;
  }
}

@media (max-width: 767px) {
  .property-detail-section {
    padding-top: 30px;
  }

  .property-main-image {
    height: 300px;
    border-radius: 14px;
    margin-bottom: 35px;
  }

  .property-detail-heading h1 {
    font-size: 36px;
  }

  .property-feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .property-feature {
    padding: 14px;
  }

  .property-contact-card {
    padding: 25px;
  }

  /* NEW – make thumbnails smaller on mobile */
  .property-thumbnail-gallery .col-2 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

@media (max-width: 480px) {
  .property-feature-grid {
    grid-template-columns: 1fr;
  }

  .property-thumbnail-gallery .col-2 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}
