/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

/* Breadcrumb */
.breadcrumb-container {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 0.75rem 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.breadcrumb-link {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-link:hover {
  color: #7ed321;
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  color: #999;
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: #333;
  font-weight: 600;
}

/* Main Content */
.main-content {
  padding: 2rem 0;
}

/* Enhanced Property Info Box Two-Row Layout */
.property-info-box-rows {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.property-info-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.property-info-row-1 {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 0.5rem;
  margin-bottom: 0.2rem;
}

.property-title-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.property-title-left .property-title {
  font-size: 2rem;
  font-weight: bold;
  color: #314481;
  margin: 0;
}
.property-info-main-right-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
}
.property-price-right {
  flex-shrink: 0;
  font-size: 2rem;
  font-weight: bold;
  color: #7ed321;
}

.property-info-row-2 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
}

.property-info-main-left {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.property-info-main-left .property-subtitle {
  color: #666;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.property-info-main-left .property-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.property-info-main-left .stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: #314481;
  background: #f8f9fa;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(49, 68, 129, 0.05);
}

.property-info-main-left .stat i {
  color: #7ed321;
  font-size: 1.2rem;
}

.property-info-main-left .stat-value {
  font-weight: 600;
  color: #314481;
}

.property-info-main-left .action-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 0.3rem;
}

.property-info-main-left .action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(49, 68, 129, 0.07);
}

.property-info-main-left .call-btn {
  background: #314481;
  color: white;
}
.property-info-main-left .call-btn:hover {
  background: #23315d;
  transform: translateY(-2px);
}
.property-info-main-left .whatsapp-btn {
  background: #25d366;
  color: white;
}
.property-info-main-left .whatsapp-btn:hover {
  background: #1da851;
  transform: translateY(-2px);
}
.property-info-main-left .zoom-btn {
  background: #2d8cff;
  color: white;
}
.property-info-main-left .zoom-btn:hover {
  background: #1a75ff;
  transform: translateY(-2px);
}

.property-info-main-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  min-width: 120px;
}

.property-info-main-right .logo-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #7ed321;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 4px 15px rgba(126, 211, 33, 0.2);
}

.property-info-main-right .logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-info-main-right .developer-name {
  font-size: 1rem;
  font-weight: 600;
  color: #314481;
  text-align: center;
  margin: 0;
  letter-spacing: 0.2px;
}

@media (max-width: 900px) {
  .property-info-row-2 {
    flex-direction: column;
    gap: 1.2rem;
    align-items: stretch;
  }
  .property-info-main-right {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    min-width: 0;
  }
  .property-info-main-right .developer-name {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .property-info-box {
    padding: 1rem;
  }
  .property-info-box-rows {
    gap: 0.3rem;
  }
  .property-info-row-1 {
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.5rem;
    margin-bottom: 0.2rem;
  }
  .property-title-left .property-title,
  .property-price-right {
    font-size: 1.2rem;
  }
  .property-price-right {
    margin-top: 0.2rem;
    align-self: center;
  }
  .property-info-main-left .property-stats {
    flex-direction: column;
    gap: 0.5rem;
  }
  .property-info-main-left .action-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  .property-info-main-right .logo-circle {
    width: 55px;
    height: 55px;
  }
  .property-info-main-right .developer-name {
    font-size: 0.85rem;
  }
}

/* Property Header */
.property-header {
  margin-bottom: 2rem;
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.property-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

/* Status badges (property header) */
.status-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.status-badges .badge {
  padding: 0.45rem 1.3rem;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badges .badge.ready {
  background: #7ed321;
  color: white;
}
.status-badges .badge.resale {
  background: #ffd700;
  color: #333;
}

/* Card badges (keep small) */
.card-badges .badge {
  padding: 0.25rem 0.75rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}
/* Keep card badge colors consistent */
.card-badges .badge.ready {
  background: #7ed321;
  color: white;
}
.card-badges .badge.resale {
  background: #ffd700;
  color: #333;
}

.property-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.property-subtitle {
  color: #666;
  font-size: 1rem;
}

.property-price {
  text-align: right;
}

.price {
  font-size: 2rem;
  font-weight: bold;
  color: #7ed321;
}

/* Property Gallery */
.property-gallery {
  width: 100%;
}

/* Property Info Box */
.property-info-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.property-text {
  flex: 1;
}

.property-text .property-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.property-text .property-subtitle {
  color: #666;
  font-size: 1rem;
  margin: 0 0 1rem 0;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.property-info-box .action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.property-info-box .call-btn {
  background: #314481;
  color: white;
}

.property-info-box .call-btn:hover {
  background: #23315d;
  transform: translateY(-2px);
}

.property-info-box .whatsapp-btn {
  background: #25d366;
  color: white;
}

.property-info-box .whatsapp-btn:hover {
  background: #1da851;
  transform: translateY(-2px);
}

.property-info-box .zoom-btn {
  background: #2d8cff;
  color: white;
}

.property-info-box .zoom-btn:hover {
  background: #1a75ff;
  transform: translateY(-2px);
}

.developer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.logo-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #7ed321;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 4px 15px rgba(126, 211, 33, 0.2);
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.developer-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin: 0;
}

/* Main Content Grid */
.main-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Property Content */
.property-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Property Stats Section */
.property-stats-section {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-image {
  margin-bottom: 1rem;
}

.main-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 10px;
}

.thumbnail-images {
  display: flex;
  gap: 0.5rem;
}

.thumbnail-images img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s;
}

.thumbnail-images img:hover {
  transform: scale(1.1);
}

/* Property Stats */
.property-stats {
  display: inline-flex;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat i {
  color: #7ed321;
  font-size: 1.2rem;
}

.stat-label {
  font-weight: 600;
  color: #666;
  font-size: 0.9rem;
}

.stat-value {
  font-weight: bold;
  color: #333;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
  position: sticky;
  top: 2rem;
  height: fit-content;
}

.form-header {
  margin-bottom: 1.5rem;
}

.form-header h3 {
  color: #333;
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

.contact-header-avatar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.contact-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f3f7ed;
  box-shadow: 0 2px 8px rgba(126, 211, 33, 0.08);
}
.contact-avatar-icon,
.contact-avatar i {
  font-size: 1.7rem;
  color: #7ed321;
}
.contact-header-title {
  margin: 0;
  color: #333;
  font-size: 1.15rem;
  font-weight: 700;
}
.contact-header-subtitle {
  color: #7ed321;
  font-size: 0.95rem;
  font-weight: 500;
}
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #7ed321;
  box-shadow: 0 0 0 3px rgba(126, 211, 33, 0.1);
}

.phone-input {
  display: flex;
  gap: 0.5rem;
}

.country-code {
  flex-shrink: 0;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: white;
  font-size: 0.9rem;
  cursor: pointer;
}

.phone-input input {
  flex: 1;
}

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

.submit-btn {
  width: 100%;
  padding: 0.9rem;
  background: #7ed321;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: #6cc01e;
  transform: translateY(-1px);
}

/* Property Details */
.property-details {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.info-section {
  border-bottom: 1px solid #eee;
}

.info-section:last-child {
  border-bottom: none;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.section-title:hover {
  background: #f8f9fa;
}

.section-title i {
  color: #666;
  transition: transform 0.3s;
}

.info-content {
  padding: 0 1.5rem 1.5rem;
}

.info-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.info-label {
  font-weight: 600;
  color: #666;
}

.info-value {
  color: #333;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.97rem;
  color: #555;
  margin-bottom: 0.3rem;
}
.detail-row i {
  color: #7ed321;
  font-size: 1.05em;
  min-width: 18px;
  text-align: center;
}
.detail-row strong {
  font-weight: 600;
  color: #333;
  margin-right: 0.2em;
}
.detail-icon {
  font-size: 1.5rem;
  color: #7ed321;
}

.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-label {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.detail-value {
  font-weight: bold;
  color: #333;
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.amenity-category h4 {
  margin-bottom: 1rem;
  color: #333;
  font-weight: 600;
}

.amenity-category ul {
  list-style: none;
}

.amenity-category li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #666;
}

.amenity-category li i {
  color: #7ed321;
  font-size: 0.8rem;
}

/* About Section */
.about-section {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.about-section p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.read-more-btn {
  background: transparent;
  color: #7ed321;
  border: 1px solid #e0e0e0;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s;
  margin-top: 1rem;
  text-decoration: none;
  display: inline-block;
}

.read-more-btn:hover {
  background: #f8f9fa;
  border-color: #7ed321;
  color: #6cc01e;
  text-decoration: none;
  transform: none;
}

/* Similar Listings */
.similar-listings {
  margin-bottom: 3rem;
  overflow: visible;
}

.similar-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #333;
}

/* Carousel Container */
.carousel-container {
  position: relative;
  padding: 0;
  overflow: visible;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid #7ed321;
  color: #7ed321;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-arrow:hover {
  background: #7ed321;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-arrow-left {
  left: 10px;
}

.carousel-arrow-right {
  right: 10px;
}

.listings-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding-bottom: 20px;
}

.listings-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.listing-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: calc((100% - 48px) / 3); /* 3 cards per row with gaps */
  flex-shrink: 0;
}

.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
  position: relative;
  height: 200px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  gap: 0.3rem;
}
.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.2;
}
.badge.ready {
  background: #7ed321;
  color: white;
}
.card-image-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.image-action-btn {
  padding: 15px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #666;
  transition: all 0.3s;
  text-decoration: none;
  cursor: pointer;
}
.image-action-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}
.image-action-btn.favorite-btn {
  color: #ff6b6b;
}
.image-action-btn.favorite-btn:hover {
  background: #ff6b6b;
  color: white;
}
.image-action-btn.compare-btn {
  color: #4ecdc4;
}
.image-action-btn.compare-btn:hover {
  background: #4ecdc4;
  color: white;
}
.image-action-btn.share-btn {
  color: #2d8cff;
}
.image-action-btn.share-btn:hover {
  background: #2d8cff;
  color: white;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-content h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.card-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #7ed321;
  margin-bottom: 1rem;
}

.card-details {
  margin-bottom: 1rem;
}

.card-details span {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.card-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #eee;
}

.card-specs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.card-specs span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: #666;
}

.card-specs i {
  color: #7ed321;
}

/* Card Footer Bottom Layout */
.card-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.5rem;
}

.card-developer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.developer-logo-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #e0e0e0;
}

.developer-logo-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.developer-name-small {
  font-size: 0.7rem;
  font-weight: 600;
  color: #666;
  text-align: center;
  white-space: nowrap;
}

/* Card Buttons Row */
.card-buttons-row {
  display: flex;
  gap: 0.3rem;
  flex: 1;
}

.contact-btn {
  flex: 1;
  padding: 0.7rem 0.6rem;
  border: none;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
}

.contact-btn.call-btn {
  background: #314481;
  color: white;
}

.contact-btn.call-btn:hover {
  background: #23315d;
}

.contact-btn.whatsapp-btn {
  background: #25d366;
  color: white;
}

.contact-btn.whatsapp-btn:hover {
  background: #1da851;
}

.contact-btn.zoom-btn {
  background: #2d8cff;
  color: white;
}

.contact-btn.zoom-btn:hover {
  background: #1a75ff;
}

.card-buttons-row .action-btn {
  flex: 1;
  padding: 0.4rem 0.6rem;
  border: 2px solid #ddd;
  background: white;
  color: #666;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-buttons-row .action-btn:hover {
  border-color: #7ed321;
  color: #7ed321;
}

.card-buttons-row .action-btn.favorite-btn:hover {
  background: #ff6b6b;
  border-color: #ff6b6b;
  color: white;
}

.card-buttons-row .action-btn.compare-btn:hover {
  background: #4ecdc4;
  border-color: #4ecdc4;
  color: white;
}

.btn-primary {
  flex: 1;
  padding: 0.5rem 1rem;
  background: #7ed321;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #6bc519;
}

.btn-secondary {
  padding: 0.5rem;
  background: transparent;
  color: #7ed321;
  border: 2px solid #7ed321;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #7ed321;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .breadcrumb {
    font-size: 0.8rem;
  }

  .breadcrumb-separator {
    margin: 0 0.25rem;
  }

  .property-header-top {
    flex-direction: column;
    gap: 1rem;
  }

  .property-info-box {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .property-info-box .action-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .property-info-box .action-btn {
    justify-content: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

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

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

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

  .info-row {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .carousel-container {
    padding: 0;
  }

  .carousel-arrow {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .carousel-arrow-left {
    left: 5px;
  }

  .carousel-arrow-right {
    right: 5px;
  }

  .listing-card {
    min-width: calc((100% - 24px) / 2); /* 2 cards per row on tablet */
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .property-title {
    font-size: 1.5rem;
  }

  .price {
    font-size: 1.5rem;
  }

  .main-image img {
    height: 220px;
    min-height: 120px;
    max-height: 250px;
  }

  .thumbnail-images {
    flex-wrap: wrap;
  }

  .thumbnail-images img {
    width: 60px;
    height: 45px;
  }

  .card-actions {
    flex-direction: column;
  }

  .btn-secondary {
    align-self: flex-start;
    width: fit-content;
  }

  .carousel-container {
    padding: 0;
  }

  .carousel-arrow {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .carousel-arrow-left {
    left: 5px;
  }

  .carousel-arrow-right {
    right: 5px;
  }

  .listing-card {
    min-width: 100%; /* 1 card per row on mobile */
  }
}

/* Additional styling for better UX */
.main-image img,
.thumbnail-images img,
.card-image img {
  transition: all 0.3s ease;
}

.section-title:hover i {
  transform: rotate(180deg);
}

/* Loading and animation effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.listing-card {
  animation: fadeInUp 0.6s ease forwards;
}

.listing-card:nth-child(2) {
  animation-delay: 0.1s;
}

.listing-card:nth-child(3) {
  animation-delay: 0.2s;
}

.listing-card:nth-child(4) {
  animation-delay: 0.3s;
}

/* Enhanced interactive elements */
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(126, 211, 33, 0.1);
}

.submit-btn:active {
  transform: translateY(1px);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #7ed321;
  transition: width 0.3s;
}

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

/* Mobile Responsive Styles */
@media (max-width: 480px) {
  /* Hide button text on mobile, keep only icons - ONLY for card footer buttons */
  .card-buttons-row .contact-btn .btn-text {
    display: none;
  }

  .card-buttons-row .contact-btn {
    padding: 0.8rem 0.6rem;
    min-width: 50px;
  }

  .card-buttons-row .contact-btn i {
    font-size: 1.2rem;
  }
}

/* Gallery Enhancements */
.main-image {
  position: relative;
  overflow: hidden;
}

.main-image img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.main-image img:hover {
  transform: scale(1.02);
}

/* Gallery Arrows */
.gallery-arrows {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main-image:hover .gallery-arrows {
  opacity: 1;
}

.gallery-arrow {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  margin: 0 1rem;
}

.gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.gallery-arrow i {
  font-size: 1.2rem;
}

/* Thumbnail Images */
.thumbnail-images {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.thumbnail-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumbnail-img:hover {
  transform: scale(1.05);
  border-color: #7ed321;
}

.thumbnail-img.active {
  border-color: #7ed321;
  box-shadow: 0 0 10px rgba(126, 211, 33, 0.3);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  width: 80vw;
  height: 80vh;
  max-width: 1200px;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10vh 10vw;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: #7ed321;
}

#lightboxImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

/* Lightbox Arrows - Outside the image */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow-left {
  left: -80px;
}

.lightbox-arrow-right {
  right: -80px;
}

.lightbox-arrow i {
  font-size: 1.5rem;
}

/* Mobile Responsive for Gallery */
@media (max-width: 768px) {
  .gallery-arrow {
    width: 40px;
    height: 40px;
    margin: 0 0.5rem;
  }

  .gallery-arrow i {
    font-size: 1rem;
  }

  .thumbnail-img {
    width: 60px;
    height: 45px;
  }

  .lightbox-content {
    width: 90vw;
    height: 70vh;
    margin: 15vh 5vw;
  }

  .lightbox-arrow {
    width: 50px;
    height: 50px;
  }

  .lightbox-arrow-left {
    left: -60px;
  }

  .lightbox-arrow-right {
    right: -60px;
  }
}

@media (max-width: 480px) {
  .lightbox-content {
    width: 95vw;
    height: 60vh;
    margin: 20vh 2.5vw;
  }

  .lightbox-arrow {
    width: 40px;
    height: 40px;
    display: flex !important;
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    z-index: 10001;
  }

  .lightbox-arrow-left {
    left: 5px;
    right: auto;
  }

  .lightbox-arrow-right {
    right: 5px;
    left: auto;
  }

  .lightbox-close {
    top: -40px;
    right: -10px;
    font-size: 1.5rem;
  }
}
