/* Galerija Page Styles */

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.gallery-section:first-of-type {
    margin-top: 101px; /* offset for fixed header */
}

.gallery-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--boxed-padding);
}

.gallery-section-title {
    font-family: 'Source Serif 4', serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--gold);
    text-align: center;
    margin-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Section specific backgrounds */
.eksterijer {
    background: #FFFFFF;
}

.enterijer {
    background: #F9F9F9;
}

.izgradnja {
    background: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-section {
        padding: 60px 0;
    }

    .gallery-section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-container {
        padding: 0 20px;
    }

    .gallery-section {
        padding: 50px 0;
    }

    .gallery-section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
}
