.single-location {
  font-family: "Outfit", sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
}

/* .single-location .location-header {
  background: linear-gradient(135deg, #18365b 0%, #0f2748 100%);
  color: white;
  padding: 80px 20px 60px;
  text-align: center;
  margin-top: 8%;
} */

/* custom change */

.single-location .location-header {
  background: linear-gradient(135deg, #18365b 0%, #0f2748 100%);
  color: white;
  padding: 80px 20px 60px;
  text-align: center;
  /* margin-top: 8%; */
}

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

.single-location .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 30px;
  position: absolute;
  top: 30px;
  left: 30px;
}

.single-location .back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.single-location .location-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 15px;
}

.single-location .location-subtitle {
  font-size: 20px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 30px;
}

.single-location .location-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.single-location .stat-item {
  text-align: center;
}

.single-location .stat-number {
  font-size: 36px;
  font-weight: 800;
  color: #f97316;
  margin-bottom: 5px;
}

.single-location .stat-label {
  font-size: 14px;
  opacity: 0.8;
}

/* Tabs Navigation */
.single-location .tabs-section {
  background: white;
  padding: 40px 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.single-location .tabs-container {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.single-location .tab-btn {
  padding: 16px 32px;
  background: #f1f5f9;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.single-location .tab-btn:hover {
  background: #e2e8f0;
  color: #18365b;
}

.single-location .tab-btn.active {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  color: white;
  box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

/* Properties Grid */
.single-location .properties-content {
  padding: 60px 0;
}

.single-location .tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.single-location .tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.single-location .properties-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.single-location .properties-title {
  font-size: 32px;
  font-weight: 700;
  color: #18365b;
}

.single-location .properties-count {
  font-size: 16px;
  color: #64748b;
  background: #f1f5f9;
  padding: 8px 16px;
  border-radius: 20px;
}

.single-location .properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

/* Property Card */
.single-location .property-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  height: 100%;
}

.single-location .property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.single-location .property-card-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

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

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

.single-location .property-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 15px;
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
}

.single-location .property-content {
  padding: 25px;
}

.single-location .property-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #18365b;
}

.single-location .property-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
  margin-bottom: 15px;
}

.single-location .property-description {
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.single-location .property-price {
  font-size: 24px;
  font-weight: 800;
  color: #f97316;
  margin-bottom: 20px;
}

.single-location .property-features {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.single-location .feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.single-location .feature i {
  color: #f97316;
  font-size: 18px;
  margin-bottom: 5px;
}

.single-location .feature span {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.single-location .property-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.single-location .action-btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.single-location .action-btn-primary {
  background: linear-gradient(135deg, #18365b 0%, #0f2748 100%);
  color: white;
}

.single-location .action-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(24, 54, 91, 0.3);
}

.single-location .action-btn-secondary {
  background: #f1f5f9;
  color: #18365b;
}

.single-location .action-btn-secondary:hover {
  background: #e2e8f0;
}

/* Location Info */
.single-location .location-info {
  background: white;
  padding: 60px 0;
  margin-top: 60px;
}

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

.single-location .info-card {
  background: #f8fafc;
  padding: 30px;
  border-radius: 16px;
  border-left: 5px solid #f97316;
}

.single-location .info-title {
  font-size: 20px;
  font-weight: 700;
  color: #18365b;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.single-location .info-list {
  list-style: none;
  padding: 0;
}

.single-location .info-list li {
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.single-location .info-list li:last-child {
  border-bottom: none;
}

.single-location .info-list li i {
  color: #f97316;
}

.single-location .cta-section {
  background: linear-gradient(135deg, #18365b 0%, #0f2748 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
  margin-top: 60px;
}

.single-location .cta-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.single-location .cta-subtitle {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.single-location .cta-btn {
  padding: 18px 40px;
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.single-location .cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
}

.single-location .footer {
  background: #0f2748;
  color: white;
  padding: 40px 0;
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .single-location .properties-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .single-location .properties-content {
    padding: 30px 0;
  }
  .single-location .location-title {
    font-size: 42px;
  }

  .single-location .tabs-container {
    flex-direction: column;
    align-items: center;
  }

  .single-location .tab-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .single-location .properties-grid {
    grid-template-columns: 1fr;
  }

  .single-location .properties-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .single-location .property-actions {
    flex-direction: column;
  }

  .single-location .location-stats {
    gap: 30px;
  }

  .single-location .stat-number {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .single-location .location-title {
    font-size: 32px;
  }

  .single-location .location-subtitle {
    font-size: 16px;
  }

  .single-location .cta-title {
    font-size: 28px;
  }

  .single-location .cta-btn {
    padding: 16px 30px;
    font-size: 16px;
  }

  .single-location .property-card-img {
    height: 200px;
  }
}
