/**
 * Custom CSS for Reference autobazarů
 */

:root {
    --primary-color: #0d6efd;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
}

.card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.jumbotron {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.jumbotron .lead {
    color: rgba(255,255,255,0.9);
}

.affiliate-link {
    margin: 0.5rem 0;
}

.bi {
    vertical-align: middle;
}

/* Rating stars */
.bi-star-fill {
    color: var(--warning-color);
}

/* Rating input (user reviews) */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.25rem;
}

.rating-input input {
    display: none;
}

.rating-input label {
    color: #cfd4da;
    cursor: pointer;
    font-size: 1.25rem;
}

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: var(--warning-color);
}

/* Badge colors */
.badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

/* Footer */
footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .jumbotron {
        padding: 2rem 1rem;
    }

    .jumbotron h1 {
        font-size: 2rem;
    }
}
