/* ============================================================
   DELARCA PRODUCTIONS - Service Modals
   ============================================================ */

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 8000;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal-box {
  background: #141414; border: 1px solid rgba(255,69,0,0.25);
  border-radius: 20px; max-width: 720px; width: 100%; max-height: 90vh;
  overflow-y: auto; position: relative;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
  scrollbar-width: thin; scrollbar-color: rgba(255,69,0,0.3) transparent;
}
.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-thumb { background: rgba(255,69,0,0.3); border-radius: 2px; }
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }

.modal-img {
  width: 100%; height: 260px; object-fit: cover;
  border-radius: 20px 20px 0 0; display: block;
}
.modal-img-placeholder {
  width: 100%; height: 260px;
  background: linear-gradient(135deg, rgba(255,69,0,0.15), rgba(20,20,20,0.9));
  border-radius: 20px 20px 0 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; color: rgba(255,69,0,0.4);
}

.modal-body { padding: 2rem 2.5rem 2.5rem; }

.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 38px; height: 38px; background: rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 2; transition: all 0.2s ease; font-size: 1rem;
}
.modal-close:hover { background: #FF4500; border-color: #FF4500; }

.modal-tag {
  font-family: 'Montserrat', sans-serif; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: #FF4500;
  background: rgba(255,69,0,0.1); border: 1px solid rgba(255,69,0,0.2);
  padding: 0.25rem 0.75rem; border-radius: 50px; display: inline-block; margin-bottom: 1rem;
}

.modal-body h3 { font-size: 1.55rem; font-weight: 800; margin-bottom: 1rem; }
.modal-body > p { color: #ccc; font-size: 0.93rem; line-height: 1.75; margin-bottom: 1.5rem; }

.modal-meta {
  display: flex; gap: 2rem;
  padding: 1.25rem; background: rgba(255,69,0,0.06);
  border: 1px solid rgba(255,69,0,0.15); border-radius: 12px;
  margin-bottom: 1.5rem; flex-wrap: wrap;
}
.modal-meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.modal-meta-label {
  font-family: 'Montserrat', sans-serif; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: #888;
}
.modal-meta-value {
  font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 800; color: #FF4500;
}

.modal-info-block { margin-bottom: 1.5rem; }
.modal-info-block h4 {
  font-family: 'Montserrat', sans-serif; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; color: #888; margin-bottom: 0.75rem;
}
.modal-list { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.modal-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.855rem; color: #ccc; line-height: 1.5;
}
.modal-list li::before {
  content: ''; width: 6px; height: 6px; background: #FF4500;
  border-radius: 50%; margin-top: 7px; flex-shrink: 0;
}

.modal-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ========== CLICKABLE SERVICE MODAL CARDS ========== */
.service-modal-card {
  background: #141414; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; padding: 2rem; cursor: pointer;
  transition: all 0.3s ease; position: relative; overflow: hidden;
}
.service-modal-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #FF4500, transparent);
  opacity: 0; transition: opacity 0.3s ease;
}
.service-modal-card:hover { border-color: rgba(255,69,0,0.3); transform: translateY(-5px); box-shadow: 0 8px 40px rgba(255,69,0,0.15); }
.service-modal-card:hover::before { opacity: 1; }

.service-modal-icon {
  width: 60px; height: 60px; background: rgba(255,69,0,0.1);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #FF4500; margin-bottom: 1.25rem; transition: all 0.3s ease;
}
.service-modal-card:hover .service-modal-icon { background: #FF4500; color: #fff; box-shadow: 0 4px 20px rgba(255,69,0,0.4); }

.service-modal-card h3 { font-size: 1.05rem; margin-bottom: 0.65rem; }
.service-modal-card p  { color: #888; font-size: 0.855rem; line-height: 1.65; margin-bottom: 1rem; }
.service-modal-cta {
  font-family: 'Montserrat', sans-serif; font-size: 0.78rem; font-weight: 700;
  color: #FF4500; display: flex; align-items: center; gap: 0.4rem;
  text-transform: uppercase; letter-spacing: 0.5px;
}

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

@media (max-width: 600px) {
  .modal-grid { grid-template-columns: 1fr; }
  .modal-body { padding: 1.5rem; }
  .modal-meta { gap: 1rem; }
  .modal-actions { flex-direction: column; }
}
