:root {
  --primary-green: #c2a76e;
  --primary-green-hover: #8E793E;
  --secondary-orange: #fdba74;
  --text-dark: #272727;
  --text-gray: #666;
  --text-light: #888;
  --bg-white: #14130f;
  --bg-light: #14130f;
  --bg-lighter: #fafafa;
  --border-color: #e5e5e5;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);

  font-family: ''Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI'', sans-serif;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--bg-white);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  font-weight: 700;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: var(--bg-white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
}

.logo h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.logo img {
  height: 60px;        /* adjust to suit */
  width: auto;         /* keeps proportions */
  display: block;      /* removes small bottom gap */
}


.logo span {
  color: var(--primary-green);
}

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

.nav-link {
  color: #fafafa;
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 2px;
  background: #fafafa;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  background: linear-gradient(135deg, rgba(45, 183, 66, 0.1) 0%, rgba(253, 186, 116, 0.1) 100%),
              url('images/hero.webp') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(17, 17, 17, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: #fafafa;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 20px;
  color: #fafafa;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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



/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
}

.btn-primary {
  background: var(--primary-green);
  color: white;
}

.btn-primary:hover {
  background: #937f55;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(155, 134, 69, 0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #14130f;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}


.cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  background-color: #2c3e50;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: opacity .2s ease;
}

.cta-button:hover {
  opacity: 0.85;
}


/* Features Section */
.features {
  padding: 40px 0;
  margin-top: 40px;
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
  background: #1c1c1a;
  border-radius: 12px;
  border-color: var(--bg-lighter);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-icon img {
  width: 70px;
  height: 70px;

}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #fafafa;
}

.feature-card p {
  color: #c0c0c0;
  line-height: 1.6;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 42px;
  margin-bottom: 16px;
  color: #f3f3f3;
}

.section-subtitle {
  font-size: 18px;
  color: #c0c0c0;
}

/* Apartments Section */
.apartments {
  padding: 80px 0;
  background: var(--bg-light);
}

.apartments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.apartment-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.apartment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.apartment-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.apartment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.apartment-card:hover .apartment-image img {
  transform: scale(1.1);
}

.apartment-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary-green);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.apartment-content {
  padding: 24px;
}

.apartment-title {
  font-size: 24px;
  margin-bottom: 8px;
  color: #272727;
}

.apartment-location {
  color: var(--text-gray);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.apartment-features {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  color: var(--text-gray);
  font-size: 14px;
}

.apartment-feature {
  display: flex;
  align-items: center;
  gap: 6px;
}

.apartment-description {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
}

.apartment-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.apartment-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-green);
  font-family: 'Playfair Display', serif;
}

.apartment-period {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 400;
  font-family: 'Manrope', sans-serif;
}

/* --- Gallery inside Apartment Cards --- */
.gallery {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 8px;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slide.active {
  opacity: 1;
}

/* --- Clean, Modern Arrows --- */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  font-size: 1.2rem;
  padding: 6px 10px;
  border-radius: 50%;
  cursor: pointer;
  color: #333;
  z-index: 10;
  transition: background 0.2s ease, color 0.2s ease;
}

.prev:hover,
.next:hover {
  background: rgba(255,255,255,1);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* --- Dots --- */
.dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dot.active {
  background: #333;
}

/* --- Gallery Container --- */
.apartment-card .gallery {
  position: relative;
  overflow: hidden;
  border-radius: 8px; /* matches your card corners */
}

/* --- Slides --- */
.apartment-card .gallery .slides {
  position: relative;
  width: 100%;
  height: 200px; /* adjust to match your card image height */
}

.apartment-card .gallery .slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  transition: opacity 0.3s ease-in-out;
}

.apartment-card .gallery .slides img.active {
  display: block;
}

/* --- Gallery Arrows — White circle, black arrow, improved hover --- */
.apartment-card .gallery .prev,
.apartment-card .gallery .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;          /* arrow size */
  background: rgba(255, 255, 255, 0.6); /* white with 0.8 opacity */
  color: #000;                /* black arrow */
  border: none;
  border-radius: 50%;
  width: 36px;                /* circle size */
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  line-height: 1;             /* vertical centering */
  padding: 0;                 /* remove extra padding */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* subtle shadow */
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.apartment-card .gallery .prev:hover,
.apartment-card .gallery .next:hover {
    background: rgba(255, 255, 255, 0.8); /* white with 0.8 opacity */
  color: #000;                     /* keep arrow black */
  transform: translateY(-50%) scale(1); /* slightly bigger on hover */
  box-shadow: 0 4px 12px rgba(0,0,0,0.25); /* stronger shadow on hover */
}

.apartment-card .gallery .prev {
  left: 10px;
}

.apartment-card .gallery .next {
  right: 10px;
}




/* --- Dots --- */
.apartment-card .gallery .dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.apartment-card .gallery .dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.apartment-card .gallery .dot.active {
  background: #fff;
}

/* Make dots visible on all screen sizes */
.apartment-card .gallery .dots {
  display: flex !important; /* override any display:none */
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  gap: 6px;
  z-index: 10;
}



/* About Section */
.about {
  padding: 100px 0;
  background: var(--bg-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-text h2 {
  font-size: 40px;
  margin-bottom: 24px;
  color: #fafafa;
}

.about-text p {
  color: #c0c0c0;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.stat {
  text-align: left;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary-green);
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
}

.stat-label {
  color: #fafafa;
  font-size: 15px;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.service-item {
  background: #1c1c1a;
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-item h4 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #fafafa;
}

.service-item p {
  color: #c0c0c0;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: var(--bg-white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #fafafa;
}

.contact-info > p {
  color: #d9d9d9;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-item strong {
  color: #fafafa;
  font-weight: 600;
}

.contact-item a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--primary-green-hover);
}

.contact-item span {
  color: #c0c0c0;
}

/* Contact Form */
.contact-form {
  background: var(--bg-lighter);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Manrope', sans-serif;
  transition: border-color 0.3s ease;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: #272727;
  color: white;
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 20px;
  color: white;
  font-size: 20px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-green);
}

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

.social-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--primary-green);
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 12px rgba(45, 183, 66, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(45, 183, 66, 0.5);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  padding: 20px;
  overflow-y: auto;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 1;
}

.modal-close:hover {
  background: var(--bg-light);
}

.modal-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.modal-body {
  padding: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #14130f;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hero {
    height: 500px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .apartments-grid {
    grid-template-columns: 1fr;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .section-title {
    font-size: 32px;
  }

  .stat-number {
    font-size: 32px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 42px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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



/* Apartments filter dropdown */
.filter-container {
  margin-bottom: 60px; /* space below filter */
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.city-filter {
  padding: 14px 18px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid #c2a76e;
  background-color: #272727;
  color: #fff;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 240px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><polygon points="0,0 10,0 5,5" style="fill:%23fff;"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 10px 10px;
}

.city-filter:hover {
  border-color: #ccc;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.city-filter:focus {
  border-color: #888;
  box-shadow: 0 0 0 4px rgba(100, 150, 250, 0.2);
}

.city-filter option {
  padding: 10px;
  background-color: #f9f9f9;
  color: #333;
}

.filter-container {
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.filter-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-label {
  color: #ffffff;
  opacity: 0.85;   /* optional — removes the faded look */
  letter-spacing: 0.3px;
}

.browse-title {
  color: #fafafa;
}


@media (max-width: 768px) {

  .filter-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0px;
  }

  .browse-title {
    width: 100%;
    text-align: center;
    margin-bottom: 6px;
  }

  .filter-right {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

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

  .city-filter {
    margin-top: 4px;
    margin-bottom: 0px;
  }
}

@media (max-width: 768px) {
  .apartments {
    padding-top: 40px; /* was 80px */
  }
}
 





