/* Gallery Page Specific Styles */
.gallery-page-section {
    padding: 50px 0 100px;
    background-color: var(--bg);
}

.gallery-filter {
    margin-bottom: 50px;
    position: relative;
    z-index: 5;
}

.filter-btn {
    background: var(--w);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--c1);
    padding: 10px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    margin: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--c2);
    color: var(--cg) !important;
    border-color: var(--c2);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
    transform: translateY(-3px);
}

.gallery-grid {
    position: relative;
}

.gallery-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(10, 32, 20, 0.05);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 350px;
    background: var(--w);
    border: 1px solid rgba(0,0,0,0.02);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(78, 52, 46, 0.15);
    border-color: var(--c2);
}

.gallery-card:hover img {
    transform: scale(1.1) rotate(2deg);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6, 44, 26, 0.9) 0%, transparent 100%);
    opacity: 0;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
}

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

.gallery-view-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--c2);
    color: var(--cg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s ease 0.1s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gallery-card:hover .gallery-view-icon {
    opacity: 1;
    transform: scale(1);
}

.gallery-item-cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--c2);
    font-weight: 800;
    margin-bottom: 5px;
}

.gallery-item-title {
    color: var(--w);
    font-family: 'Bodoni Moda', serif !important;
    font-size: 1.4rem;
    margin-bottom: 0;
}
