:root {
    --olx-dark: #002f34;
    --olx-bg: #f2f4f5;
    --olx-white: #ffffff;
    --olx-price: #1c1c1c;
    --olx-gray-text: #7f9799;
    --olx-border: #ebedef;
    --olx-pill-bg: #eef1f2;
}

body {
    background-color: var(--olx-bg);
    font-family: 'Roboto', Arial, sans-serif;
    color: #1c1c1c;
    margin: 0; padding: 0;
    display: flex; flex-direction: column; min-height: 100vh; /* Za sticky footer */
}

/* NAVBAR */
.olx-navbar {
    background-color: var(--olx-dark);
    height: 60px;
    display: flex; align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.olx-logo { color: white; font-weight: 700; font-size: 24px; text-decoration: none; letter-spacing: -1px; }

.main-wrapper { margin-top: 20px; margin-bottom: 50px; flex: 1; }

/* KARTICE */
.olx-card {
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    margin-bottom: 16px;
    padding: 24px;
    border: 1px solid transparent;
}

/* NASLOV UNUTAR KARTICE */
.listing-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1c1c1c;
    line-height: 1.2;
}

/* SLIDER */
.carousel-item { height: 450px; overflow: hidden; border-radius: 4px; }
.carousel-item img {
    height: 100%; width: 100%; object-fit: cover; object-position: center; cursor: zoom-in;
}

/* META PODACI (TRAKA) */
.meta-pills-container {
    display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 0; margin-top: 16px;
}
.meta-pill {
    background-color: var(--olx-pill-bg);
    color: #4a4a4a; font-size: 13px; font-weight: 500;
    padding: 6px 12px; border-radius: 100px;
    display: flex; align-items: center; gap: 6px;
}
.meta-pill i { color: #7f9799; }

/* GRID BOXOVI (Glavne info) */
.grid-box-item {
    border: 1px solid var(--olx-border); border-radius: 4px;
    padding: 12px 16px; display: flex; align-items: center; height: 100%;
    background-color: white;
}
.grid-box-icon {
    font-size: 24px; color: #5d6d7e; margin-right: 15px; width: 30px; text-align: center;
}
.grid-box-content small { display: block; color: var(--olx-gray-text); font-size: 13px; margin-bottom: 2px; }
.grid-box-content strong { display: block; color: var(--olx-dark); font-size: 15px; font-weight: 600; }

/* OSOBINE & OPIS */
.section-title { font-size: 20px; font-weight: 500; margin-bottom: 20px; color: var(--olx-dark); border-bottom: 1px solid var(--olx-border); padding-bottom: 10px; }
.osobine-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--olx-border); align-items: center; }
.osobine-row:last-child { border-bottom: none; }
.osobine-label { color: #4a4a4a; font-size: 14px; }
.osobine-value { font-weight: 500; color: var(--olx-dark); font-size: 14px; }
.check-icon { color: #002f34; font-size: 16px; }

/* SIDEBAR */
.price-box { background: white; padding: 24px; border-radius: 4px; margin-bottom: 16px; }
.price-tag { font-size: 32px; font-weight: 700; color: var(--olx-price); display: block; margin-top: 5px; }

/* DUGMAD */
.btn-olx { background-color: var(--olx-dark); color: white; font-weight: 600; padding: 12px; border-radius: 4px; width: 100%; display: block; text-align: center; text-decoration: none; margin-bottom: 10px; }
.btn-olx:hover { background-color: #00454d; color: white; }
.btn-whatsapp { background-color: white; color: #25D366; border: 1px solid #25D366; font-weight: 600; padding: 12px; border-radius: 4px; width: 100%; display: block; text-align: center; text-decoration: none; }
.btn-whatsapp:hover { background-color: #f0fdf4; }

/* FOOTER */
.olx-footer {
    background-color: white;
    border-top: 1px solid #e1e1e1;
    padding-top: 40px;
    margin-top: auto;
}
.footer-heading {
    font-size: 12px;
    font-weight: 700;
    color: #90a4ae;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { text-decoration: none; color: #52616b; font-size: 14px; font-weight: 500; }
.footer-links a:hover { color: var(--olx-dark); }
.footer-bottom {
    border-top: 1px solid #f5f5f5;
    padding: 20px 0;
    margin-top: 30px;
    text-align: center;
    color: #90a4ae;
    font-size: 12px;
}

@media (max-width: 768px) {
    .carousel-item { height: 300px; }
    .listing-title { font-size: 18px; }
}