/* Gallery Showcase Styles */
.gallery-showcase {
    margin: 32px 0;
    padding: 32px;
    background: linear-gradient(120deg, #181c20 0%, #23272f 100%);
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.10), 0 1.5px 0 rgba(0,255,255,0.04) inset;
    border: 1px solid rgba(60, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.gallery-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(0,255,255,0.08) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.gallery-title {
    text-align: center;
    color: #00e6ff;
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 16px rgba(0,255,255,0.12);
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    transition: box-shadow 0.25s cubic-bezier(.4,0,.2,1), transform 0.25s cubic-bezier(.4,0,.2,1);
    border: 1px solid rgba(0,255,255,0.06);
    background: rgba(32,36,44,0.92);
}

.gallery-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 32px rgba(0,255,255,0.10), 0 2px 24px rgba(0,0,0,0.18);
    border-color: rgba(0,255,255,0.18);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #23272f;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s cubic-bezier(.4,0,.2,1);
    filter: brightness(0.98) contrast(1.08);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,255,255,0.10) 0%, rgba(0,0,0,0.32) 100%);
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(.4,0,.2,1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2.5px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    text-align: center;
    color: #eafcff;
    padding: 18px 12px;
}

.gallery-info h3 {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

.gallery-info p {
    font-size: 13.5px;
    line-height: 1.5;
    opacity: 0.85;
}

/* Tech Animation Effects */
@keyframes techGlow {
    0%, 100% { 
        box-shadow: 0 0 0px rgba(0,255,255,0.04), 0 0 0px rgba(0,255,255,0.02) inset;
    }
    50% { 
        box-shadow: 0 0 16px rgba(0,255,255,0.10), 0 0 8px rgba(0,255,255,0.06) inset;
    }
}

.gallery-item {
    animation: techGlow 3.2s ease-in-out infinite;
}

.gallery-item:nth-child(2) {
    animation-delay: 0.4s;
}
.gallery-item:nth-child(3) {
    animation-delay: 0.8s;
}
.gallery-item:nth-child(4) {
    animation-delay: 1.2s;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .gallery-showcase {
        margin: 16px 0;
        padding: 14px;
    }
    .gallery-title {
        font-size: 20px;
        margin-bottom: 14px;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 10px;
    }
    .gallery-image {
        height: 100px;
    }
    .gallery-info h3 {
        font-size: 14px;
    }
    .gallery-info p {
        font-size: 12px;
    }
}