/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('../images/background_spartanac.png') no-repeat center center fixed;
    background-size: cover;
    color: #333;
    line-height: 1.6;
}

/* Glavni kontejner */
.program-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
}

/* Naslov */
.program-container h1 {
    font-size: 2.8rem;
    color: #2a7a62;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

/* Sekcije */
.program-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    max-width: 1200px;
    margin: 30px 0;
    padding: 40px 20px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 2px solid #2a7a62;
    gap: 40px;
}

.program-section.reverse {
    flex-direction: row-reverse;
}

.program-text {
    flex: 1;
}

.program-text h2 {
    font-size: 2rem;
    color: #2a7a62;
    margin-bottom: 20px;
}

.program-text p {
    font-size: 1.1rem;
    color: #444;
    font-weight: 500;
    margin-bottom: 20px;
}

.program-text ul.no-bullets {
    list-style: none;
    padding-left: 0;
}

.program-text li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Slike */
.program-image {
    flex: 1;
    text-align: center;
}

.program-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Dugme */
.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 28px;
    background: #2a7a62;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.3s ease;
    box-shadow: 0 2px 8px rgba(46, 139, 87, 0.3);
}

.btn:hover {
    background: #1d751d;
    box-shadow: 0 4px 12px rgba(46, 139, 87, 0.4);
}

.back-btn {
    text-align: center;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .program-section {
        flex-direction: column !important;
        padding: 30px 15px;
    }

    .program-image,
    .program-text {
        width: 100%;
    }

    .program-container h1 {
        font-size: 2rem;
    }

    .program-text h2 {
        font-size: 1.5rem;
    }
}
