/* === OSNOVNE NASTAVITVE IN SPREMENLJIVKE === */
:root {
    --primary-color: #007BFF; /* Modra za poudarke in gumbe */
    --primary-hover: #0056b3;
    --secondary-color: #6c757d; /* Siva za manj pomembne gumbe */
    --background-color: #f8f9fa; /* Svetlo sivo ozadje */
    --surface-color: #ffffff; /* Bela barva za kartice */
    --text-color: #212529; /* Temno siva za besedilo */
    --light-text-color: #6c757d;
    --border-color: #dee2e6;
    --font-family: 'Poppins', sans-serif;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === GLAVA IN NAVIGACIJA === */
header {
    background-color: var(--surface-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* === GUMBI === */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--surface-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: #f1f7ff;
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

/* === HERO SEKCIJA === */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1497032628192-86f99079de7c?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* === SEKCIJA S PROJEKTI === */
.projects-section {
    padding: 80px 0;
}

.projects-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--surface-color);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content .category {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.card-content h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.card-content .author {
    color: var(--light-text-color);
    font-size: 14px;
    margin-bottom: 15px;
}

.card-content .description {
    margin-bottom: 20px;
    flex-grow: 1; /* Poskrbi, da gumb ostane na dnu */
}

.progress-bar {
    background-color: #e9ecef;
    border-radius: 20px;
    height: 8px;
    width: 100%;
    margin-bottom: 15px;
}

.progress {
    background-color: var(--primary-color);
    height: 100%;
    border-radius: 20px;
}

.stats {
    display: flex;
    justify-content: space-between;
    text-align: left;
    margin-bottom: 20px;
    font-size: 14px;
}

.stats strong {
    font-weight: 700;
}

.stats span {
    font-size: 12px;
    color: var(--light-text-color);
}

.full-width {
    width: 100%;
}

/* === SEKCIJA "KAKO DELUJE" === */
.how-it-works-section {
    background-color: var(--surface-color);
    padding: 80px 0;
}

.how-it-works-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.steps-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    text-align: center;
}

.step {
    max-width: 300px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* === NOGA === */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-about .logo {
    color: white;
    font-size: 28px;
}
.footer-about .logo span {
    color: var(--primary-color);
}
.footer-about p {
    max-width: 300px;
    margin-top: 15px;
    color: #bdc3c7;
}

.footer-links h4, .footer-contact h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: #bdc3c7;
    margin-bottom: 10px;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: #bdc3c7;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    text-align: center;
    padding: 20px 0;
}

/* === ODZIVNOST ZA MANJŠE ZASLONE === */
@media (max-width: 768px) {
    .nav-links, .nav-buttons {
        display: none; /* V resničnem projektu bi tukaj dodali "hamburger" meni */
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    .hero-content p {
        font-size: 18px;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-about p {
        margin: 15px auto 0;
    }
}