

.usluga-hero {
    width: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usluga-hero-overlay {
    background: rgba(0, 0, 0, 0.45);
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.usluga-hero-title {
    color: #fff !important;
    font-size: 36px !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    max-width: 900px;
    line-height: 1.3 !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: inline-block !important;
}

.usluga-hero-title::after {
    content: '' !important;
    display: block !important;
    width: 110% !important;
    height: 3px !important;
    background: #FFD700 !important;
    margin: 12px 0 0 -5% !important;
    border-radius: 2px !important;
}

.usluga-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.usluga-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.usluga-content {
    flex: 1;
    min-width: 0;
}

.usluga-text {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.usluga-text p {
    margin-bottom: 1em;
}

.usluga-text ul,
.usluga-text ol {
    margin: 0 0 1em 1.5em;
    padding: 0;
}

.usluga-text li {
    margin-bottom: 0.4em;
}

.usluga-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.usluga-gallery-image {
    width: 220px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

.usluga-gallery-image:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.usluga-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
}

.usluga-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.usluga-sidebar-link {
    display: block;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #1a3c5e;
    text-decoration: none;
    background: #fff;
    border-bottom: 1px solid #eee;
    transition: background 0.2s, color 0.2s;
}

.usluga-sidebar-link:last-child {
    border-bottom: none;
}

.usluga-sidebar-link:hover {
    background: #f5f5f5;
    text-decoration: none;
    color: #1a3c5e;
}

.usluga-sidebar-link.active {
    background: #1a3c5e;
    color: #fff;
    font-weight: 600;
}

.usluga-sidebar-link.active:hover {
    background: #15334f;
    color: #fff;
}

.usluga-related {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.usluga-related-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1a3c5e !important;
    text-align: center !important;
    margin: 0 0 30px !important;
}

.usluga-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.usluga-related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.usluga-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
}

.usluga-related-card-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.usluga-related-card-info {
    padding: 16px;
}

.usluga-related-card-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1a3c5e !important;
    margin: 0 0 6px !important;
    line-height: 1.4 !important;
}

.usluga-related-card-date {
    font-size: 12px;
    color: #999;
}

.usluga-cta {
    margin-top: 50px;
    padding: 60px 20px;
    background: #1a3c5e;
    text-align: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.usluga-cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.usluga-cta-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 16px !important;
    line-height: 1.3 !important;
}

.usluga-cta-text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 28px;
}

.usluga-cta-text p {
    margin-bottom: 0.8em;
}

.usluga-cta-text p:last-child {
    margin-bottom: 0;
}

.usluga-cta-button {
    display: inline-block !important;
    background: #FFD700 !important;
    color: #1a3c5e !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 14px 40px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: background 0.2s, transform 0.2s;
    margin-top: 8px;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.usluga-cta-button:hover {
    background: #FFC700 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    text-decoration: none !important;
    color: #1a3c5e !important;
}

.usluga-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
}

.usluga-lightbox[aria-hidden="false"] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.usluga-lightbox .lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
}

.usluga-lightbox .lightbox-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
}

.usluga-lightbox .lightbox-image {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    user-select: none;
}

.usluga-lightbox .lightbox-close {
    position: fixed !important;
    top: 20px !important;
    right: 24px !important;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 0 !important;
    cursor: pointer !important;
    z-index: 2;
    padding: 4px 10px !important;
    min-height: 0 !important;
    min-width: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.usluga-lightbox .lightbox-close:hover {
    color: #ccc !important;
    background: transparent !important;
}

.usluga-lightbox .lightbox-prev,
.usluga-lightbox .lightbox-next {
    position: fixed !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: none !important;
    color: #fff !important;
    font-size: 0 !important;
    cursor: pointer !important;
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    z-index: 2;
    min-height: 0 !important;
    min-width: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.usluga-lightbox .lightbox-prev:hover,
.usluga-lightbox .lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

.usluga-lightbox .lightbox-prev {
    left: 20px !important;
}

.usluga-lightbox .lightbox-next {
    right: 20px !important;
}

.usluga-lightbox .lightbox-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    z-index: 2;
}

@media (max-width: 768px) {
    .usluga-hero {
        min-height: 200px;
    }

    .usluga-hero-overlay {
        min-height: 200px;
        padding: 30px 15px;
    }

    .usluga-hero-title {
        font-size: 24px !important;
        letter-spacing: 1px !important;
    }

    .usluga-page {
        padding: 30px 15px 40px;
    }

    .usluga-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .usluga-related-card-image img {
        height: 140px;
    }

    .usluga-cta {
        padding: 40px 15px;
    }

    .usluga-cta-title {
        font-size: 20px !important;
    }

    .usluga-cta-button {
        padding: 12px 28px !important;
        font-size: 14px !important;
        width: 100% !important;
        text-align: center !important;
    }

    .usluga-layout {
        flex-direction: column;
        gap: 30px;
    }

    .usluga-sidebar {
        width: 100%;
        position: static;
    }

    .usluga-gallery-image {
        width: 150px;
        height: 130px;
    }
}

@media (max-width: 480px) {
    .usluga-gallery-image {
        width: calc(50% - 6px);
        height: 110px;
    }

    .usluga-related-grid {
        grid-template-columns: 1fr;
    }
}
