/* Galerie Section Styles */
.galerie-section {
    padding: 50px 0 80px 0;
    background-color: #ffffff;
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.galerie-item {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 0 0 30px 0;
    cursor: pointer;
    transition: .3s;
}

.galerie-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: .3s;
}

.galerie-item:hover img {
    opacity: 1;
}

.galerie-item:hover {
    border: 4px solid #c19736;
}

.galerie-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    opacity: .5;
}

.galerie-item:hover img {
    transform: scale(1.2);
}

/* Fancybox overlay effect */
.galerie-item::before {
    /* content: ''; */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 8px;
    pointer-events: none;
}

.galerie-item:hover::before {
    opacity: 1;
}

/* Zoom icon overlay */
.galerie-item::after {
    /* content: '\f00e'; */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.galerie-item:hover::after {
    opacity: 1;
}

/* Pagination Styles */
.galerie-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.galerie-prev,
.galerie-next {
    width: 30px;
    height: 30px;
    border: 1px solid #C09736;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.galerie-prev:hover,
.galerie-next:hover {
    background-color: #C09736;
}

.galerie-prev:hover svg path,
.galerie-next:hover svg path {
    stroke: #ffffff;
}

.galerie-dots {
    display: flex;
    gap: 10px;
    display: none;
}

.galerie-dot {
    width: 30px;
    height: 30px;
    border: 1px solid #C09736;
    background-color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.galerie-dot.active {
    background-color: #C09736;
}

.galerie-dot:hover {
    background-color: #C09736;
}

/* Responsive Design */

@media (max-width: 768px) {
    .galerie-section {
        padding: 40px 0;
    }
    
    .galerie-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 40px;
    }
    
    .galerie-item {
        height: 250px;
    }
    
    .galerie-pagination {
        gap: 15px;
    }
    
    .galerie-prev,
    .galerie-next,
    .galerie-dot {
        width: 25px;
        height: 25px;
    }
}
