/* ========================================================
   FULL SCREEN INTERACTIVE DASHBOARD MODAL
   100% Fullscreen, Ultra Smooth, Mobile-Perfect Grid
   ======================================================== */

.modal-dashboard-fullscreen {
    padding: 0 !important;
}

.modal-dashboard-fullscreen .modal-dialog {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
}

.modal-dashboard-fullscreen .modal-content {
    height: 100vh !important;
    min-height: 100vh !important;
    border-radius: 0 !important;
    border: none !important;
    display: flex;
    flex-direction: column;
    overflow-y: auto !important;
    background: #ffffff !important;
}

/* Fullscreen Top Navigation Bar */
.fullscreen-topbar {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fullscreen-topbar .brand-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fullscreen-topbar .brand-badge img {
    height: 38px;
    width: auto;
}

.fullscreen-topbar .close-fullscreen-btn {
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fullscreen-topbar .close-fullscreen-btn:hover {
    background: #0f2b5c;
    color: #d4af37;
    transform: scale(1.05);
}

/* Fullscreen Hero Header Section */
.fullscreen-hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    padding: 40px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fullscreen-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.4) 0%, rgba(10, 25, 47, 0.94) 100%);
}

.fullscreen-hero .hero-inner {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.fullscreen-hero .price-ribbon {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
    color: #0a192f;
    font-size: 22px;
    font-weight: 800;
    padding: 8px 24px;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
    margin-bottom: 15px;
}

/* High Conversion Mobile-Responsive 4-Grid Metrics */
.metrics-row {
    margin-top: -35px;
    position: relative;
    z-index: 5;
    margin-bottom: 35px;
}

.metric-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.metric-box:hover {
    transform: translateY(-4px);
    border-color: #d4af37;
}

.metric-box .icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    color: #b8860b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.metric-box .metric-info h6 {
    margin: 0;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.metric-box .metric-info p {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

/* 4K Image Comparison Grid */
.gallery-4k-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin: 30px 0;
}

.gallery-4k-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 260px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.gallery-4k-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-4k-card:hover img {
    transform: scale(1.08);
}

.gallery-4k-card .label-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .fullscreen-hero {
        min-height: 380px !important;
        padding: 25px 0 !important;
    }
    .fullscreen-hero h1 {
        font-size: 26px !important;
    }
    .fullscreen-hero .price-ribbon {
        font-size: 16px !important;
        padding: 6px 18px !important;
    }
    .metrics-row {
        margin-top: 15px !important;
    }
    .gallery-4k-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Force visible when opened by JS */
.modal-dashboard-fullscreen.show,
.modal-dashboard-fullscreen[style*="display: block"] {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 9999999 !important;
    background: #ffffff !important;
    opacity: 1 !important;
    overflow-y: auto !important;
}

.modal-dashboard-fullscreen.show .modal-dialog,
.modal-dashboard-fullscreen[style*="display: block"] .modal-dialog {
    transform: none !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
}

.modal-dashboard-fullscreen.show .modal-content,
.modal-dashboard-fullscreen[style*="display: block"] .modal-content {
    border-radius: 0 !important;
    border: none !important;
    min-height: 100vh !important;
    height: 100vh !important;
    overflow-y: auto !important;
}
