.vozila-container {
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.vozila-container h1 {
    font-size: 2.2rem;
    margin-bottom: 45px;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-bar {
    margin-bottom: 30px;
    text-align: center;
}

.filter-bar select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: 0.3s;
}

.filter-bar select:hover {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,0.25);
}

/* ===== FILTER BAR ===== */
.filter-bar {
    background: #fff;
    padding: 18px 30px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    margin-bottom: 35px;
}

.filter-form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-left, .filter-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-left label,
.filter-right label {
    font-weight: 600;
    color: #222;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-left label i,
.filter-right label i {
    color: #007bff;
}

.filter-left select,
.filter-right select {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.filter-left select:hover,
.filter-right select:hover,
.filter-left select:focus,
.filter-right select:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,0.25);
    outline: none;
}

/* MOBILNI PRIKAZ */
@media (max-width: 768px) {
    .filter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .filter-left, .filter-right {
        justify-content: space-between;
    }

    .filter-left select,
    .filter-right select {
        width: 100%;
    }
}

@media (max-width: 768px) {
  .hero-content p {
    font-size: 18px; /* ili npr. 14px ako želiš tačno */
    line-height: 1.4;
  }
}

/* GRID */
.vozila-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* CARD */
.vozilo-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.vozilo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* IMAGE */
.image-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vozilo-card:hover .image-wrap img {
    transform: scale(1.05);
}

.shine {
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
}

.vozilo-card:hover .shine {
    animation: shine 1.2s forwards;
}

@keyframes shine {
    from { left: -75%; }
    to { left: 125%; }
}

/* INFO */
.vozilo-info {
    flex: 1;
    padding: 20px 25px;
    text-align: left;
}

.vozilo-info h2 {
    font-family: Poppins, sans-serif;
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: #111;
}

.vozilo-info p {
    font-family: Poppins, sans-serif;
    margin: 4px 0;
    color: #555;
    font-size: 0.95rem;
}

.vozilo-info .price {
    font-family: Poppins, sans-serif;
    font-weight: 700;
    color: #007bff;
    margin-top: 10px;
    font-size: 1.05rem;
}

/* NOTE */
.note {
    margin-top: 12px;
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #333;
    font-style: italic;
    line-height: 1.4;
}

/* DUGME KOJE IDE DO IVICA */
.btn-select {
    font-family: Poppins, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 16px 0;
    font-size: 1rem;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 16px 16px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-select:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .vozila-container {
        margin: 40px auto;
    }

    .vozilo-info h2 {
        font-size: 1.1rem;
    }

    .btn-select {
        font-size: 0.95rem;
        padding: 14px 0;
        border-radius: 0 0 12px 12px;
    }
}

/* NO VEHICLES */
.no-vehicles {
    text-align: center;
    font-size: 1.1rem;
    color: #777;
}
