/* ==============================================
   D'Mor Interiors – On-Going Projects Styling
   ============================================== */

body {
  background-color: #1a1a1a;
  color: #eee;
  font-family: "Poppins", "Segoe UI", sans-serif;
}

/* Section Title */
.section-title {
  color: #b30000;              /* D'Mor signature red */
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Card Container */
.project-card {
  background: linear-gradient(180deg, #202020, #161616);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(179, 0, 0, 0.6);
  box-shadow: 0 8px 20px rgba(179, 0, 0, 0.25);
}

/* Thumbnail Image */
.project-card .card-img-top {
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.9);
}

.project-card:hover .card-img-top {
  transform: scale(1.05);
  filter: brightness(1);
}

/* Card Body */
.project-card .card-body {
  padding: 1rem 1.25rem;
}

.project-card .card-title {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.project-card .card-text {
  color: #aaa;
  font-size: 0.9rem;
}

.project-card .stretched-link {
  text-decoration: none;
}

/* Modal Customization */
.modal-content {
  background: #111;
  border: 1px solid #2a2a2a;
  box-shadow: 0 10px 25px rgba(0,0,0,0.7);
  border-radius: 12px;
}

.modal-header {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: linear-gradient(90deg, #1a1a1a, #111);
}

.modal-title {
  color: #fff;
  font-weight: 500;
}

.btn-close-white {
  filter: invert(1) brightness(1.5);
}

/* Gallery Grid Inside Modal */
#modal-gallery {
  margin-top: 0.5rem;
}

#modal-gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

#modal-gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(179, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#modal-gallery a:hover {
  transform: scale(1.03);
}

#modal-gallery a:hover::after {
  opacity: 1;
}

#modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Lightbox Caption */
.lb-data .lb-caption {
  font-family: "Poppins", sans-serif;
  color: #ddd !important;
  font-size: 0.95rem;
}

.lb-data .lb-number {
  color: #999 !important;
}

/* Scrollbar Styling (Dark Theme) */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background-color: #b30000;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #e00000;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .project-card .card-img-top {
    height: 200px;
  }
  .project-card:hover {
    transform: none;
  }
}
