/* Sirius About Us & Our Boats — Frontend */

.sab-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.sab-content {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.sab-content p {
    margin-bottom: 20px;
}

.sab-content p:last-child {
    margin-bottom: 0;
}

/* Gallery grid */
.sab-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
    border-radius: 12px;
    overflow: hidden;
}

.sab-gallery-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

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

.sab-gallery-img:hover img {
    transform: scale(1.03);
    filter: brightness(0.95);
}

/* Lightbox — reuses same pattern as sirius-tours */
.sab-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 100000;
    align-items: center;
    justify-content: center;
}
.sab-lightbox.open { display: flex; }
.sab-lb-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity 0.2s;
}
.sab-lb-close,
.sab-lb-prev,
.sab-lb-next {
    position: absolute;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    backdrop-filter: blur(4px);
    font-size: 28px;
}
.sab-lb-close:hover,
.sab-lb-prev:hover,
.sab-lb-next:hover { background: rgba(255,255,255,0.3); }
.sab-lb-close { top: 16px; right: 16px; }
.sab-lb-prev { left: 16px; top: 50%; transform: translateY(-50%); font-size: 0; }
.sab-lb-next { right: 16px; top: 50%; transform: translateY(-50%); font-size: 0; }
.sab-lb-prev::after,
.sab-lb-next::after {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2.5px solid #fff;
    border-right: 2.5px solid #fff;
}
.sab-lb-prev::after { transform: rotate(-135deg); margin-left: 4px; }
.sab-lb-next::after { transform: rotate(45deg); margin-right: 4px; }
.sab-lb-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .sab-gallery {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 4px;
    }
    .sab-content {
        font-size: 15px;
    }
}
