body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

header {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.gallery {
    column-count: 5;
    column-gap: 10px;
    padding: 10px;
}

@media (max-width: 1200px) {
    .gallery {
        column-count: 4;
    }
}

@media (max-width: 1000px) {
    .gallery {
        column-count: 3;
    }
}

@media (max-width: 800px) {
    .gallery {
        column-count: 2;
    }
}

@media (max-width: 400px) {
    .gallery {
        column-count: 1;
    }
}

.gallery-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    break-inside: avoid;
    margin-bottom: 10px;
    transition: box-shadow 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    display: block;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.gallery-item h3 {
    margin: 10px;
    font-size: 16px;
    color: #333;
}

.gallery-item .image-container {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    display: block;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.edit-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .edit-button {
    opacity: 1;
}

.edit-button svg {
    width: 20px;
    height: 20px;
}

.edit-button:hover {
    background-color: rgba(255, 255, 255, 1);
}

.edit-button path {
    fill: #333;

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#modal-images {
    display: flex;
    overflow-x: auto;
    margin-bottom: 1rem;
}

#modal-images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 4px;
}

#reservation-form {
    margin-top: 1rem;
}

#user-info {
    margin-top: 1rem;
}

#user-info input {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#submit-reservation {
    background-color: #e60023;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

#submit-reservation:hover {
    background-color: #ad081b;
}

.add-item-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #e60023;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
    font-weight: bold;
}

.add-item-button:hover {
    background-color: #ad081b;
}

/* Styles for add item form */
.add-item-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.add-item-form label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
}

.add-item-form input[type="text"],
.add-item-form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.add-item-form input[type="file"] {
    margin-top: 0.5rem;
}

.add-item-form button {
    display: block;
    width: 100%;
    padding: 0.5rem;
    margin-top: 1rem;
    background-color: #e60023;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.add-item-form button:hover {
    background-color: #ad081b;
}

/* ... existing styles ... */

.edit-button {
    display: block;
    width: 100%;
    padding: 0.5rem;
    background-color: #0077b5;
    color: white;
    border: none;
    border-radius: 0 0 8px 8px;
    cursor: pointer;
    font-weight: bold;
}

.edit-button:hover {
    background-color: #006097;
}

.edit-item-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.edit-item-form button {
    display: block;
    width: 100%;
    padding: 0.5rem;
    margin-top: 1rem;
    background-color: #e60023;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.edit-item-form button:hover {
    background-color: #ad081b;
}


---

/* Edit Page Styles */
body.edit-page {
    background-color: #f0f2f5;
    font-family: 'Roboto', sans-serif;
    color: #333;
}

.edit-header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edit-header h1 {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
}

.back-button {
    text-decoration: none;
    color: #0077b5;
    font-weight: 500;
}

.edit-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.edit-item-form .form-group {
    margin-bottom: 1.5rem;
}

.edit-item-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.edit-item-form input[type="text"],
.edit-item-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced0d4;
    border-radius: 4px;
    font-size: 16px;
}

.edit-item-form input[type="file"] {
    margin-top: 0.5rem;
}

.edit-item-form .submit-button {
    background-color: #e60023;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.edit-item-form .submit-button:hover {
    background-color: #ad081b;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-container {
    position: relative;
}

.image-container img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.remove-image:hover {
    background-color: rgba(255, 255, 255, 1);
}