/* Carousel styles */
.carrousel {
    position: relative;
    max-width: 600px;
    margin: 0 auto 2em auto;
    overflow: hidden;
    background: #222;
    border-radius: 8px;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(.77,0,.18,1);
    will-change: transform;
}
.gallery-item {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px 8px 0 0;
}
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 2em;
    padding: 0 12px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    transition: background 0.2s;
}
.carousel-nav:hover {
    background: rgba(0,0,0,0.8);
}
.carousel-nav.prev { left: 10px; }
.carousel-nav.next { right: 10px; }
.carousel-dots {
    text-align: center;
    margin: 12px 0 8px 0;
}
.carousel-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 4px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}
.carousel-dot.active {
    background: #ff6600;
}
@media (max-width: 700px) {
    .carrousel { max-width: 100%; }
    .carousel-nav { font-size: 1.5em; }
}
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 2em;
}
.gallery-thumb img {
    border-radius: 6px;
    box-shadow: 0 2px 8px #0002;
    transition: transform 0.2s;
}
.gallery-thumb img:hover {
    transform: scale(1.08);
}

/* Lightbox navigation responsive */
#lightbox button {
    font-size: 1.4em;
    width: 38px;
    height: 38px;
    line-height: 38px;
    border-radius: 50%;
    background: rgba(30,30,30,0.7);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
#lightbox button:hover {
    background: rgba(80,80,80,0.9);
}
#lightbox #lightbox-prev, #lightbox #lightbox-next {
    top: 50%;
    transform: translateY(-50%);
}
#lightbox #lightbox-close {
    top: 24px;
    right: 24px;
    font-size: 1.2em;
}

@media (max-width: 600px) {
    #lightbox button {
        font-size: 1em;
        width: 28px;
        height: 28px;
        line-height: 28px;
    }
    #lightbox #lightbox-close {
        top: 10px;
        right: 10px;
    }
}