/* Gallery Page Custom Styles */
.gallery-header {
    background: linear-gradient(rgba(21, 148, 71, 0.8), rgba(15, 23, 42, 0.9)), url('../../assets_web/images/campus1.jpg') no-repeat center center / cover;
    padding: 80px 0;
    color: #ffffff;
    text-align: center;
}

.filter-btn {
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    padding: 8px 20px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn.active, .filter-btn:hover {
    background: #159447;
    border-color: #159447;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(21, 148, 71, 0.2);
}

.gallery-item-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.gallery-item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(21, 148, 71, 0.15);
    border-color: #159447;
}

.gallery-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item-card:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-overlay-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 148, 71, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-img-wrapper:hover .gallery-overlay-icon {
    opacity: 1;
}

.gallery-overlay-icon i {
    color: #ffffff;
    font-size: 2rem;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.gallery-img-wrapper:hover .gallery-overlay-icon i {
    transform: scale(1);
}

.gallery-info {
    padding: 20px;
}

.gallery-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #64748b;
}

.gallery-tag-cat {
    background: #f0fdf4;
    color: #159447;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Lightbox Modal custom styling */
.lightbox-modal .modal-content {
    background: rgba(15, 23, 42, 0.95);
    border: none;
    border-radius: 0;
}

.lightbox-modal .modal-body {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.lightbox-img {
    max-width: 90%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: #ffffff;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1060;
}

.lightbox-close-btn:hover {
    background: #dc2626;
    color: white;
}
