/* ================================
   Global Styles
=================================== */
.single-novostroy_project {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
}

.single-project-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px;
}

/* ================================
   Layout: Main Content + Sidebar
=================================== */
.single-project-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.project-main-content {
  flex: 2;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.project-sidebar {
  flex: 1;
}

/* ================================
   Sidebar
=================================== */
.sidebar-box {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.sidebar-box .developer-logo img {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  margin: 0 auto 8px;
  opacity: 0.9;
}

.sidebar-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: #333;
}

.project-price {
  font-size: 18px;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 8px;
}

.sidebar-tags {
  display: flex;
  gap: 8px;
  margin: 8px 0 12px;
  justify-content: center;
}

.sidebar-tags .tag {
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  color: #fff;
}

.sidebar-tags .tag-yellow { background: #f6c343; }
.sidebar-tags .tag-blue   { background: #007bff; }
.sidebar-tags .tag-green  { background: #28a745; }




/* Info Details (left-aligned content) */
.project-info-details {
  text-align: left;
  width: 100%;
}

.project-info-details p {
  font-size: 14px;
  color: #444;
  margin: 8px 0;
  line-height: 1.4;
}

.project-info-details p strong {
  color: #000;
  font-weight: 600;
}

/* Phone and Buttons */
.project-phone {
  font-size: 16px;
  font-weight: 600;
  color: #007bff;
  cursor: pointer;
  margin: 10px 0;
}

.show-phone:hover {
  text-decoration: underline;
}

.callback-btn,
.whatsapp-btn,
.btn-download {
  display: block;
  width: 100%;
  margin: 2px 0;
  padding: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
  text-align: center;
}

.callback-btn { background: #ff9800; }
.callback-btn:hover { background: #e68a00; }
.whatsapp-btn { background: #25d366; }
.whatsapp-btn:hover { background: #1ebe5d; }
.btn-download { background: #6c757d; }
.btn-download:hover { background: #5a6268; }


/* ===========================
   Callback Modal
=========================== */
.callback-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark background */
  justify-content: center;
  align-items: center;
}

.callback-modal.active {
  display: flex; /* Show modal */
}

.callback-modal-content {
  background: #fff;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  padding: 20px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: fadeIn 0.3s ease;
}

.callback-modal-content h3 {
  margin: 0 0 15px;
  font-size: 20px;
  color: #333;
}

.callback-modal-content label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #444;
}

.callback-modal-content input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.callback-modal-content button {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.callback-modal-content button:hover {
  background: #0056b3;
}

.close-callback {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 20px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-callback:hover {
  color: #000;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


/* ================================
   Hero Slider
=================================== */
.project-hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-container {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.slider-arrow:hover { background: rgba(0, 0, 0, 0.7); }
.slider-arrow.prev { left: 10px; }
.slider-arrow.next { right: 10px; }

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-dots button.active { background: #007bff; }

/* ================================
   Floorplans
=================================== */
.floorplans-wrapper { padding: 20px; }
.section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.floorplan-row {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.floorplan-row:hover { background: #e9ecef; }

.thumbnail img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 10px;
}

.info { flex: 1; }
.unit-type { font-size: 16px; font-weight: 600; }
.area-range { font-size: 14px; color: #555; }
.price { font-size: 14px; font-weight: 600; color: #007bff; }
.price-m2 { display: block; font-size: 12px; color: #777; }

.arrow { font-size: 18px; color: #999; }

.floorplan-full-image {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.floorplan-row.active + .floorplan-full-image {
  max-height: 800px;
  margin: 10px 0;
}
.floorplan-full-image img {
  width: 100%;
  border-radius: 8px;
}

.price .currency {
  display: inline;
  white-space: nowrap;
}

.total-price {
  font-size: 14px;
  font-weight: 700;
  color: #007bff; /* Blue */
  margin-left: 5px;
}

.floor-details {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 6px;
  font-size: 13px;
  color: #333;
}

.detail-item {
  text-align: left;
  flex: 1;
}

.detail-label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 2px;
}

.detail-value {
  font-weight: 700;
  font-size: 14px;
  color: #000;
}


/* ================================
   Features Grid
=================================== */
.project-features-wrapper { padding: 20px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.feature-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
}

/* ================================
   Responsive
=================================== */
@media (max-width: 991px) {
  .single-project-layout { flex-direction: column; }
  .project-main-content, .project-sidebar { width: 100%; }
  .slide img { height: 300px; }
}

@media (max-width: 600px) {
  .thumbnail img { width: 60px; height: 60px; }
  .slider-arrow { font-size: 18px; padding: 6px 10px; }
}


/* =========================
   Nearby Amenities - Modern
   ========================= */
.nearby-amenities {
  margin: 30px 0;
  padding: 20px 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.nearby-amenities h2,
.nearby-amenities h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #000;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px 25px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #333;
  line-height: 1.4;
}

.amenity-item img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.amenity-item img:hover {
  opacity: 1;
}

.amenity-item strong {
  color: #000;
  font-weight: 600;
}


.project-map-wrapper {
  margin-top: 30px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

#project-map {
  height: 400px;
  border-radius: 8px;
}


/* =========================
   Important information
   ========================= */


.important-info {
  margin-top: 30px;
  padding: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
}
.important-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
}
.info-label {
  color: #555;
  font-size: 14px;
}
.info-value {
  font-weight: 600;
  font-size: 14px;
}



@media (max-width: 768px) {
  .important-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.project-description {
  margin-top: 30px;
  padding: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
}

.project-description p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.read-more-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  background-color: #0073aa; /* same blue as theme */
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.read-more-btn:hover {
  background-color: #005f8a; /* darker hover */
  transform: translateY(-1px);
}

.read-more-btn:active {
  transform: translateY(0);
}


/* Show More Button Styling (match site buttons) */
.show-more-wrapper {
  text-align: center;
  margin-top: 20px;
}

.show-more-btn {
  background-color: #0073aa; /* match your primary button color */
  color: #fff;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.show-more-btn:hover {
  background-color: #005f8a; /* darker shade on hover */
  transform: translateY(-2px);
}

.show-more-btn:active {
  transform: translateY(0);
}
