    /* =======================================
    DESKTOP-FIRST WORK DETAILS STYLES
    ======================================= */

        /* Basic Resets */
        html, body {
            margin: 0;
            padding: 0;
            height: 100%;
        }
        
        body {
            background-color: #FFFAEC; /* same background as the Works page */
            font-family: myFirstFont;
            color: #333;
            display: flex;
            flex-direction: column;
        }
        
        /* 
            MAIN Layout for the .work-details 
            - We remove min-height so the footer is placed at the page bottom 
            by normal flow. 
            - We'll add margin-top to push content below the navbar.
        */
        .work-details {
            margin-top: 4rem; /* push the content lower from the navbar */
            margin-bottom: 2rem; /* small gap above the footer */
            flex: 1;
        }
        
        /* The container that holds text & image side by side */
        .work-details .container {
            display: flex;
            align-items: center; /* Center both text & image vertically */
            justify-content: space-between; 
            gap: 3rem;
            max-width: 1200px;
            margin: 0 auto;
            padding: 4vh 2vw; /* Adjust padding dynamically for screen size */
            position: relative; 
            
        }
        
        /* 
            1) BACK BUTTON 
            We give it extra bottom margin so it sits higher above the text. 
        */
        .back-link {
            display: inline-block;
            text-decoration: none;
            color: #000;
            font-weight: 500;
            margin-bottom: 5rem; /* Extra spacing below the back button */
        }
        .back-link:hover {
            text-decoration: underline;
        }
        
        /* 
            🏷️ 2) MAIN TEXT BLOCK IS LOWER 
            We push the text section further down while keeping 
            its left alignment. 
        */
        .details {
            flex: 1;
            max-width: 600px;
            padding-top: 3vh; /* Move it lower dynamically */
        }
        
        /* 🏷️ 3) PAINTING TITLE - Adds Some Space */
        .painting-title {
            font-size: 2rem;
            margin: 1.5rem 0 1.5rem; /* Increased top margin */
            font-weight: 600;
            letter-spacing: 1px;
        }
        
        /* Table for medium & size */
        .painting-info {
            border: 1px solid #000;
            border-collapse: collapse;
            margin-bottom: 2rem;
            width: 100%;
            max-width: 400px;
        }
        .painting-info td {
            border: 1px solid #000;
            padding: 0.5rem 1rem;
            vertical-align: top;
        }
        
        /* Description section */
        .description h3 {
            font-size: 1rem;
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #444;
        }
        .description p {
            line-height: 1.4;
            font-size: 0.95rem;
            max-width: 500px;
        }

        .description {
            margin-top: 3rem; /* Moves description further down */
        }
        
        /* Right side image */
        /* 🏷️ 5) IMAGE KEEPS ITS POSITION */
        .painting-image {
            flex-shrink: 0;
            max-width: 500px;
        }
        .painting-image img {
            display: block;
            width: 100%;
            height: auto;
            border: 1px solid #ccc;
        }
    
   .lightbox-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.85); /* Slightly darker but instant */
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        opacity: 0; 
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0s linear 0.5s; /* Quicker transition */
    }
    
    /* When the overlay is shown */
    .lightbox-overlay.show {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.1s ease-in, visibility 0s linear 0s; /* Snappier effect */
    }
    
    /* The full-size image */
    .lightbox-overlay img {
        max-width: 90%;
        max-height: 90%;
        cursor: zoom-out;
        
        transform: scale(0.88) translateY(4px); /* Start slightly smaller & lower */
        transition: transform 0.4s; /* Smooth pop effect */
    }
    
    /* When the lightbox is open, make the image feel crisp */
    .lightbox-overlay.show img {
        transform: scale(1) translateY(0); /* Snappy, subtle scale-up */
    }

    
    
    


    /* 
        RESPONSIVE ADJUSTMENTS 
    */
    @media (max-width: 768px) {
        .work-details .container {
        flex-direction: column;
        align-items: flex-start; /* text & image stacked, anchored left */
        gap: 2rem;
        }
        .painting-image {
        max-width: 100%;
        }
    }
    