/* =================================
   GALERI CSS - GALERI SAYFA STILLERI
   ================================= */

/* Gallery Filters */
.gallery-filters {
    padding: 3rem 0 1rem;
    background: var(--white);
    text-align: center;
}

.filters-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--soft-coral);
    color: var(--soft-coral);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    margin: 0 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--soft-coral);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(228, 160, 122, 0.3);
}

/* Gallery Content */
.gallery-content {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--warm-cream), #F8F6F3);
}

.gallery-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gallery-content .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-content .gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1;
    opacity: 1;
    transform: scale(1);
}

.gallery-content .gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.gallery-content .gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.gallery-content .gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--soft-coral) 0%, var(--accent-coral) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.gallery-content .gallery-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.gallery-content .gallery-icon {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
    z-index: 2;
    position: relative;
}

.gallery-content .gallery-placeholder-text {
    color: var(--white);
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    z-index: 2;
    position: relative;
}

.gallery-content .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(118, 83, 89, 0.95), rgba(228, 160, 122, 0.95));
    backdrop-filter: blur(5px);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 2rem;
}

.gallery-content .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content .gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.gallery-content .gallery-description {
    font-size: 1rem;
    opacity: 0.9;
}

/* Gallery CTA */
.gallery-cta {
    padding: 5rem 0;
    background: #2c1810;
    color: var(--white);
}

.gallery-cta .cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.gallery-cta .cta-content {
    text-align: center;
}

.gallery-cta .cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.gallery-cta .cta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--accent-coral);
}

.lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
}

.lightbox-info {
    color: var(--white);
    margin-top: 1rem;
}

.lightbox-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.lightbox-description {
    font-size: 1rem;
    opacity: 0.9;
}

/* Gallery Responsive Design */
@media (max-width: 768px) {
    .gallery-filters {
        padding: 2rem 0;
    }
    
    .filters-container,
    .gallery-content-container,
    .gallery-cta .cta-container {
        padding: 0 1rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .gallery-content .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-content .gallery-icon {
        font-size: 3rem;
    }
    
    .gallery-content .gallery-placeholder-text {
        font-size: 1.1rem;
    }
    
    .gallery-cta .cta-title {
        font-size: 2rem;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
}

@media (max-width: 480px) {
    .gallery-content {
        padding: 3rem 0;
    }
    
    .gallery-content .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-content .gallery-placeholder {
        padding: 1.5rem;
    }
    
    .gallery-content .gallery-icon {
        font-size: 2.5rem;
    }
    
    .gallery-content .gallery-placeholder-text {
        font-size: 1rem;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
}
