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

:root {
    --red: #C8102E;
    --red-dark: #8B0000;
    --red-light: #E63946;
    --red-bg: #FFF5F5;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-500: #9E9E9E;
    --gray-700: #616161;
    --gray-900: #212121;
    --dark: #1A1A1A;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --radius: 12px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVIGATION */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 15px 0;
}

#navbar.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 8px 0;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--white);
    transition: var(--transition);
}

.nav-logo img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

#navbar.scrolled .nav-logo {
    color: var(--red);
}

#navbar.scrolled .nav-logo img {
    height: 40px;
}

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

.nav-links a {
    color: rgba(255,255,255,0.9);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.nav-links a:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

#navbar.scrolled .nav-links a {
    color: var(--gray-700);
}

#navbar.scrolled .nav-links a:hover {
    color: var(--red);
    background: var(--red-bg);
}

#navbar.scrolled .nav-links a.active {
    color: var(--red);
    background: var(--red-bg);
}

.nav-emergency {
    background: var(--red) !important;
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    animation: pulse-btn 2s infinite;
}

#navbar.scrolled .nav-emergency {
    background: var(--red) !important;
    color: var(--white) !important;
}

@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0.4); }
    50% { box-shadow: 0 0 0 10px rgba(200,16,46,0); }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

#navbar.scrolled .hamburger {
    background: var(--gray-900);
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 107, 53, 0.6);
    border-radius: 50%;
    animation: float-up linear infinite;
}

@keyframes float-up {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    max-width: 900px;
}

.hero-logo {
    margin-top: 50px;
    margin-bottom: 20px;
}

.hero-logo img {
    width: 120px;
    margin: 0 auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.4));
    transition: var(--transition);
}

.hero h1 {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    color: var(--white);
    text-shadow: 0 4px 30px rgba(200,16,46,0.5);
    margin-bottom: 15px;
    letter-spacing: 10px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255,255,255,0.7);
    margin-bottom: 50px;
    font-style: italic;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.stat {
    text-align: center;
    padding: 25px 30px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
    min-width: 160px;
    transition: var(--transition);
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(200,16,46,0.2);
    border-color: rgba(200,16,46,0.4);
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    display: inline;
}

.stat-plus {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--red-light);
    display: inline;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

.hero-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero-cta i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* SECTIONS */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--red);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--gray-900);
    margin-bottom: 15px;
}

.section-header h3 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--gray-900);
    margin-bottom: 15px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--red);
    margin: 0 auto;
    border-radius: 2px;
}

/* =========================
   NEWS SECTION 
   ========================= */

#news {
    padding: 70px 0 60px 0;           /* manjše od 100px za konsistenco */
    background: var(--white);
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#news .section-header {
    text-align: center;
    margin-bottom: 40px;              /* zmanjšano za manj luftu */
}

#news .section-tag {
    display: inline-block;
    color: var(--red);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

#news .section-line {
    width: 60px;
    height: 4px;
    background: var(--red);
    margin: 0 auto;
    border-radius: 2px;
}

/* Kartica novice */
.news-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;                 /* pomembno za lepše robove */
    transition: var(--transition);
}

.news-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

/* Slika novice - POPRAVLJENO ZA TELEFON */
.news-card img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: var(--radius);
    object-fit: contain;              /* ← KLJUČNO: prepreči zožanje */
    max-width: 100%;
    transition: var(--transition);
}

.news-card:hover img {
    transform: scale(1.02);
}

/* Besedilo novice */
.news-text {
    padding: 25px 30px 10px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-700);
    text-align: center;                 /* bolj berljivo */
}

.news-text strong {
    color: rgba(200,16,46,1);
    font-weight: 700;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {
    #news {
        padding: 55px 0 45px 0;
    }
    
    .news-card {
        padding: 0;                   /* padding premaknjen na .news-text */
    }
    
    .news-text {
        padding: 20px 22px 15px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .news-text {
        padding: 18px 20px 12px;
        font-size: 0.95rem;
    }
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray-700);
    font-size: 1.05rem;
}

.about-text strong {
    color: var(--red);
}

.feature {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: var(--radius);
    transition: var(--transition);
    margin-bottom: 10px;
}

.feature:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--red-bg);
    color: var(--red);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.feature h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--gray-900);
}

.feature p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* EMERGENCY */
.emergency-section {
    background: linear-gradient(rgba(0, 0, 0, 0.9) 100%);
    padding: 80px 0;
}

.emergency-banner {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(10px);
}

.emergency-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.emergency-icon-large {
    width: 80px;
    height: 80px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    animation: pulse-btn 2s infinite;
    flex-shrink: 0;
}

.emergency-header h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.emergency-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
}

.emergency-number {
    color: var(--red-light) !important;
    font-weight: 900;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.emergency-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.emergency-item {
    position: relative;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition);
}

.emergency-item:hover {
    background: rgba(200,16,46,0.15);
    border-color: rgba(200,16,46,0.3);
    transform: translateY(-3px);
}

.emergency-item-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.emergency-item-icon {
    font-size: 1.8rem;
    color: var(--red-light);
    margin-bottom: 10px;
}

.emergency-item h3 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.emergency-item p {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.emergency-footer {
    text-align: center;
    padding: 20px;
    background: rgba(200,16,46,0.15);
    border: 1px solid rgba(200,16,46,0.3);
    border-radius: var(--radius);
    color: rgba(255,255,255,0.9);
    font-weight: 600;
}

.emergency-footer i {
    color: var(--red-light);
    margin-right: 8px;
}

/* LEADERSHIP */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.leader-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red);
}

.leader-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(200,16,46,0.3);
    background: linear-gradient(135deg, var(--red), var(--red-light));
}

.leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.commander-avatar {
    background: linear-gradient(135deg, var(--red-dark), var(--red));
}

.leader-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.leader-role {
    display: inline-block;
    background: var(--red-bg);
    color: var(--red);
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
}

.leader-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* TIMELINE / HISTORY */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--red), var(--red-light));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -38px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--red);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--red);
    z-index: 1;
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--red);
}

.timeline-year {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.timeline-content p {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* VEHICLES */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vehicle-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.vehicle-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: none;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.08);
}

.vehicle-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    background: rgba(0,0,0,0.3);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.vehicle-info {
    padding: 25px;
}

.vehicle-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--gray-900);
}

.vehicle-divider {
    height: 2px;
    background: var(--gray-200);
    margin: 10px 0 15px;
}

.vehicle-description {
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* ====================== SKUPNI SECTION ====================== */
.section {
    padding-top: 45px;
    padding-bottom: 35px;
}

.section-header {
    margin-top: 30px;
    margin-bottom: 50px;
}

.tight-header {
    margin-bottom: 50px;
}

/* ====================== GALLERY ====================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 16px;
    margin-bottom: 50px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-btn {
    display: none;
    margin: 20px auto 80px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: rgba(200,16,46,1);
    color: #fff;
    font-size: 16px;
    transition: 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.gallery-btn:hover {
    background: rgba(160, 12, 38, 1);
    transform: scale(1.05);
}

/* ====================== UPORABNE POVEZAVE ====================== */
.sponsors-container {
    padding-top: 40px;
    border-top: 2px solid var(--gray-200);   /* ← VRNJENA SIVA ČRTA */
    padding-bottom: 10px;
}

#links {
    padding-top: 0;        /* ker imamo border-top v .sponsors-container */
    padding-bottom: 20px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 18px;
}

.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 25px 15px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.sponsor-item:hover {
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.sponsor-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.sponsor-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.sponsor-logo span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* ====================== PODPORA ====================== */
#support {
    padding-top: 20px;
    padding-bottom: 50px;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;        /* dva stolpca na računalniku */
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* Na telefonih (manj kot 768px) gre en pod drugega */
@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;        /* en stolpec */
        gap: 25px;
    }
    
    .support-bank,
    .support-qr {
        max-width: 100%;
    }
}

.support-bank,
.support-qr {
    padding: 25px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
}

.support-bank:hover,
.support-qr:hover {
    border-color: var(--red);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.support-bank h3,
.support-qr h3 {
    color: rgba(200, 16, 46, 1);
    margin-bottom: 15px;
    font-size: 1.45rem;
}

.support-qr img {
    max-width: 200px;
    margin: 15px auto 0;
    display: block;
}

/* MAP & WEATHER */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid var(--gray-200);
    margin-bottom: 20px;
}

.arso-widget iframe {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
    height: 185px;
    border: 0;
}

.weather-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* LIGHTBOX */
/* =========================
   LIGHTBOX – FULL-SCREEN / LARGE SCREEN
   ========================= */

/* Osnovni lightbox (ohrani obstoječe) */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--white, #fff);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition, all 0.3s ease);
    line-height: 1;
    z-index: 2;
}

.lightbox-close:hover {
    color: var(--red, #C8102E);
    transform: rotate(90deg);
}

/* Vsebina – največja možna velikost slike */
.lightbox-content {
    max-width: 95vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius, 12px);
    overflow: hidden;
}

/* Slika v lightboxu – prilagodi se zaslonu */
.lightbox-content img {
    display: block;
    max-width: 95vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain; /* ohrani proporce, ne odreže */
    border-radius: var(--radius, 12px);
}

/* Naslov slike */
.lightbox-title {
    color: var(--white, #fff);
    margin-top: 20px;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    max-width: 90vw;
}

/* Responsive – še večji na manjših zaslonih, a še vedno berljivo */
@media (max-width: 1024px) {
    .lightbox-content img,
    .lightbox-content {
        max-width: 97vw;
        max-height: 82vh;
    }
}

@media (max-width: 768px) {
    .lightbox { padding: 20px; }
    .lightbox-content img,
    .lightbox-content {
        max-width: 98vw;
        max-height: 78vh;
    }
    .lightbox-title { font-size: 1rem; }
}

@media (max-width: 480px) {
    .lightbox-close { font-size: 2.5rem; top: 10px; right: 20px; }
    .lightbox-content img,
    .lightbox-content {
        max-width: 99vw;
        max-height: 75vh;
    }
}

/* FOOTER */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    max-width: 180px;
    display: block;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-links-section h3, .footer-social-section h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links-section ul {
    list-style: none;
}

.footer-links-section li {
    margin-bottom: 10px;
}

.footer-links-section a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links-section a:hover {
    color: var(--red-light);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--red);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    font-size: 0.85rem;
}

.footer-slogan {
    margin-top: 8px;
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
}

/* SCROLL TO TOP */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
}

/* FADE-IN ANIMATION */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .leadership-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
    .vehicles-grid { grid-template-columns: repeat(2, 1fr); }
    .emergency-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .sponsors-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        gap: 5px;
    }
    .nav-links.active { right: 0; }
    .nav-links a {
        color: var(--gray-700) !important;
        padding: 12px 16px !important;
        width: 100%;
        display: block;
    }
    .nav-links a:hover { background: var(--red-bg) !important; color: var(--red) !important; }
    .nav-emergency { text-align: center; margin-top: 10px; }
    .hero-stats { gap: 15px; }
    .stat { min-width: 130px; padding: 20px; }
    .stat-number { font-size: 2.2rem; }
    .emergency-banner { padding: 30px 20px; }
    .emergency-grid { grid-template-columns: 1fr; gap: 15px; }
    .emergency-header { flex-direction: column; text-align: center; }
    .leadership-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .vehicles-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .sponsors-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline { padding-left: 40px; }
    .timeline::before { left: 15px; }
    .timeline-marker { left: -33px; }
    .timeline-content { padding: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .section { padding: 60px 0; }
}

@media (max-width: 480px) {
    .hero-stats { flex-direction: column; align-items: center; }
    .stat { width: 100%; max-width: 250px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .sponsors-grid { grid-template-columns: 1fr; }
}