/* ========================================
   FULL WIDTH PROFESSIONAL DESIGN
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a2e;
    --primary-light: #2d2a4a;
    --accent: #c77d6e;
    --accent-light: #f5edea;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a5a;
    --text-light: #8a8a9a;
    --bg-light: #f8f6f4;
    --bg-white: #ffffff;
    --border: #e8e4e0;
    --shadow: 0 2px 20px rgba(26, 26, 46, 0.06);
    --shadow-hover: 0 8px 40px rgba(26, 26, 46, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---------- HEADER ---------- */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-cta {
    background: var(--accent);
    color: white !important;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary) !important;
    color: white !important;
}

.nav-home {
    background: var(--accent-light);
    color: var(--accent) !important;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-home:hover {
    background: var(--accent);
    color: white !important;
}

/* ---------- GLAVNA VSEBINA ---------- */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- HERO ---------- */
.hero {
    padding: 60px 0 50px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: 50px;
}

.hero .tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    background: var(--accent-light);
    padding: 4px 18px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.hero h1 {
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.hero .subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 18px;
}

.hero .description {
    font-size: 1.05rem;
    color: var(--text-medium);
    max-width: 680px;
    margin: 0 auto 32px auto;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 14px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(26, 26, 46, 0.15);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 14px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ---------- SEKCJE ---------- */
section {
    margin-bottom: 56px;
}

.section-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    text-align: center;
    margin-bottom: 6px;
}

section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 36px auto;
}

/* ---------- O INŠTRUKTORJU ---------- */
.about-section {
    background: var(--accent-light);
    border-radius: var(--radius);
    padding: 48px 50px;
    margin: 40px 0;
}

.about-grid {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.about-image {
    flex: 0 0 160px;
}

.about-image img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(199, 125, 110, 0.2);
}

.about-image .placeholder {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 300;
    color: white;
    box-shadow: 0 4px 16px rgba(199, 125, 110, 0.2);
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--primary);
}

.about-text .title {
    color: var(--accent);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.about-text p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 10px;
}

.highlights {
    list-style: none;
    padding: 0;
    margin-top: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
}

.highlights li {
    color: var(--text-medium);
    font-size: 0.9rem;
    padding: 4px 0;
}

/* ---------- PROGRAMI ---------- */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.program-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 32px 30px 28px 30px;
    transition: var(--transition);
}

.program-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.program-card .program-image {
    width: 100%;
    height: 180px;
    border-radius: var(--radius);
    background: var(--accent-light);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    overflow: hidden;
}

.program-card .program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.program-card .program-desc {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.program-card .program-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.program-card .meta-item {
    font-size: 0.8rem;
    color: var(--text-light);
    background: var(--accent-light);
    padding: 3px 14px;
    border-radius: 20px;
}

.program-card .program-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.program-card .program-features li {
    padding: 5px 0;
    color: var(--text-medium);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.program-card .program-features li:last-child {
    border-bottom: none;
}

.btn-text {
    display: inline-block;
    color: var(--accent);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn-text:hover {
    color: var(--primary);
}

/* ---------- CENIK ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.pricing-card .pricing-header {
    padding: 28px 24px 20px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    background: var(--accent-light);
}

.pricing-card .pricing-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2px;
}

.pricing-card .pricing-header .price {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary);
}

.pricing-card .pricing-header .price-detail {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 2px;
}

.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: 0 4px 24px rgba(199, 125, 110, 0.08);
}

.popular-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 2px 18px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.pricing-features {
    list-style: none;
    padding: 20px 24px 12px 24px;
    margin: 0;
}

.pricing-features li {
    padding: 5px 0;
    color: var(--text-medium);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.btn-pricing {
    display: block;
    background: var(--accent);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
    margin: 8px 24px 24px 24px;
    transition: var(--transition);
}

.btn-pricing:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    background: var(--accent-light);
    border: 1px solid var(--border);
    padding: 40px 44px;
    border-radius: var(--radius);
    text-align: center;
    margin: 40px 0;
}

.cta-banner h2 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 6px;
}

.cta-banner p {
    color: var(--text-medium);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto 20px auto;
}

/* ---------- INFO NOTE ---------- */
.info-note {
    background: var(--accent-light);
    padding: 16px 24px;
    border-radius: var(--radius);
    margin: 20px 0;
}

.info-note p {
    color: var(--text-medium);
    margin: 4px 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.6);
    padding: 48px 24px 24px 24px;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr; 
    gap: 40px;
}

.footer h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin: 4px 0;
    line-height: 1.7;
}

.footer a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    line-height: 2;
    font-size: 0.9rem;
    display: block;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 24px;
    margin-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

.footer-bottom p {
    color: rgba(255,255,255,0.3);
    margin: 3px 0;
}

/* ---------- BACK LINK ---------- */
.back-link {
    margin-bottom: 20px;
}

.back-link a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

.back-link a:hover {
    color: var(--accent);
}

/* ---------- PROGRAM HEADER ---------- */
.program-header {
    text-align: center;
    padding: 12px 0 28px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 36px;
}

.program-header h1 {
    color: var(--primary);
    margin-bottom: 4px;
}

.program-header .subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ---------- INFO GRID ---------- */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--accent-light);
    padding: 14px 18px;
    border-radius: var(--radius);
}

.info-item strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.info-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.8rem;
}

.info-text p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ---------- PAYMENT NOTE ---------- */
.payment-note {
    background: var(--accent-light);
    border-left: 3px solid var(--accent);
    padding: 16px 20px;
    border-radius: var(--radius);
    margin: 20px 0;
}

.payment-note p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}

.payment-note strong {
    color: var(--primary);
}

/* ---------- TIMELINE ---------- */
.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px 24px;
    background: var(--accent-light);
    border-radius: var(--radius);
}

.timeline-number {
    flex: 0 0 36px;
    height: 36px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.timeline-content p {
    color: var(--text-medium);
    margin-bottom: 6px;
}

.timeline-content ul {
    padding-left: 20px;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ---------- TOPIC TAGS ---------- */
.topic-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.topic-tag {
    background: var(--bg-white);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-medium);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.topic-tag:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* ---------- LEVEL / METHOD GRID ---------- */
.level-grid, .method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin: 16px 0;
}

.level-box, .method-box {
    background: var(--accent-light);
    padding: 24px;
    border-radius: var(--radius);
}

.level-box h3, .method-box h3 {
    color: var(--primary);
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.level-box ul, .method-box ul {
    list-style: none;
    padding: 0;
    color: var(--text-medium);
    line-height: 1.8;
}

.level-box ul li, .method-box ul li {
    padding: 3px 0;
}

.method-box p {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin: 4px 0;
}

.method-box .method-note {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

/* ---------- MATERIAL LIST ---------- */
.material-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.material-list li {
    padding: 8px 0;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.material-list li:last-child {
    border-bottom: none;
}

/* ---------- WHO BOX ---------- */
.who-box {
    background: var(--accent-light);
    padding: 24px 28px;
    border-radius: var(--radius);
    margin: 12px 0;
}

.who-box p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 8px;
}

.who-box ul {
    list-style: none;
    padding: 0;
    color: var(--text-medium);
    line-height: 2;
}

.who-box ul li {
    padding-left: 20px;
    position: relative;
}

.who-box ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ---------- PROGRAM CTA ---------- */
.program-cta {
    text-align: center;
    padding: 32px 0 8px 0;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}

/* ---------- PRIJAVNI OBRAZEC ---------- */
.prijava-container {
    max-width: 620px;
    margin: 0 auto;
}

.prijava-container h1 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 4px;
}

.prijava-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-white);
    font-family: inherit;
}

.form-control:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(199, 125, 110, 0.1);
}

.form-hint {
    display: block;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 4px;
}

.error-message {
    color: #d9534f;
    font-size: 0.8rem;
    display: block;
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gdpr-consent {
    margin: 24px 0;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.gdpr-checkbox {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--accent);
}

.gdpr-text {
    margin-top: 6px;
    color: var(--text-light);
    font-size: 0.8rem;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 32px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(26, 26, 46, 0.12);
}

.alert {
    padding: 12px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.alert-success {
    background: #e6f4ea;
    color: #1a5a3a;
    border: 1px solid #c8e6d9;
}

.alert-danger {
    background: #fce8e6;
    color: #8a2a22;
    border: 1px solid #f5d0cc;
}

/* ---------- COOKIE BANNER - GDPR SKLADEN ---------- */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 24px;
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-content {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-text h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.cookie-text p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-text a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-options {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.cookie-option input[type="checkbox"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-buttons button {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-accept {
    background: var(--accent);
    color: white;
}

.cookie-accept:hover {
    background: #b06b5a;
    transform: translateY(-2px);
}

.cookie-accept-all {
    background: white;
    color: var(--primary);
}

.cookie-accept-all:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.cookie-deny {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.3) !important;
}

.cookie-deny:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-links {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .about-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .highlights {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .programs-grid, .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .about-section {
        padding: 24px 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .level-grid, .method-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 18px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-banner {
        padding: 28px 20px;
    }
    
    .cta-banner h2 {
        font-size: 1.5rem;
    }
    
    #cookie-banner {
        padding: 16px;
    }
    
    .cookie-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 32px;
        font-size: 0.9rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        flex: 0 0 120px;
    }
    
    .about-image img, .about-image .placeholder {
        width: 120px;
        height: 120px;
        font-size: 36px;
    }
    
    .pricing-card .pricing-header .price {
        font-size: 2rem;
    }
    
    .topic-tag {
        font-size: 0.7rem;
        padding: 3px 12px;
    }
}
/* ========================================
   POPRAVKI ZA MATURA.HTML IN NPZ.HTML NA MOBILNEM
   ======================================== */

@media (max-width: 768px) {
    
    /* ---- 1. PRISILI VSE 2-STOLPČNE GRIDE V EN STOLPEC ---- */
    .main-content section > div[style*="grid-template-columns"],
    .main-content section div[style*="grid-template-columns: 1fr 1fr"],
    .main-content section div[style*="grid-template-columns: 1fr 1fr;"] {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    
    
    /* ---- 3. ODSTRANI FIKSNE ŠIRINE IN VIŠINE SLIK ---- */
    .main-content section div[style*="height"] {
        height: auto !important;
        min-height: 200px !important;
    }
    
    .main-content section img {
        width: 100% !important;
        height: auto !important;
        max-height: 300px !important;
        object-fit: cover !important;
    }
    
    /* ---- 4. BLOKI Z OZADJEM - PRAVILNI PADDING ---- */
    .main-content section > div[style*="background"],
    .main-content section div[style*="border-radius"] {
        padding: 20px 18px !important;
    }
    
    /* ---- 5. TIMELINE IN KARTICE ---- */
    .main-content section div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 16px !important;
    }
    
    /* ---- 6. GRID ZA INFO (4 stolpci -> 2) ---- */
    .main-content section div[style*="grid-template-columns: 1fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }
    
    /* ---- 7. SEZNAMI - PRAVILNI ODSTOPI ---- */
    .main-content section ul[style*="list-style: none"] li {
        padding-left: 20px !important;
        padding-right: 0 !important;
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    
    /* ---- 8. BESEDILO V BLOKIH - PRAVILNA VELIKOST ---- */
    .main-content section p[style*="font-size: 1.05rem"],
    .main-content section p[style*="font-size: 1.05rem;"] {
        font-size: 0.95rem !important;
        line-height: 1.8 !important;
    }
    
    /* ---- 9. NASLOVI V BLOKIH ---- */
    .main-content section h2[style*="font-size: 2rem"],
    .main-content section h2[style*="font-size: 2rem;"] {
        font-size: 1.5rem !important;
    }
    
    .main-content section h3[style*="font-size: 1.3rem"] {
        font-size: 1.1rem !important;
    }
    
    /* ---- 10. CTA BANNER ---- */
    .main-content section[style*="background: var(--primary)"] {
        padding: 32px 20px !important;
    }
    
    .main-content section[style*="background: var(--primary)"] h2 {
        font-size: 1.5rem !important;
        text-align: center !important;
    }
    
    .main-content section[style*="background: var(--primary)"] p {
        font-size: 0.95rem !important;
        text-align: center !important;
    }
    
    .main-content section[style*="background: var(--primary)"] a {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    /* ---- 11. ODSTOPI ZA SEKCIJE ---- */
    .main-content section {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    
    /* ---- 12. HERO ZA MATURO IN NPZ ---- */
    .hero[style*="padding: 40px 0 50px 0"] > div {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    .hero[style*="padding: 40px 0 50px 0"] h1 {
        font-size: 2rem !important;
        text-align: center !important;
    }
    
    .hero[style*="padding: 40px 0 50px 0"] .tag {
        display: inline-block !important;
    }
    
    .hero[style*="padding: 40px 0 50px 0"] > div > div:first-child {
        text-align: center !important;
    }
    
    .hero[style*="padding: 40px 0 50px 0"] p[style*="font-size: 1.05rem"],
    .hero[style*="padding: 40px 0 50px 0"] p[style*="font-size: 1.2rem"] {
        font-size: 0.95rem !important;
        text-align: center !important;
    }
    
    .hero[style*="padding: 40px 0 50px 0"] div[style*="display: flex"] {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .hero[style*="padding: 40px 0 50px 0"] div[style*="display: flex"] a {
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
    }
    
    /* ---- 13. SLIKA V HERO ---- */
    .hero[style*="padding: 40px 0 50px 0"] > div > div:last-child {
        height: 200px !important;
        min-height: 200px !important;
    }
}

/* ---- ZA ZELO MAJHNE ZASLONE ---- */
@media (max-width: 480px) {
    
    .main-content section > div[style*="grid-template-columns"],
    .main-content section div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .main-content section div[style*="grid-template-columns: 1fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    .main-content section h2 {
        font-size: 1.3rem !important;
    }
    
    .main-content section h3 {
        font-size: 1rem !important;
    }
    
    .main-content section p {
        font-size: 0.9rem !important;
    }
    
    .hero[style*="padding: 40px 0 50px 0"] h1 {
        font-size: 1.6rem !important;
    }
}
/* ========================================
   LEPO LOMLJENJE BESEDILA
   ======================================== */
.justify-text {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-spacing: -0.5px;
}
/* ========================================
   PRIKAŽI RAZLIČICO GLEDE NA NAPRAVO
   ======================================== */

/* Privzeto: pokaži desktop, skrij mobile */
.hero-mobile,
.gradivo-mobile {
    display: none !important;
}

.hero-desktop,
.gradivo-desktop {
    display: grid !important;
}

/* Na telefonu: skrij desktop, pokaži mobile */
@media (max-width: 768px) {
    .hero-desktop,
.gradivo-desktop {
        display: none !important;
    }
    
    .hero-mobile,
.gradivo-mobile {
        display: block !important;
    }
}
.hero {
    padding: 40px 0 50px 0;   /* privzeto za računalnik */
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .hero {
        padding-bottom: 50px !important;   /* BREZ paddinga na telefonu */
        margin-top: 20px !important;
        margin-bottom: 30px !important;
    }
}

/* ========================================
   KAJ SE NAUČIMO - PRIVZETO (računalnik)
   ======================================== */

.nauci-se-desktop {
    display: grid;
}

.nauci-se-mobile {
    display: none;
}

/* ========================================
   KAJ SE NAUČIMO - MOBILNI PRIKAZ
   ======================================== */

@media (max-width: 768px) {
    .nauci-se-desktop {
        display: none !important;
    }
    
    .nauci-se-mobile {
        display: block !important;
    }
}
/* ========================================
   OBVESTILO NA PRIJAVNEM OBRAZCU
   ======================================== */

.form-obvestilo {
    text-align: center;
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 24px;
    padding: 12px 20px;
    background: var(--accent-light);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
}

.form-obvestilo strong {
    color: black;
}
/* ========================================
   POPRAVEK ZA PROGRAM-IMAGE (INDEX)
   ======================================== */

.program-card .program-image {
    height: 200px;
    background: none;
    padding: 0;
    display: block;
}

.program-card .program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Na telefonu */
@media (max-width: 768px) {
    .program-card .program-image {
        height: 100px !important;
    }
}

@media (max-width: 480px) {
    .program-card .program-image {
        height: 100px !important;
    }
}

.gradivo-slika {
    width: 100%;
    aspect-ratio: 16 / 8;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow-hover);
}

.gradivo-slika img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cilj-slika {
    width: 100%;
    aspect-ratio: 16 / 8.5;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow-hover);
}

.cilj-slika img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

