body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #2C2C2C;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    position: fixed;
    top: 40px;
    left: 100px;
    width: auto;
    height: 100%;   
    padding: 20px;
}

header img {
    width: 360px;
    height: auto;
    margin-bottom: 40px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin-bottom: 4px;
}

nav ul li a {
    font-size: 16px;
    font-weight: normal;
    transition: font-weight 0.3s ease, transform 0.3s ease;
    margin-left: 20px;
}

nav ul li:first-child a {
    font-size: 20px;
    font-weight: bold;
    color: #004C3F;
    margin-left: 0;
}

nav ul li.special a {
    font-size: 20px;
    font-weight: bold;
    color: #004C3F;
    margin-left: 0;
}

nav ul li.special {
    margin-top: 16px;
}

nav ul li.special a {
    display: block;
    margin-bottom: 16px;
}

nav ul li.special:last-child {
    position: absolute;
    bottom: 50px;
    left: 20px;
    margin-top: 0;
    margin-bottom: 85px;
}

nav ul li.special:last-child a {
    border: 2px solid #E78C3B;
    padding: 5px 10px;
    border-radius: 4px;
    background: #E78C3B;
    color: white;
    width: 110px;
    text-align: center;
}

nav ul li a:hover {
    font-weight: bold;
    color: #004C3F;
}

nav ul li.active a {
    font-weight: bold;
    color: #004C3F;
}

main {
    margin-left: 460px;
}

.grid {
    display: flex;
    gap: 10px;
    padding: 10px 40px 0 40px;
    margin-left: 100px;
    margin-right: 100px;
    flex-wrap: wrap;
}

.grid.top-margin {
    margin-top: 180px;
    margin-bottom: 0px;
}

.grid.no-margin {
    margin-top: 0px;
    margin-bottom: 0px;
}

.left-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    flex: 1;
}

.right-grid,
.second-grid {
    flex: 1;
}

.grid-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: #e0e0e0;
    border-radius: 8px;
    width: 100%;
    height: 360px;
}

.grid-item.big {
    height: auto;
}

.grid-item img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
}

.grid-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.grid-item:hover::after {
    opacity: 1;
}

.grid-item h3 {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    background: #E78C3B;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 16px;    
    z-index: 2;
}

footer {
    text-align: center;
    padding: 20px;
}

@media (max-width: 768px) {
    header {
        position: static;
        width: 100%;
        height: auto;
        padding: 10px;
        text-align: center;
    }

    header img {
        width: 200px;
        margin-bottom: 20px;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin-bottom: 10px;
    }

    nav ul li a {
        font-size: 14px;
        margin-left: 0;
    }

    main {
        margin-left: 0;
        padding: 20px;
    }

    .grid {
        grid-template-columns: 1fr;
        margin-left: 0;
        margin-right: 0;
    }

    .grid-item img {
        max-height: 200px;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 70px;
    right: 50px;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: rgba(44, 44, 44, 0.10);
    color: #E78C3B;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-to-top::before {
    content: '↑';
    font-size: 24px;
    color: #E78C3B;
    opacity: 1;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    cursor: pointer;
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    border-radius: 8px;
    cursor: default;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    transition: 0.3s ease;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 500px;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 500px;
    border-radius: 3px 0 0 3px;
}

.close:hover, .prev:hover, .next:hover {
    color: #E78C3B;
}

.grid.ticket-margin {
    margin-top: 0px;
    margin-bottom: 0px;
}

.grid.ticket-margin .grid-item img {
    width: 100%;
    height: 100%;
    object-fit: contain
}
