* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;

    background-image: url("../poze/fundaltrasee.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;

    background: rgba(4, 56, 104, 0.55);
    backdrop-filter: blur(12px);
}

.nav-container {
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    max-height: 75px;
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
}

.highlight {
    color: #de540a;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: white;
    text-decoration: none;
    margin-left: 35px;
    font-weight: 600;
    transition: 0.3s;
}
nav ul li a:hover,
nav ul li a.active { 
    color: #de540a; 
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 5px;
}

.gallery-section {
    padding-top: 120px;
    padding-bottom: 60px;
}

.title {
    text-align: center;
    margin-bottom: 35px;

    font-size: 2.8rem;
    font-weight: 800;
    color: #003366;
}

.gallery-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.gallery-row.reverse {
    flex-direction: row-reverse;
}

.col-left {
    flex: 1;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

.col-right {
    flex: 1;
}

.col-left img {
    width: 100%;
    height: 200px;
    object-fit: cover;

    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.col-right img {
    width: 100%;
    height: 415px;
    object-fit: cover;

    border-radius: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-row img:hover {
    transform: scale(1.03);
}

.lightbox {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.9);

    display: none;
    align-items: center;
    justify-content: center;

    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 15px;
}

footer {
    background: #001a33;
    color: white;
    padding: 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    text-align: center;
}

@media (max-width: 1024px) {

    .hamburger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 80px;
        left: 0;

        width: 100%;
        background: #001a33;

        display: none;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 20px;
    }

    nav ul li a {
        margin: 0;
    }

    .gallery-row,
    .gallery-row.reverse {
        flex-direction: column;
    }

    .col-left img,
    .col-right img {
        height: auto;
    }

    .title {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}