:root {
  --primary-color: #d1c8c1; /* Subtle Beige Accent */
  --secondary-color: #1a1a1a; /* Very Dark Charcoal */
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #888888;
  --bg-light: #ffffff;      /* Pure white background */
  --bg-secondary: #f7f7f7;   /* Very light gray for alternate sections */
  --bg-dark: #111111;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --border-radius: 4px;      /* Sharper, cleaner corners */
  --box-shadow: none;        /* Remove standard drop shadows */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400; /* Lighter font weight */
  line-height: 1.2;
  letter-spacing: -0.02em; /* Tighter tracking */
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--text-light) !important;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-dark {
  background-color: var(--bg-dark);
}

/* Typography Utility */
.section-badge {
  display: none; /* Hide badges in minimal design */
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-weight: 300;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px auto;
  font-weight: 300;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px; /* Slight padding adj */
  border-radius: var(--border-radius);
  font-weight: 400; /* Lighter weight */
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em; /* Add letter spacing for minimal button */
  font-size: 0.85rem;
  border: 1px solid transparent; /* default to 1px instead of 2px */
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--secondary-color); /* Dark grey instead of primary gold */
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--text-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--text-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  padding: 12px 28px;
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
}
.btn-block {
  display: block;
  width: 100%;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 1);
  padding: 15px 0;
  border-bottom: 1px solid #eaeaea;
}

.navbar.scrolled .logo {
  color: #1a365d; /* Trust: Deep Navy */
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .hamburger {
  color: var(--text-dark);
}

.navbar.scrolled .logo span {
  color: #c5a059; /* Luxury: Champagne Gold */
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  color: var(--text-light);
  transition: var(--transition);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo span {
  color: #c5a059; /* Luxury: Champagne Gold */
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

.nav-links a:not(.btn-outline)::after {
  display: none;
}

.nav-links a:not(.btn-outline):hover {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
}

/* Hero Section & Slider */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fade 24s infinite;
}

/* Linear gradient overlay is added via the pseudo element to darken images */
.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
}

.slide-1 {
  background-image: url("../asset/properties/condo/dcondo-ping/facilities/LINE_ALBUM_%E0%B8%84%E0%B8%AD%E0%B8%99%E0%B9%82%E0%B8%94_260224_28.jpg");
  animation-delay: 0s;
}

.slide-2 {
  background-image: url("../asset/properties/condo/dcondo-ping/bedroom/LINE_ALBUM_%E0%B8%84%E0%B8%AD%E0%B8%99%E0%B9%82%E0%B8%94_260224_2.jpg");
  animation-delay: 6s;
}

.slide-3 {
  background-image: url("../asset/properties/condo/dcondo-ping/livingroom/LINE_ALBUM_%E0%B8%84%E0%B8%AD%E0%B8%99%E0%B9%82%E0%B8%94_260224_5.jpg");
  animation-delay: 12s;
}

.slide-4 {
  background-image: url("../asset/properties/condo/dcondo-ping/facilities/LINE_ALBUM_%E0%B8%84%E0%B8%AD%E0%B8%99%E0%B9%82%E0%B8%94_260224_20.jpg");
  animation-delay: 18s;
}

@keyframes fade {
  0%   { opacity: 0; transform: scale(1); }
  10%  { opacity: 1; }
  25%  { opacity: 1; }
  35%  { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1); }
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.hero h2 {
  font-size: 4rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  font-weight: 300;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  color: var(--text-light);
  font-size: 1.5rem;
  opacity: 0.7;
}

.scroll-indicator a:hover {
  opacity: 1;
  color: var(--primary-color);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Animations */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}
.delay-2 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.scroll-reveal.right {
  transform: translateX(50px);
}

.scroll-reveal.left {
  transform: translateX(-50px);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translate(0);
}

/* Layout Grid */
.container-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* About Section */
.about-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.key-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.stat h4 {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.stat p {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
}

.featured-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-wrapper:hover .featured-img {
  transform: scale(1.05);
}

.floating-price {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--bg-light);
  padding: 20px 30px;
  border: 1px solid #eaeaea;
  z-index: 10;
}

.floating-price .label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.floating-price .amount {
  display: block;
  font-size: 2rem;
  font-weight: 300;
  color: var(--secondary-color);
}

/* Features Grid Container (Fixed the layout issue) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* Features Component (Removed the duplicate code block in index.html to fix conflict) */
.feature-card {
  background-color: var(--bg-light);
  padding: 0;
  transition: var(--transition);
  text-align: left;
  border: 1px solid #eaeaea;
  overflow: hidden;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--text-muted);
}

.feature-img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 20px;
}

.feature-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feature-card:hover .feature-img {
  transform: scale(1.05);
}

.feature-card h4 {
  font-size: 1.2rem;
  margin: 0 25px 15px 25px;
  color: var(--secondary-color);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 25px 30px 25px;
}

/* Location Section */
.property-location {
  display: flex;
  flex-direction: column;
  background: var(--bg-light);
  border: 1px solid #eaeaea;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 50px;
}

@media (min-width: 900px) {
  .property-location {
    flex-direction: row;
    height: 450px;
  }
}

.property-map {
  flex: 1.2;
  min-height: 350px;
}

.property-location-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-location-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

@media (min-width: 900px) {
  .property-location-img {
    height: 200px;
  }
}

.property-location-details {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.property-location-details h4 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.property-location-details p {
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.6;
}

.property-location-details i {
  color: var(--secondary-color);
  margin-right: 8px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.location-card {
  position: relative;
  background-color: var(--bg-light);
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #eaeaea;
}

.location-card:hover {
  transform: translateY(-5px);
  border-color: var(--text-muted);
}

.location-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.location-card:hover .location-img {
  transform: scale(1.05);
}

.location-details {
  padding: 25px;
  flex-grow: 1;
}

.location-details h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.location-details p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.distance {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--bg-light);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Gallery Section */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: 1px solid #eaeaea;
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 400;
  color: var(--text-muted);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--secondary-color);
  color: var(--text-light);
  border-color: var(--secondary-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay i {
  color: var(--text-light);
  font-size: 2rem;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 40px;
  transform: translateY(-50%);
  pointer-events: none;
}

.lightbox-nav button {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  pointer-events: auto;
  backdrop-filter: blur(5px);
}

.lightbox-nav button:hover {
  background: var(--primary-color);
}

/* Contact Section */
.contact-card:hover {
  transform: translateY(-10px) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(197, 160, 89, 0.5) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3) !important;
}
.form-glass {
  background: var(--bg-secondary);
  padding: 40px;
  border: 1px solid #eaeaea;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.detail-item i {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-right: 20px;
  margin-top: 5px;
}

.detail-item span {
  font-size: 1.1rem;
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--text-muted);
  color: var(--text-dark);
  font-family:
    "Outfit",
    sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* Footer */
.footer {
  background-color: var(--bg-light);
  color: var(--text-dark);
  padding: 80px 0 20px;
  border-top: 1px solid #eaeaea;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.footer-logo h2 {
  font-size: 1.8rem;
}

.footer-logo span {
  color: var(--primary-color);
  font-weight: 300;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  color: var(--secondary-color);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .container-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    grid-row: 1;
  }

  .hero h2 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    transition: right 0.4s ease;
    padding: 50px 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
    z-index: 1001;
  }

  .hamburger.active i::before {
    content: "\f00d"; /* FA Times icon */
  }

  .hero h2 {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .floating-price {
    bottom: 20px;
    left: 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }
}

/* Minimap Interactive Pins */
.minimap-wrapper {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.map-pin {
  position: absolute;
  width: 24px;
  height: 24px;
  background-color: var(--primary-color);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
}

.map-pin:hover {
  transform: translate(-50%, -50%) scale(1.2);
  background-color: var(--secondary-color);
}

.map-pin .pin-label {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.map-pin:hover .pin-label {
  opacity: 1;
  visibility: visible;
  top: -45px;
}

.map-pin.main-pin {
  background-color: #c5a059; /* Gold for main property */
  width: 30px;
  height: 30px;
  z-index: 15;
}

.map-pin.main-pin .pin-label {
  opacity: 1;
  visibility: visible;
  top: -45px;
  background: var(--primary-color);
  color: white;
}


@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .key-stats {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 60px 0;
  }
}
