/* =================================
   page-gallery.css - Redizajn Boja
================================= */

.page-header-simple {
    height: 180px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}
.page-header-simple .page-title {
    font-size: 42px;
    text-transform: uppercase;
    color: #212529;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 50px 0;
    border-bottom: 1px solid #dee2e6;
}

.service-gallery-section {
    padding: 60px 0;
    text-align: center;
}
.service-gallery-section:nth-child(even) {
    background-color: #f8f9fa;
}
.service-gallery-section .section-title {
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 40px;
    color: #212529;
}

/* Mreža za slike */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.gallery-item {
    position: relative; display: block; overflow: hidden; border-radius: 5px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.gallery-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-item-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(37, 150, 190, 0.8); /* << AŽURIRANO: Plavi overlay */
    color: #ffffff; display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.4s ease; font-size: 30px;
}
.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.section-button-wrapper {
    margin-top: 40px;
}

.button-outline,
.filter-button {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    border: 2px solid #2596be;
    color: #2596be;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
}

.button-outline:hover,
.filter-button:hover {
    background-color: #2596be;
    color: #ffffff;
}