/* ===== LEKCIJE INDEX ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Lora', 'Georgia', serif;
    background: linear-gradient(135deg, #065f46, #0f766e);
    min-height: 100vh;
    padding: 2rem;
    padding-top: 84px !important; /* 44px auth-bar + razmak */
}

.page-container { max-width: 1100px; margin: 0 auto; }

.breadcrumb {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.breadcrumb a { color: #fbbf24; text-decoration: none; }

.page-header {
    background: rgba(255,255,255,0.95);
    border-radius: 25px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
}
.page-header h1 { color: #065f46; font-size: 2.8rem; margin-bottom: 0.5rem; }
.page-header p { color: #6b7280; font-size: 1.2rem; }

.nivo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.nivo-card {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    background: white;
}
.nivo-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.nivo-cover {
    height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.nivo-1 { background: linear-gradient(135deg, #059669, #047857); }
.nivo-2 { background: linear-gradient(135deg, #f59e0b, #b45309); }
.nivo-3 { background: linear-gradient(135deg, #7c3aed, #4c1d95); }

.nivo-icon {
    font-size: 5rem;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.nivo-title-cover {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: white;
    margin-top: 0.8rem;
    z-index: 1;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.nivo-stars {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    z-index: 1;
}
.nivo-stars span { font-size: 1.4rem; }

.nivo-info { padding: 2rem; }
.nivo-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #065f46;
    margin-bottom: 0.8rem;
}
.nivo-desc {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.nivo-teme {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.tema-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #374151;
}
.tema-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.otvori-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s;
    font-family: 'Lora', serif;
}
.otvori-btn:hover { transform: scale(1.02); }

.btn-1 { background: linear-gradient(135deg, #059669, #047857); color: white; }
.btn-2 { background: linear-gradient(135deg, #f59e0b, #b45309); color: white; }
.btn-3 { background: linear-gradient(135deg, #7c3aed, #4c1d95); color: white; }

.pattern-bg {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 52%;
    height: 52%;
    opacity: 0.18;
    object-fit: contain;
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 900px) {
    .nivo-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 500px) {
    .nivo-grid { grid-template-columns: 1fr !important; }
}
