body {
    margin: 0;
    font-family: 'PT Sans', sans-serif;
    background-color: #1A1A1A;
    color: white;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1A1A1A;
    padding: 10px 50px;
    border-bottom: 2px solid #6290A3;
    height: 60px;
    font-weight: 400;
    box-sizing: border-box;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 32px;
    font-weight: bold;
    white-space: nowrap;
    margin-left: -30px;
}
.logo img {
    width: 50px;
    height: 50px;
    margin-right: 14px;
}
.nav {
    display: flex;
    gap: 30px;
    margin-right: -10px;
}
.nav a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-weight: 400;
    font-size: 22px;
    transition: color 0.2s;
    position: relative;
}
.nav a img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    transition: filter 0.2s;
}
.nav a:hover, .nav a.active {
    color: #FFD162;
    text-decoration: underline;
}
.nav a:hover img, .nav a.active img {
    color: #FFD162;
}
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.burger-menu div {
    width: 30px;
    height: 3px;
    background-color: white;
}
.burger-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1A1A1A;
    border-bottom: 2px solid #6290A3;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.burger-overlay.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.burger-overlay .close-btn {
    position: absolute;
    top: -10px;
    right: 60px;
    cursor: pointer;
    scale: 0.4;
}
.burger-overlay .logo {
    margin-left: 0;
    margin-bottom: 16px;
}
.burger-overlay .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.burger-overlay .nav a {
    font-size: 24px;
}
@media (max-width: 1700px) {
    .nav a span {
        display: none;
    }
    .nav a::after {
        content: attr(data-title);
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #333;
        color: white;
        padding: 5px 10px;
        border-radius: 4px;
        font-size: 14px;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s, visibility 0.2s;
        z-index: 100;
    }
    .nav a:hover::after {
        opacity: 1;
        visibility: visible;
    }
}
@media (max-width: 900px) {
    .nav {
        display: none;
    }
    .burger-menu {
        display: flex;
    }
}

#gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 16px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 16px;
    grid-auto-rows: 10px;
}

.card {
    position: relative;
    overflow: hidden;
    background-color: #252525;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    cursor: pointer;
}

.card img:hover {
    transform: scale(1.05);
}

.card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
}

.card-footer a {
    color: #FFD162;
    text-decoration: none;
    font-weight: 600;
}

.card-footer a:hover {
    text-decoration: underline;
}

#modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #252525;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #6290A3;
    border-radius: 5px;
    border: 2px solid #252525;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFD162;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #6290A3 #252525;
}