/* ================================
   TEMP BUSINESS PREVIEW PAGE
   ================================ */

.TEMP-BUSINESS-PREVIEW {
    padding: 40px 20px;
    background: #f8fafc;
}

.preview-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* HEADER */
.preview-header {
    display: flex;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.preview-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 12px;
    background: #f1f5f9;
    padding: 10px;
}

.preview-title h1 {
    font-size: 28px;
    margin: 0;
    color: #111827;
}

/* GRID */
.preview-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
}

/* SECTIONS */
.preview-section {
    margin-bottom: 28px;
}

.preview-section h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #0f172a;
    border-left: 4px solid #22c55e;
    padding-left: 10px;
}

.preview-section p {
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

.preview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preview-list li {
    margin-bottom: 10px;
    color: #374151;
}

.preview-list a {
    color: #2563eb;
    text-decoration: none;
}

.preview-list a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .preview-header {
        flex-direction: column;
        text-align: center;
    }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .preview-logo img {
        width: 100px;
        height: 100px;
    }
}


/* ================================
   CONTACT PERSONS
================================ */

.contact-persons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.contact-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
}

.contact-card strong {
    display: block;
    color: #0f172a;
    margin-bottom: 4px;
}

.contact-designation {
    font-size: 13px;
    color: #475569;
    margin-bottom: 8px;
}

.contact-meta span {
    display: block;
    font-size: 13px;
    color: #334155;
    margin-bottom: 4px;
}

/* ================================
   BUSINESS GALLERY
================================ */

.business-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    background: #f1f5f9;
}

.gallery-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

/* Mobile tweaks */
@media (max-width: 768px) {
    .gallery-item img {
        height: 120px;
    }
}


/* ================================
   IMAGE LIGHTBOX
================================ */

.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.25s ease;
}

.image-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.image-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

/* Cursor hint */
.preview-gallery-img {
    cursor: zoom-in;
}


/* ================================
   FORCE FULLSCREEN IMAGE LIGHTBOX
================================ */

.image-lightbox {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    background: rgba(0, 0, 0, 0.85);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    z-index: 999999; /* 🔥 ABOVE ASTRA HEADER/FOOTER */

    transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* ACTIVE STATE */
.image-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* IMAGE */
.image-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

/* CLOSE BUTTON */
.image-lightbox .lightbox-close {
    position: absolute;
    top: 20px;
    right: 26px;
    font-size: 36px;
    color: #ffffff;
    cursor: pointer;
    z-index: 1000000;
}

/* CURSOR */
.preview-gallery-img {
    cursor: zoom-in;
}


