/* === PHOTOS GRID === */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    padding: 20px 10px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #1f1f1f;
    border: 1px solid #333;
}

.photo-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(30, 144, 255, 0.4);
    border-color: #1e90ff;
}

.photo-item img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.photo-number {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(30,144,255,0.8);
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 6px;
    border-radius: 6px;
}

.photo-filename {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    font-size: 0.75rem;
    color: #fff;
    text-shadow: 1px 1px 3px #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    background: #1f1f1f;
    border: 1px solid #333;
    transition: all 0.3s;
}

.pagination a:hover {
    background: #1e90ff;
    border-color: #1e90ff;
}

.pagination .current {
    background: #1e90ff;
    border-color: #1e90ff;
}

/* === FALLBACK EMBED SECTION === */
.drive-embed-section {
    margin: 40px auto;          /* Adds spacing around the section */
    max-width: 1200px;
    text-align: center;
    padding: 20px;              /* Adds internal padding for breathing space */
    background-color: #1f1f1f;  /* Dark background for contrast */
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}

.drive-embed {
    width: 100%;
    height: 800px;               /* Slightly shorter for better proportion */
    border: none;                /* Cleaner without border */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Soft shadow around embed */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.drive-embed:hover {
    transform: translateY(-5px);    /* Slight lift on hover */
    box-shadow: 0 8px 25px rgba(0,0,0,0.5); /* More pronounced shadow */
}


