/* ============================================================
   RoozBook - Gallery Page Styles
   ============================================================ */

.gallery-count {
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 16px;
}

.gallery-grid-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.gallery-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.2s ease;
    display: block;
}

.gallery-card:hover {
    border-color: #e67e22;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.gallery-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-card-img img {
    transform: scale(1.05);
}

.gallery-card-caption {
    padding: 10px 14px;
    font-size: 0.82rem;
    color: #555;
    text-align: center;
    line-height: 1.4;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-btn.active,
.page-btn:hover {
    background: #e67e22;
    color: #fff;
    border-color: #e67e22;
}

.page-dots {
    padding: 0 4px;
    color: #999;
    font-size: 0.85rem;
}

/* Empty State */
.category-empty {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.category-empty i {
    font-size: 4rem;
    margin-bottom: 16px;
    color: #ddd;
    display: block;
}

.category-empty p {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-grid-page {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid-page {
        grid-template-columns: 1fr;
    }
}