.gallery-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-nav-main {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.7;
    font-size: 1.5rem;
    z-index: 2;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav-main:hover {
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

.gallery-prev-main {
    margin-right: 1rem;
}

.gallery-next-main {
    margin-left: 1rem;
}

.gallery-image-container {
    flex: 1;
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 20px;
    transition: opacity 0.3s ease;
}

.gallery-nav:hover {
    opacity: 0.8;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
}

.gallery-main-image {
    width: 80% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
}

.gallery-modal-image {
    width: 80% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
} 