body {
    font-family: Arial, sans-serif;
}

main {
    width: 80%;
    margin: 30px auto;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.admin-section {
    margin-bottom: 30px;
}

.admin-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.admin-section label {
    margin: 10px 0 5px;
}

.admin-section input[type="file"] {
    padding: 10px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 400px;
}

.admin-section button {
    padding: 10px 20px;
    background-color: #9c0000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.admin-section button:hover {
    background-color: #800000;
}

.btn {
    padding: 10px 20px;
    background-color: #990000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
}

.btn:hover {
    background-color: #610000;
}

.gallery-section {
    margin-top: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Fullscreen Modal Styles */
.fullscreen-modal {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.fullscreen-modal.show {
    display: flex !important;
}

.fullscreen-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease-in-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ddd;
}