body {
    background-color: gray;
    /* background: url(https://images.rawpixel.com/image_800/cHJpdmF0ZS9sci9pbWFnZXMvd2Vic2l0ZS8yMDIzLTA4L3Jhd3BpeGVsb2ZmaWNlMjBfM2RfbW9kZXJuX3dhdmVfY3VydmVfYWJzdHJhY3RfaGFsZnRvbmVfZ3JhZGllbl8xZTJhY2M3Mi1jZTU3LTQ0NjItOGQzNS1lOTI4YzI5NzcxMTdfMS5qcGc.jpg); */
    background-size: cover;
    /* height: auto; */
    /* display: flex;
    flex-direction: column; */
    position: relative;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* background */
.background {
    display: flex;
    flex-wrap: wrap;
    min-height: 100vh;
    min-width: 100vw;
    position: fixed;
    z-index: -2;
}

/* Sticky Header */
.Main-Header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #333;
    opacity: 0.8;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    gap: 20px;
}

.header-center {
    display: inline;
    text-align: center;
    flex-grow: 1;
}

.header-center h1 {
    margin-bottom: 5px;
    font-size: 28px;
}

.header-center h3 {
    font-size: 18px;
    opacity: 0.8;
}

.header-right {
    text-align: right;
    font-size: 14px;
    opacity: 0.8;
    position: absolute;
    right: 20px;
}

.header-right p {
    margin-bottom: 20%;
}

.header-right p:last-child {
    margin-bottom: 0;
}

.content {
    flex: 1;
    width: 100%;
    min-height: 100vh;
    backdrop-filter: blur(1.2px);
    background: rgba(255, 255, 255, 0);
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}

.Catalogue {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    max-width: 1600px; /* Prevents excessive stretching */
    margin: 50px auto; /* Centers the row */
    gap: 140px; /* Adds spacing between the boxes */
}

.Catalogue-item {
    width: 300px;
    height: 300px;
    background: lightblue;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0077b6;
    border-radius: 20px;
    transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
    overflow: hidden;
}

.Catalogue-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.Catalogue-item:hover {
    transform: scale(1.1);
    border-color: purple;
}

.map-container {
    bottom: 100;
    width: 100%;
    margin-top: 300px;
    height: 400px;
    background-color: rgba(0, 0, 0, 0);
    /* z-index: 900; */
    text-align: center;
}

.map-container iframe {
    border-radius: 20px;
}

@media (max-width: 800px) {
    .Catalogue {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .Catalogue-item {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 600px) {

    .header-center {
        text-align: left;
    }

    .Catalogue {
        padding: 60px;
    }
    .Catalogue-item {
        width: 100%;
        height: auto;
    }

    .map-container {
        overflow: hidden;
    }
}

/* Hidden item view */
.item-view {
    display: none; /* Hidden by default */
    position: absolute; /* Overlays the current page */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay */
    color: black;
    padding: 50px;
    padding-top: 100px;
    text-align: center;
    overflow-y: auto;
    /* z-index: 1000; */
}

.item-content {
    background: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    padding: 30px;
    padding-bottom: 10px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
    overflow-y: auto;
    /* max-height: calc(100vh - 100px); */
}

.back-btn {
    position: fixed;
    top: 120px;
    left: 20px;
    background: #0077b6;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 15px;
}

.back-btn:hover {
    background: #005f80;
}