﻿/* Section Typography */
.display-heading {
    font-weight: 900;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1.5px;
}

/* Card & Image Styling */
.gallery-card-fancy {
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    height: 100%;
}

    .gallery-card-fancy:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
    }

.gallery-main-wrapper-fancy {
    position: relative;
    height: 260px;
    overflow: hidden;
    cursor: zoom-in;
}

.gallery-img-zoom {
    transition: transform 0.8s ease;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.gallery-card-fancy:hover .gallery-img-zoom {
    transform: scale(1.1);
}

/* Premium Glass Caption */
.gallery-glass-caption {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    padding: 15px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: transform 0.3s ease;
}

/* Thumbnail Strip */
.thumb-strip {
    padding: 12px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.thumb-item-fancy {
    width: 100%;
    height: 65px;
    border-radius: 14px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .thumb-item-fancy:hover {
        transform: scale(1.05);
        border-color: #6366f1;
    }

/* Lightbox Modal Customization */
#projectGalleryModal .modal-content {
    border-radius: 32px;
    background: #020617;
    border: 1px solid rgba(255,255,255,0.1);
}

.gallery-main-img {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 16px;
}

.gallery-nav-btn {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

    .gallery-nav-btn:hover {
        background: #6366f1;
        transform: scale(1.1);
    }
