/* ========================================================
   BJS CONSTRUCTION - SERVICE DASHBOARD & DETAIL MODAL
   Magazine / News-Portal High-End Architectural Layout
   ======================================================== */

.service-card-click {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.service-card-click:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.16);
    border-color: #d4af37;
}

.service-card-click .service-thumb {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #f1f5f9;
}

.service-card-click .service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-click:hover .service-thumb img {
    transform: scale(1.08);
}

.service-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #d4af37;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
    z-index: 2;
}

.service-price-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffd166;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.service-card-body {
    padding: 24px;
}

.service-card-body h4 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-card-click:hover .service-card-body h4 {
    color: #d4af37;
}

.service-card-body p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.service-view-btn {
    display: inline-flex;
    align-items: center;
    color: #d4af37;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-view-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-card-click:hover .service-view-btn i {
    transform: translateX(6px);
}

/* ========================================================
   FULL SCREEN DASHBOARD MODAL (News Portal Style)
   ======================================================== */
.modal-dashboard .modal-dialog {
    max-width: 1140px;
    margin: 30px auto;
}

.modal-dashboard .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    background: #ffffff;
}

.modal-dashboard .modal-header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 20px 35px;
    align-items: center;
}

.modal-dashboard .modal-header .category-pill {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 5px;
}

.modal-dashboard .modal-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
}

.modal-dashboard .close-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-dashboard .close-btn:hover {
    background: #d4af37;
    color: #ffffff;
    transform: rotate(90deg);
}

.modal-dashboard .modal-body {
    padding: 35px;
    background: #ffffff;
}

/* News portal Hero Banner inside Modal */
.dashboard-hero-banner {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 380px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.dashboard-hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.dashboard-hero-overlay .pricing-badge-large {
    background: #d4af37;
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
    display: inline-block;
}

/* Key Metrics Bar */
.dashboard-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.metric-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.metric-card i {
    font-size: 24px;
    color: #d4af37;
    margin-right: 15px;
    width: 45px;
    height: 45px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.metric-card h6 {
    margin: 0;
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
}

.metric-card p {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

/* Content Split (Article + Sticky Sidebar) */
.dashboard-article {
    color: #334155;
    font-size: 16px;
    line-height: 1.8;
}

.dashboard-article h4 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 25px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

.dashboard-article h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #d4af37;
    border-radius: 2px;
}

.feature-check-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-check-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #1e293b;
}

.feature-check-list li i {
    color: #10b981;
    margin-right: 12px;
    font-size: 18px;
}

/* 4K Image Gallery Grid inside Dashboard */
.dashboard-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.dashboard-gallery-grid .gallery-item {
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.dashboard-gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dashboard-gallery-grid .gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-caption-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.8);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

/* Dashboard Sidebar Action Card */
.dashboard-sidebar-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    position: sticky;
    top: 20px;
}

.dashboard-sidebar-card h5 {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.sidebar-pricing-box {
    background: #ffffff;
    border: 1px dashed #d4af37;
    padding: 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.sidebar-pricing-box .price-title {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
}

.sidebar-pricing-box .price-val {
    font-size: 26px;
    font-weight: 900;
    color: #d4af37;
}

.btn-book-service {
    background: #d4af37;
    color: #ffffff !important;
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    border: none;
}

.btn-book-service:hover {
    background: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.btn-whatsapp-service {
    background: #25d366;
    color: #ffffff !important;
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-whatsapp-service:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.service-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.service-spec-row:last-child {
    border-bottom: none;
}

.service-spec-label {
    color: #64748b;
}

.service-spec-value {
    font-weight: 700;
    color: #0f172a;
}
