/* 
 * RESPONSIVE ADJUSTMENTS SPECIFIČNE ZA SAJT
 */

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .jumbotron {
        padding: 20px !important;
    }
    
    .jumbotron h1 {
        font-size: 1.8rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .ad-price {
        font-size: 1.2rem;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .col-md-4 {
        flex: 0 0 auto;
        width: 33.333%;
    }
    
    .chat-window {
        width: 300px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /* Stilovi za desktop */
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body.dark-mode {
        background-color: #121212 !important;
        color: #e0e0e0;
    }
    
    body.dark-mode .card {
        background-color: #1e1e1e;
        color: #e0e0e0;
    }
    
    body.dark-mode .form-control {
        background-color: #2d2d2d;
        color: #e0e0e0;
        border-color: #444;
    }
}