/* Scholarly Journey - Gallery Base */
.gallery-title {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-title h2 {
    color: #ffffff;
    letter-spacing: 3px;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    font-family: "Source Sans Pro", Arial, sans-serif;
    text-shadow: 0 0 15px rgba(0, 246, 254, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 246, 254, 0.2);
    transition: all 0.4s ease;
    aspect-ratio: 4/3;
    background: rgba(1, 6, 28, 0.5);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 246, 254, 0.2);
    border-color: rgba(0, 246, 254, 0.6);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .gallery-title h2 {
        font-size: 1.5rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
    }

    .gallery-item {
        aspect-ratio: 16/10;
    }

    .gallery-title {
        margin-bottom: 2rem;
    }

    .gallery-title h2 {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }
}