/* Specjalny element "Więcej realizacji wkrótce" */
.more-coming {
    background-color: #f8f7f3;
    border: 2px dashed var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.coming-soon-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.coming-soon-content i {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.coming-soon-content h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin: 0;
}

.coming-soon-content p {
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}/* Styl dla sekcji galerii - zgodny ze stylami strony głównej */

/* Hero container */
.hero-container {
    padding: 40px;
    background-color: #eee8d2;
}

/* Banner galerii */
.gallery-banner {
    position: relative;
    background-image: url('realizacje-hero.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    margin: 0 40px 40px 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.gallery-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.banner-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.banner-content {
    max-width: 550px;
    text-align: left;
    color: white;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    max-width: 550px;
}

.banner-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Style dla sekcji hero features (ikony z tekstem) */
.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 30px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: 320px;
}

.hero-feature:hover {
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.25);
}

.hero-feature i {
    font-size: 18px;
    color: var(--color-primary);
}

.hero-feature span {
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Filtry galerii */
.gallery-filters {
    padding: 20px 0;
    margin-bottom: 40px;
}

.filters-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.filters-container h2 {
    font-size: 2.2rem;
    color: var(--color-text);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.filters-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.filters-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.filter-button {
    background-color: #f8f7f3;
    border: none;
    color: var(--color-text);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.filter-button:hover {
    color: var(--color-text);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.filter-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.filter-button.active {
    background-color: var(--color-primary);
    font-weight: 700;
    transform: translateY(-2px);
}

/* Siatka galerii */
.gallery-grid {
    padding: 20px 0 60px;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed);
    height: 300px;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

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

/* Nowa nakładka z efektem hover */
.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-zoom-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.gallery-item:hover .gallery-zoom-btn {
    transform: scale(1);
}

.gallery-zoom-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-text);
}

/* Call to action sekcja */
.gallery-cta {
    background-color: #f8f7f3;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 2.2rem;
    color: var(--color-text);
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-speed);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Modal galerii */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 100;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background-color: transparent;
    overflow: hidden;
    margin: 0 auto;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 28px;
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    z-index: 101;
}

.modal-close:hover {
    background-color: rgba(0,0,0,0.8);
    transform: rotate(90deg);
}

#modal-image {
    width: 100%;
    max-height: 80vh;
    display: block;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px;
    color: white;
    text-align: center;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.modal-location {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Nawigacja w galerii */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.modal-nav-btn {
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    pointer-events: auto;
}

.modal-nav-btn:hover {
    background-color: var(--color-primary);
    transform: scale(1.1);
}

/* Responsywność */
@media (max-width: 1200px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-feature {
        width: 250px;
    }
}

@media (max-width: 900px) {
    .banner-flex-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .banner-content {
        text-align: center;
    }
    
    .banner-features {
        align-items: center;
    }
    
    .gallery-banner {
        height: auto;
        min-height: 480px;
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .gallery-banner {
        margin: 0 20px 30px 20px;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-content p {
        font-size: 1.1rem;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .filters-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .gallery-banner {
        height: auto;
        min-height: 550px;
        margin: 0 15px 20px 15px;
    }
    
    .banner-content h1 {
        font-size: 2.2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .hero-feature {
        width: 100%;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .modal-content {
        max-width: 100%;
    }
    
    .hero-container {
        padding: 20px;
    }
}