/* Base Styles from PythonAnywhere index.html */
body {
    font-family: sans-serif;
    background-color: #f0f0f0;
}

.container {
    text-align: left;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

/* Gallery Styles */
.gallery {
    text-align: center;
    padding: 20px;
}

.gallery-container {
    width: 100%;
    height: 500px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.gallery-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-caption {
    font-size: 1.2rem;
    padding: 10px;
    text-align: center;
    color: #333;
}

.gallery-nav button {
    padding: 10px 20px;
    margin: 10px;
    font-size: 1rem;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* PDF Download Button */
.pdf-download {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    box-sizing: border-box;
}

.pdf-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0066cc;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.pdf-button:hover {
    background: #0052a3;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-container {
        height: 300px;
    }
    
    .gallery-caption {
        font-size: 1rem;
    }
}
