/* MOTO ZONA - FINALNI KONSOLIDOVANI CSS 
   Autor: Milosav Spasojević
   Verzija: 1.4 - Full Lightbox Center & Border Fix
*/

/* 1. OSNOVNA PODEŠAVANJA */
body { 
    background-color: #0c0c0c !important; 
    color: white !important; 
    font-family: 'Roboto', sans-serif; 
    margin: 0;
    padding: 0;
}

.Oswald { font-family: 'Oswald', sans-serif !important; }

/* 2. NAVIGACIJA I LOGO */
.custom-nav-wide { 
    background-color: rgba(0, 0, 0, 0.95) !important; 
    border-bottom: 2px solid #EF7800 !important;
    backdrop-filter: blur(10px);
}

a.navbar-brand.Oswald {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}

a.navbar-brand.Oswald span.text-orange {
    color: #EF7800 !important;
    display: inline-block;
}

/* 3. GRID I KARTICE PROIZVODA */
.category-card {
    background: #151515 !important;
    border: 1px solid #222 !important;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    border-color: #EF7800 !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(239, 120, 0, 0.2);
}

.product-img-fix {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    display: block;
    border-bottom: 1px solid #333;
}

/* 4. DUGMAD I TEKST */
.text-orange { color: #EF7800 !important; }

.btn-moto {
    background-color: #EF7800 !important;
    color: white !important;
    border-radius: 0 !important;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    padding: 10px;
    transition: 0.3s;
    border: none;
    display: block;
    width: 100%;
}

.btn-moto:hover {
    background-color: #d66b00 !important;
}

.btn-brand-back {
    background-color: transparent !important;
    color: #EF7800 !important;
    border: 2px solid #EF7800 !important;
    border-radius: 0 !important;
    font-weight: 700;
    transition: 0.3s;
}

/* 5. PAGINACIJA */
.pagination-dark .page-link {
    background-color: #1a1a1a !important;
    color: #fff !important;
    border: 1px solid #333 !important;
    font-family: 'Oswald', sans-serif;
    margin: 0 3px;
}

.pagination-dark .page-item.active .page-link {
    background-color: #EF7800 !important;
    border-color: #EF7800 !important;
}

/* 6. LIGHTBOX BRUTALNI FIX - CENTRIRANJE I RAM */
/* Ovde rešavamo bežanje slike u desno i dole */

.lb-outerContainer {
    background-color: #000000 !important;
    border: 2px solid #EF7800 !important; /* Narandžasti ram */
    border-radius: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Poništavamo fabričkih 10px paddinga koji pomeraju sliku */
.lb-container {
    padding: 0 !important;
    border: none !important;
}

/* Sama slika - mora biti bez margina */
.lb-image {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

/* Donji deo sa tekstom (Image 1 of 6...) */
.lb-dataContainer {
    padding-top: 15px !important;
    background-color: #0c0c0c !important;
    width: 100% !important;
}

.lb-caption {
    color: #EF7800 !important;
    font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase;
    font-weight: bold;
}

.lb-number {
    color: #888 !important;
    font-size: 12px !important;
}

/* Dugme X za zatvaranje */
.lb-close {
    opacity: 1 !important;
    filter: sepia(100%) saturate(1000%) hue-rotate(10deg);
}

/* 7. RESPONSIVE POPRAVKE */
@media (max-width: 768px) {
    .product-img-fix { height: 180px !important; }
}

.btn-outline-orange:hover {
    background-color: #EF7800 !important;
    color: #000 !important;
}