@font-face {
    font-family: 'ArchivoBlack';
    src: url('ArchivoBlack-Regular.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    padding-top: 80px; 
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(223, 223, 223, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

@media (min-width: 2560px) {
    .navbar {
        height: 100px;
    }
    body {
        padding-top: 100px;
    }
    .logo {
        max-height: 90px;
    }
    .nav-links a {
        font-size: 26px;
    }
}

.logo-container {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo {
    max-height: 75px;
    width: auto;
    padding: 2px;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-family: 'ArchivoBlack', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    font-size: 22px;
    letter-spacing: 1px;
}

.nav-links a:hover, 
.nav-links a.active {
    text-decoration: underline;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 32px;
    color: #000000;
    cursor: pointer;
}

@media (max-width: 850px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(223, 223, 223, 0.95);
        padding: 20px 0;
        border-top: 1px solid #ccc;
    }
    .nav-links.active {
        display: block;
    }
    .nav-links ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

.content {
    padding: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery {
    column-count: 3;
    column-gap: 40px;
}

.gallery-tile {
    position: relative;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
    background-color: #000;
    break-inside: avoid;
    margin-bottom: 40px;
    display: inline-block;
    width: 100%;
    transform: translateZ(0);
}

.gallery-tile img {
    width: 100%;
    height: auto;
    display: block;
}

.photo-count {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    font-family: Arial, sans-serif;
    pointer-events: none;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-img-container {
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.nav-btn, .close-btn {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 15px;
    z-index: 2010;
}

.nav-btn:hover, .close-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

.close-btn {
    top: 20px;
    right: 20px;
    font-size: 40px;
    line-height: 1;
    padding: 5px 15px;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

@media (max-width: 1024px) {
    .gallery { column-count: 2; column-gap: 30px; }
    .gallery-tile { margin-bottom: 30px; }
}

@media (max-width: 650px) {
    .gallery { column-count: 1; column-gap: 20px; }
    .gallery-tile { margin-bottom: 20px; }
    .content { padding: 20px; }
    .nav-btn { padding: 10px; font-size: 20px; }
}
