﻿body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.gallery-container {
    max-width: 1200px; /* Increased to accommodate larger image */
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.main-image-container {
    text-align: center;
    margin: 20px 0;
}

#mainImage {
    max-width: 100%;
    max-height: 80vh; /* Use viewport height for bigger display */
    width: auto;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 4px;
    object-fit: contain;
}

.navigation-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 15px 0;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

    button:hover {
        background-color: #45a049;
    }

    button:disabled {
        background-color: #cccccc;
        cursor: not-allowed;
    }

.thumbnail-strip {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 10px 0;
    white-space: nowrap;
}

.thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s, transform 0.3s;

}

    .thumbnail:hover {
        transform: scale(1.05);
        border-color: #4CAF50;
    }

    .thumbnail.active {
        border-color: #4CAF50;
        box-shadow: 0 0 5px #4CAF50;
    }

.filter-form {
    margin-bottom: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.filter-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

    .filter-group label {
        font-weight: bold;
        font-size: 14px;
    }

    .filter-group select,
    .filter-group button {
        padding: 8px 12px;
        border-radius: 4px;
        border: 1px solid #ccc;
        font-size: 14px;
    }

.filter-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

    .filter-btn:hover {
        background-color: #45a049;
    }
