/* 
 * QuickSharePhotos - Gallery Page Styles
 */

body.gallery-page {
    background: #f8f9fa;
}

.gallery-info {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

/* Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.photo-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.photo-thumb {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.photo-info {
    padding: 12px;
    font-size: 0.85em;
    color: #666;
    text-align: center;
}

/* No Photos State */
.no-photos {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.no-photos h2 {
    margin-bottom: 15px;
    color: #999;
    font-weight: 300;
    font-size: 1.8em;
}

.no-photos p {
    margin-bottom: 20px;
}

.no-photos a {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.no-photos a:hover {
    transform: translateY(-2px);
}

/* Modal Navigation */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: color 0.3s ease;
}

.modal-nav:hover {
    color: var(--primary-start);
}

.modal-prev {
    left: 10px;
}

.modal-next {
    right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .photo-thumb {
        height: 150px;
    }

    .modal-nav {
        font-size: 30px;
        padding: 10px;
    }
}
