/* InWeb Vozila - #E8092E Tema */
:root {
    --primary-color: #1a1a1a;
    --accent-color: #E8092E;
    --text-dark: #333;
    --text-light: #999;
    --bg-light: #222;
    --white: #fff;
}

/* GRID LISTA */
.inweb-vehicle-grid { 
    display: grid; 
    gap: 30px; 
    margin: 5px 0; 
}

.inweb-grid-cols-1 { grid-template-columns: repeat(1,1fr); }
.inweb-grid-cols-2 { grid-template-columns: repeat(2,1fr); }
.inweb-grid-cols-3 { grid-template-columns: repeat(3,1fr); }
.inweb-grid-cols-4 { grid-template-columns: repeat(4,1fr); }

.vehicle-item { 
    text-align: center; 
    /* background: var(--bg-light);  */
    padding: 25px; 
    border-radius: 12px; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.4); 
    transition: all 0.3s ease; 
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
}
.vehicle-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}
.vehicle-item:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(232,9,46,0.25); 
    border-color: var(--accent-color);
}

.vehicle-thumb { 
    width: 100%; 
    height: 220px; 
    object-fit: cover; 
    border-radius: 12px; 
    margin-bottom: 18px; 
    border: 2px solid #444;
    transition: all 0.3s ease;
}
.vehicle-item:hover .vehicle-thumb {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.vehicle-item h3 { 
    margin: 0 0 12px 0; 
    font-size: 1.4em; 
    /* color: var(--white); */
}
.vehicle-item p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}
.vehicle-link { 
    display: inline-block; 
    margin-top: 15px; 
    padding: 14px 28px; 
    background: var(--bg-light); 
    color: var(--white); 
    text-decoration: none; 
    border-radius: 8px; 
    border: 2px solid #555; 
    transition: all 0.3s ease;
    font-weight: 500;
}
.vehicle-link:hover { 
    background: var(--accent-color); 
    border-color: var(--accent-color); 
    transform: translateY(-2px);
    color: var(--white);
}

/* SINGLE STRANICA SPECS */
.crbs-vehicle-specs { 
    margin: 40px 0; 
    padding: 35px; 
    background: var(--bg-light); 
    border-radius: 20px; 
    border-left: 8px solid var(--accent-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    position: relative;
}
.crbs-vehicle-specs::before {
    content: '🚗';
    position: absolute;
    top: -15px;
    left: 25px;
    background: var(--accent-color);
    color: white;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(232,9,46,0.4);
}
.crbs-vehicle-specs h4 { 
    margin: 0 0 30px 0; 
    color: var(--accent-color); 
    font-size: 1.6em;
    position: relative;
    z-index: 2;
}
.crbs-vehicle-specs > div { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 20px; 
}
.crbs-vehicle-specs > div > div { 
    background: #333; 
    padding: 20px; 
    border-radius: 12px; 
    border-right: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}
.crbs-vehicle-specs > div > div:hover {
    background: #444;
    transform: translateX(5px);
}
.crbs-vehicle-specs strong { 
    display: block; 
    color: var(--white); 
    font-size: 15px; 
    margin-bottom: 8px; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.crbs-vehicle-specs span { 
    color: var(--text-light); 
    font-size: 14px; 
}

/* DUGME NA SINGLE */
.single .vehicle-book-btn {
    display: block !important;
    margin: 35px auto 0 !important;
    font-size: 18px !important;
    padding: 20px 40px !important;
    max-width: 350px !important;
    box-shadow: 0 10px 30px rgba(232,9,46,0.4) !important;
}

.vehicle-book-btn { 
    display: inline-block; 
    padding: 18px 36px; 
    background: linear-gradient(135deg, var(--accent-color), #cc0726); 
    color: var(--white) !important; 
    font-size: 16px; 
    font-weight: 700; 
    text-decoration: none; 
    border-radius: 12px; 
    box-shadow: 0 8px 25px rgba(232,9,46,0.4); 
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1); 
    border: none;
    position: relative;
    overflow: hidden;
}
.vehicle-book-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}
.vehicle-book-btn:hover::before {
    left: 100%;
}
.vehicle-book-btn:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 18px 40px rgba(232,9,46,0.6); 
}

/* GRID DUGME */
.vehicle-item .vehicle-book-btn {
    margin-top: 20px;
    font-size: 15px;
    padding: 14px 28px;
    max-width: 100%;
}
/* GRID BUTTONS */
.vehicle-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

@media (max-width: 480px) {
    
}

/* SINGLE REZERVISI */
.single-post .vehicle-book-btn {
    display: block !important;
    margin: 40px auto 0 !important;
    font-size: 18px !important;
    padding: 22px 45px !important;
    max-width: 380px !important;
    box-shadow: 0 12px 35px rgba(232,9,46,0.5) !important;
    font-weight: 700 !important;
}

.post-content .vehicle-book-btn {
    display: inline-block !important;
    margin-top: 25px !important;
}
/* ARCHIVE & SINGLE */
.vehicles-archive, .single-vehicle {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header {
    text-align: center;
    margin: 60px 0 50px;
    color: var(--white);
}
.page-header h1 {
    font-size: 3em;
    margin: 0 0 15px;
    background: linear-gradient(135deg, var(--accent-color), #cc0726);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vehicle-hero {
    position: relative;
    margin-bottom: 50px;
}
.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.vehicle-title {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26,26,26,0.9);
    padding: 30px 40px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}
.vehicle-title h1 {
    color: var(--white);
    margin: 0 0 25px;
    font-size: 2.5em;
}
.hero-btn {
    font-size: 20px !important;
    padding: 20px 50px !important;
    box-shadow: 0 15px 40px rgba(232,9,46,0.5) !important;
}

.vehicle-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 50px;
}
.content-left {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
}
.content-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

/* VEHICLE SECTIONS */
.vehicle-section {
    margin: 60px 0;
}
.vehicle-section-header {
    border-left: 6px solid #E8092E;
    padding: 15px 25px;
    margin-bottom: 35px;
    background: linear-gradient(90deg, rgba(232,9,46,0.08), transparent);
    border-radius: 0 12px 12px 0;
}
.vehicle-section-header h2 {
    margin: 0 0 8px 0;
    font-size: 2em;
    color: #E8092E;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.vehicle-section-header p {
    margin: 0;
    color: #999;
    font-size: 1.1em;
}

/* Elementor kompatibilno */
.elementor-widget-container .vehicle-item {
    margin-bottom: 0 !important;
    /* background: #222 !important; */
}

.elementor-section .vehicle-book-btn {
    display: inline-block !important;
    margin: 20px auto !important;
}

.elementor-container .crbs-vehicle-specs {
    margin: 30px 0 !important;
}

/* FixTurbo overrides */
.single-vozila .entry-content,
.archive-vozila .entry-content {
    max-width: none !important;
}

/* ================================================
   SINGLE VOZILO
================================================ */
.single-vehicle {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* Hero */
.vehicle-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 50px;
    max-height: 500px;
}
.vehicle-hero .hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}
.vehicle-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 40px 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}
.vehicle-title-overlay h1 {
    color: #fff;
    font-size: 2.2em;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Layout */
.single-vehicle-wrap {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}
.single-vehicle .vehicle-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 50px;
}

.single-vehicle .vehicle-hero .hero-image {
    display: block;
    width: auto;
    height: 300px;
    max-height: 300px;
    object-fit: cover;
    margin: 15px auto;
}
.single-vehicle .vehicle-book-wrap .vehicle-book-btn{
    text-transform: uppercase;
}
/* Leva strana */
.single-content-left .vehicle-description {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
}

/* Desna strana - specs box */
.vehicle-specs-box {
    background: #f8f8f8;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    border: 1px solid #eee;
}
.vehicle-specs-box h3 {
    margin: 0 0 20px 0;
    font-size: 1.2em;
    color: #222;
    border-bottom: 2px solid #E8092E;
    padding-bottom: 12px;
}
.specs-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.specs-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95em;
}
.specs-list li:last-child {
    border-bottom: none;
}
.spec-label {
    color: #888;
    font-weight: 500;
}
.spec-value {
    color: #222;
    font-weight: 600;
}

/* Dugme */
.single-book-wrap {
    position: sticky;
    top: 100px;
}
.vehicle-book-btn.full-btn {
    display: block;
    text-align: center;
    width: 100%;
    padding: 18px;
    font-size: 1.1em;
    border-radius: 12px;
    box-sizing: border-box;
}
/* Glavni container za tekst (opciono ako želiš širinu i centriranje) */
.rent-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.rent-content.all-vehicals{    
    margin-top: 0 !important;
    max-width: 80%;
}

/* H1 naslov */
.rent-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

/* Paragraf ispod H1 */
.rent-content p {
    font-size: 17px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* H2 naslovi */
.rent-content h2 {
    font-size: 26px;
    margin-top: 35px;
    margin-bottom: 15px;
    position: relative;
    color: #111;
}

/* Linija ispod H2 (modern look) */
.rent-content h2::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #e63946; /* možeš promeniti boju */
    margin-top: 8px;
}

/* Lista */
.rent-content ul {
    padding-left: 20px !important;
    margin-bottom: 25px;
}

/* Stavke liste */
.rent-content ul li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #444;
    position: relative;
}

/* Custom bullet (lepši) */
.rent-content ul li::marker {
    color: #e63946;
}

/* CTA paragraf (poslednji) */
.rent-content p:last-child {
    font-weight: 600;
    color: #000;
    margin-top: 20px;
}

/* Hover efekat (mali detalj UX) */
.rent-content ul li:hover {
    color: #000;
    transform: translateX(3px);
    transition: 0.2s ease;
}
/* Slična vozila */
.similar-vehicles {
    padding: 60px 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.similar-vehicles h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: #1a1a1a;
}

.similar-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.similar-vehicle-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #fff;
}

.similar-vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.similar-vehicle-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.similar-vehicle-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.similar-vehicle-img.no-img {
    background: #f0f0f0;
}

.similar-vehicle-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.similar-vehicle-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
}

.similar-vehicle-price {
    font-size: 0.9rem;
    color: #e63946;
    font-weight: 600;
}

.similar-vehicle-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 16px;
    background: #e63946;
    color: #fff;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s ease;
}

.similar-vehicle-card:hover .similar-vehicle-btn {
    background: #c1121f;
}

/* Responsive */
@media (max-width: 1024px) {
    .similar-vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .similar-vehicles-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .inweb-grid-cols-3, .inweb-grid-cols-4 { grid-template-columns: repeat(2,1fr); }

    .vehicle-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .vehicle-link, .vehicle-book-btn {
        width: 100%;
        text-align: center;
    }
    .single-vehicle-wrap {
        grid-template-columns: 1fr;
    }
    .vehicle-title-overlay {
        flex-direction: column;
        align-items: flex-start;
    }
    .single-book-wrap {
        position: static;
    }
    .vehicle-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .vehicle-hero {
        margin-bottom: 30px;
    }
    .hero-image {
        box-shadow: none;
        height: 350px;
    }
    .vehicle-title {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 20px;
    }
    .rent-content.all-vehicals {
        max-width: 100%;
    }
    .rent-content h1 {
        font-size: 30px;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .inweb-grid-cols-2, .inweb-grid-cols-3, .inweb-grid-cols-4 { grid-template-columns: repeat(1,1fr); }
}
