.o-gallery-header {
    background: var(--cPurple);
    padding: 4rem 0 3rem;
    text-align: center;
    color: var(--cWhite);
}

.btn-year {
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    background: var(--cWhite);
    color: var(--cPurple);
    border: 2px solid var(--cPurple);
    border-radius: 0.3rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-year:hover {
    background: var(--cPurple-light);
    color: var(--cWhite);
}

.btn-year.active {
    background: var(--cPurple);
    color: var(--cWhite);
}

.btn-year-lg {
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
}

.btn-download {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    background: var(--cGreen1);
    color: var(--cWhite);
    border: 2px solid var(--cGreen1);
    border-radius: 0.3rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-download:hover {
    background: var(--cGreen2);
    border-color: var(--cGreen2);
    color: var(--cWhite);
    text-decoration: none;
}

.btn-download-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

@media screen and (max-width: 991px) {
    .btn-year-lg {
        padding: 0.6rem 2rem;
        font-size: 1rem;
    }
    
    .btn-download-lg {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-image-wrapper:hover {
    transform: translateY(-5px);
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s;
    border-radius: 10%;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 2rem;
    box-sizing: border-box;
}

.modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.5rem;
}

.modal-close {
    position: absolute;
    top: -2.5rem;
    right: -2.5rem;
    width: 3rem;
    height: 3rem;
    background: var(--cWhite);
    color: var(--cPurple);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    z-index: 10000;
}

.modal-close:hover {
    background: var(--cPurple);
    color: var(--cWhite);
    transform: rotate(90deg);
}

@media screen and (max-width: 768px) {
    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--cPurple);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--cPurple);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev {
    left: 2rem;
}

.carousel-control-next {
    right: 2rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-size: 100% 100%;
    display: inline-block;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%238B3A8B'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%238B3A8B'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next:hover .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media screen and (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .carousel-control-prev {
        left: 0.5rem;
    }
    
    .carousel-control-next {
        right: 0.5rem;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.2rem;
        height: 1.2rem;
    }
}

