/* ===========================
   RESET
=========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===========================
   BODY
=========================== */

body {
    background-color: #2b2b2b;
    color: #f5f5f5;
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}
/* ===========================
   HEADER
=========================== */

header {
    position: relative;
    background-color: #2b2b2b;
    border-bottom: 3px solid #c62828;
    padding: 20px;
}
/* ===========================
   IDENTITETA
=========================== */

.identiteta {
    display: flex;
    align-items: center;
    gap: 20px;
}
.identiteta img {
    height: 120px;
    width: auto;
}
.identiteta h1 {
    font-size: 2rem;
}

.header-112 {
    position: absolute;
    top: 15px;
    right: 25px;
}

.header-112 img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}

/* ===========================
   NAVIGACIJA
=========================== */

nav {
    font-size: x-large;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 15px 0;
}

nav a {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #c62828;
}

nav a.aktivna {
    color: #c62828;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-vsebina {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background-color: #222222;
    z-index: 1000;
}

.dropdown:hover .dropdown-vsebina {
    display: block;
}

.dropdown-vsebina a {
    display: block;
    padding: 12px 16px;
    white-space: nowrap;
}

/* ===========================
   MAIN
=========================== */

main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

section {
    background-color: #3a3a3a;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
}

.aktualno-slike {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.aktualno-slike img {
    width: 45%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* ===========================
   GUMB
=========================== */

.gumb {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 24px;
    background-color: #c62828;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.gumb:hover {
    background-color: #e53935;
}

/* ===========================
   FOOTER
=========================== */

footer {
    background-color: #222222;
    margin-top: 50px;
}

.footer-vsebina {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-kontakt,
.footer-storitve,
.footer-povezave {
    flex: 1;
}

footer h3 {
    color: #c62828;
    margin-bottom: 15px;
}

footer a {
    color: #f5f5f5;
    text-decoration: none;
}

footer a:hover {
    color: #c62828;
}

.footer-bottom {
    border-top: 1px solid #444;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

.footer-112 {
    text-align: center;
}

.footer-112 img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}

.footer-112 p {
    margin: 0;
    font-size: 14px;
}
/* ===========================
   PREDSTAVITEV
=========================== */

.predstavitev-vsebina {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.osnovni-podatki {
    flex: 1;
}

.predstavitev-desno {
    flex: 2;
}

.osnovni-podatki,
.o-drustvu,
.vodstvo {
    background-color: #3a3a3a;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
}
.predstavitev-vsebina h2 {
    color: #c62828;
    margin-bottom: 20px;
}
.osnovni-podatki address {
    margin-bottom: 20px;
}

.osnovni-podatki p {
    margin-bottom: 10px;
}

.osnovni-podatki a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.osnovni-podatki a:hover {
    color: #c62828;
}

.vodstvo table {
    width: 100%;
    border-collapse: collapse;
}

.vodstvo th,
.vodstvo td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #555555;
}

.vodstvo th {
    color: #c62828;
    font-weight: 600;
}

.vodstvo tbody tr:last-child td {
    border-bottom: none;
}

.skupinska-slika {
    margin-top: 30px;
}

.skupinska-slika img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ===========================
   POMEMBNO OBVESTILO
=========================== */

.pomembno-obvestilo h2 {
    color: #c62828;
    margin-bottom: 15px;
}

.obvestilo-trak {
    overflow: hidden;

    background-color: #2b2b2b;

    border-left: 5px solid #c62828;

    border-radius: 8px;

    padding: 14px 0;
}

.obvestilo-besedilo {
    display: inline-block;

    white-space: nowrap;

    padding-left: 100%;

    font-weight: 600;

    animation: obvestilo-premik 15s linear infinite;
}

@keyframes obvestilo-premik {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }

}
.obvestilo-trak:hover .obvestilo-besedilo {
    animation-play-state: paused;
}

/* ===========================
   ZGODOVINA
=========================== */

.zgodovina-uvod h2,
.zgodovina-obdobje h2,
.tehnicni-razvoj h2,
.nov-dom h2 {
    color: #c62828;
    margin-bottom: 20px;
}
.zgodovina-obdobje ul,
.tehnicni-razvoj ul,
.nov-dom ul {
    list-style: none;
    margin-top: 15px;
}

.zgodovina-obdobje li,
.tehnicni-razvoj li,
.nov-dom li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}
.zgodovina-obdobje li::before,
.tehnicni-razvoj li::before,
.nov-dom li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 8px;
    background-color: #c62828;
    border-radius: 50%;
}
.zgodovina-obdobje ul,
.tehnicni-razvoj ul,
.nov-dom ul {
    position: relative;
}

.zgodovina-obdobje ul::before,
.tehnicni-razvoj ul::before,
.nov-dom ul::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: #555555;
}
.gesp {
    margin-top: 30px;
    padding: 20px;
    background-color: #c62828;
    color: #ffffff;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
}
/* ===========================
   ORGANI DRUŠTVA
=========================== */

.organ-drustva h2 {
    color: #c62828;
    margin-bottom: 20px;
}

.organ-drustva p {
    margin-bottom: 25px;
}
.organ-drustva table {
    width: 100%;
    border-collapse: collapse;
}

.organ-drustva th,
.organ-drustva td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #555555;
}

.organ-drustva th {
    color: #c62828;
    font-weight: 600;
}

.organ-drustva tbody tr:last-child td {
    border-bottom: none;
}

/* ===========================
   VOZNI PARK
=========================== */

.vozni-park h2 {
    color: #c62828;
    margin-bottom: 20px;
}

.vozni-park-uvod {
    margin-bottom: 30px;
}

.vozila {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.vozilo-kartica img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
}

.vozilo-kartica {
    display: block;
    background-color: #3a3a3a;
    color: #f5f5f5;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vozilo-kartica:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.vozilo-podatki {
    padding: 15px 15px 10px;
}

.vozilo-podatki h3 {
    color: #c62828;
    margin-bottom: 5px;
}

.vozilo-podatki p {
    color: #f5f5f5;
}

/* ===========================
   POSAMEZNO VOZILO
=========================== */

.vozilo-predstavitev h2,
.vozilo-opis h2,
.vozilo-galerija h2 {
    color: #c62828;
    margin-bottom: 20px;
}

.vozilo-glavni-podatki {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.vozilo-glavna-slika {
    flex: 0 0 65%;
}

.vozilo-tehnicni-podatki {
    flex: 1;
    min-width: 0;
}
.vozilo-glavna-slika img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}
.vozilo-tehnicni-podatki table {
    width: 100%;
    border-collapse: collapse;
}

.vozilo-tehnicni-podatki th,
.vozilo-tehnicni-podatki td {
    padding: 7px 10px;
    text-align: left;
    vertical-align: top;
}

.vozilo-tehnicni-podatki th {
    width: 40%;
    color: #c62828;
}

.galerija-vozila {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.galerija-vozila img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    cursor: pointer;
}
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);

    justify-content: center;
    align-items: center;
}

.lightbox-slika {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-zapri {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 45px;
    cursor: pointer;
}

.lightbox-prejsnja,
.lightbox-naslednja {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    background: none;
    border: none;

    color: white;
    font-size: 50px;

    cursor: pointer;
    padding: 20px;
}

.lightbox-prejsnja {
    left: 20px;
}

.lightbox-naslednja {
    right: 20px;
}

.lightbox-prejsnja:hover,
.lightbox-naslednja:hover {
    color: #c62828;
}

.lightbox-stevec {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    color: white;
    font-size: 18px;
    font-weight: 600;

    background-color: rgba(0, 0, 0, 0.6);
    padding: 6px 12px;
    border-radius: 6px;
}

/* ===========================
   GALERIJA - ALBUMI
=========================== */

.galerija-uvod {
    margin-bottom: 30px;
}

.galerija-albumi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.album-kartica {
    display: block;
    background-color: #2b2b2b;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #f5f5f5;

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.album-kartica img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.album-podatki {
    padding: 15px;
    text-align: center;
}

.album-podatki h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.album-podatki p {
    font-size: 0.9rem;
    color: #cccccc;
}

.album-kartica:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.album-kartica:hover h3 {
    color: #c62828;
}

.galerija h2 {
    color: #c62828;
    margin-bottom: 20px;
}

/* ===========================
   POSAMEZNI ALBUM
=========================== */

.album-predstavitev h2 {
    color: #c62828;
    margin-bottom: 10px;
}

.album-datum {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.album-opis {
    margin-bottom: 0;
}

.album-galerija {
    margin-top: 20px;
}

/* ===========================
   INTERVENCIJE
=========================== */

.intervencije h2 {
    color: #c62828;
    margin-bottom: 15px;
}

.intervencije-uvod {
    margin-bottom: 30px;
}

.intervencije-seznam {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.intervencija-kartica {
    display: grid;
    grid-template-columns: 320px 1fr;

    background-color: #2b2b2b;
    border-radius: 10px;
    overflow: hidden;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.intervencija-slika img {
    width: 100%;
    height: 100%;
    min-height: 250px;

    object-fit: cover;
    display: block;
}

.intervencija-podatki {
    padding: 25px;
}

.intervencija-podatki h3 {
    color: #c62828;
    font-size: 1.4rem;
    margin-bottom: 10px;
    margin: 0 0 5px 0;
}

.intervencija-podatki h4 {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
}

.intervencija-datum {
    font-weight: 600;
    margin-bottom: 5px;
}

.intervencija-kraj {
    color: #cccccc;
    margin-bottom: 15px;
}

.intervencija-opis {
    margin-bottom: 20px;
    line-height: 1.6;
}

.intervencija-stevilka {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 10px;
    background-color: #c62828;
    color: #ffffff;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: bold;
}

.intervencija-kartica.klikljiva {
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.intervencija-kartica.klikljiva:hover {
    background-color: #303030;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* ===========================
   DOMOV - INTERVENCIJE
=========================== */

.domov-intervencije h2 {
    color: #c62828;
}

.domov-intervencije-glava {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
}

.intervencije-stevec {
    min-width: 120px;
    padding: 15px 20px;

    background-color: #2b2b2b;
    border-radius: 10px;

    text-align: center;
}

.intervencije-stevec span {
    display: block;

    color: #c62828;

    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1;
}

.intervencije-stevec small {
    display: block;
    margin-top: 5px;
    color: #cccccc;
}

.domov-intervencije-seznam {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.domov-intervencija {
    display: grid;

    grid-template-columns:
        70px
        160px
        1fr;

    align-items: center;

    gap: 15px;

    padding: 14px 16px;

    background-color: #2b2b2b;

    border-radius: 8px;

    color: #f5f5f5;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.domov-intervencija:hover {
    background-color: #333333;
    transform: translateX(4px);
}

.domov-intervencija-stevilka {
    color: #c62828;
    font-weight: bold;
    font-size: 1.2rem;
}

.domov-intervencija-datum {
    font-weight: 600;
}

.domov-intervencija-datum span {
    display: block;

    color: #cccccc;

    font-size: 0.9rem;
    font-weight: normal;
}

.domov-intervencija-naziv {
    font-weight: 600;
}


@media (max-width: 700px) {

    .domov-intervencije-glava {
        align-items: flex-start;
    }

    .domov-intervencija {
        grid-template-columns: 45px 1fr;
    }

    .domov-intervencija-naziv {
        grid-column: 2;
    }

}

/* ===========================
   PREVOZI PITNE VODE
=========================== */

.storitev-predstavitev h2,
.prevoz-vozila h2,
.prevoz-kontakt h2 {
    color: #c62828;
    margin-bottom: 20px;
}

.storitev-predstavitev p {
    line-height: 1.7;
    margin-bottom: 15px;
}


/* VOZILI */

.prevoz-vozila {
    margin-top: 40px;
}

.prevoz-vozila-mreza {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.prevoz-vozilo {
    background-color: #2b2b2b;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.prevoz-vozilo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.prevoz-vozilo img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.prevoz-vozilo h3 {
    color: #f5f5f5;
    font-size: 1.3rem;
    margin: 18px 10px 8px;
}

.kapaciteta {
    color: #c62828;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}


/* KONTAKT ZA NAROČILO */

.prevoz-kontakt {
    margin-top: 45px;
    padding: 30px;

    background-color: #2b2b2b;
    border-radius: 10px;

    text-align: center;
}

.prevoz-kontakt p {
    margin-bottom: 20px;
}

.prevoz-kontakt .gumb {
    font-size: 1.15rem;
}

/* ===========================
   POŽARNE STRAŽE
=========================== */

.straza-primeri,
.straza-obvezna {
    margin-top: 40px;
}

.straza-primeri h2,
.straza-obvezna h2 {
    color: #c62828;
    margin-bottom: 20px;
}


/* PRIMERI */

.straza-primeri-mreza {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.straza-primer {
    background-color: #2b2b2b;
    border-radius: 10px;
    padding: 25px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.straza-primer:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.straza-primer h3 {
    color: #f5f5f5;
    margin-bottom: 10px;
}

.straza-primer p {
    line-height: 1.6;
}


/* KDAJ JE OBVEZNA */

.straza-obvezna {
    background-color: #2b2b2b;
    border-radius: 10px;
    padding: 30px;
}

.straza-obvezna p {
    line-height: 1.7;
    margin-bottom: 20px;
}

.straza-obvezna ul {
    padding-left: 25px;
}

.straza-obvezna li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* ===========================
   HIDRANTNO OMREŽJE
=========================== */

.hidrant-storitve,
.hidrant-pomen {
    margin-top: 40px;
}

.hidrant-storitve h2,
.hidrant-pomen h2 {
    color: #c62828;
    margin-bottom: 20px;
}


/* TRI KARTICE */

.hidrant-storitve-mreza {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hidrant-storitev {
    background-color: #2b2b2b;
    border-radius: 10px;
    padding: 25px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.hidrant-storitev:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.hidrant-storitev h3 {
    color: #f5f5f5;
    margin-bottom: 10px;
}

.hidrant-storitev p {
    line-height: 1.6;
}


/* POMEN REDNIH PREGLEDOV */

.hidrant-pomen {
    padding-top: 10px;
}

.hidrant-pomen p {
    line-height: 1.7;
}

/* ===========================
   GASILNI APARATI
=========================== */

.aparati-servis {
    margin-top: 40px;
}

.aparati-servis h2 {
    color: #c62828;
    margin-bottom: 15px;
}

.aparati-servis > p {
    line-height: 1.7;
    margin-bottom: 25px;
}


/* ZNAMKE */

.aparati-znamke {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.aparat-znamka {
    background-color: #2b2b2b;
    border-radius: 10px;

    padding: 22px 10px;

    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.aparat-znamka:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* ===========================
   POTEK SERVISA APARATOV
=========================== */

.aparati-potek {
    margin-top: 40px;
}

.aparati-potek h2 {
    color: #c62828;
    margin-bottom: 15px;
}

.aparati-potek > p {
    margin-bottom: 25px;
    line-height: 1.7;
}


/* VIDEO */

.aparati-video {
    max-width: 900px;
    margin: 0 auto 30px;
}

.aparati-video video {
    width: 100%;
    display: block;

    border-radius: 10px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}


/* FOTOGRAFIJE */

.aparati-galerija {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.aparati-galerija img {
    width: 100%;
    height: 220px;

    object-fit: cover;
    display: block;

    border-radius: 10px;
    cursor: pointer;

    transition: transform 0.3s ease;
}

.aparati-galerija img:hover {
    transform: scale(1.03);
}

/* ===========================
   POLNJENJE TLAČNIH JEKLENK
=========================== */

.jeklenke-storitve {
    margin-top: 40px;
}

.jeklenke-storitve h2 {
    color: #c62828;
    margin-bottom: 20px;
}

.jeklenke-storitve-mreza {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.jeklenke-storitev {
    background-color: #2b2b2b;
    border-radius: 10px;
    padding: 25px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.jeklenke-storitev:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.jeklenke-storitev h3 {
    color: #f5f5f5;
    margin-bottom: 10px;
}

.jeklenke-storitev p {
    line-height: 1.6;
}

/* ===========================
   GLAVNA STRAN - STORITVE
=========================== */

.storitve-pregled {
    margin-top: 40px;
}

.storitve-pregled h2 {
    color: #c62828;
    margin-bottom: 25px;
}

.storitve-mreza {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.storitev-kartica {
    background-color: #2b2b2b;
    border-radius: 10px;
    padding: 30px 25px;

    text-decoration: none;
    color: #f5f5f5;

    display: flex;
    flex-direction: column;
    min-height: 220px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.storitev-kartica:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.storitev-ikona {
    font-size: 2.3rem;
    margin-bottom: 15px;
}

.storitev-kartica h3 {
    color: #f5f5f5;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.storitev-kartica p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.storitev-vec {
    color: #c62828;
    font-weight: bold;
    margin-top: auto;
}
.storitev-kartica:nth-child(4) {
    grid-column: 1 / 2;
    transform: translateX(50%);
}

.storitev-kartica:nth-child(5) {
    grid-column: 2 / 3;
    transform: translateX(50%);
}

/* ===========================
   KONTAKT
=========================== */

.kontakt h2 {
    color: #c62828;
    margin-bottom: 15px;
}

.kontakt-uvod {
    line-height: 1.7;
    margin-bottom: 30px;
}


/* GLAVNA POSTAVITEV */

.kontakt-vsebina {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
}


/* KONTAKTNI PODATKI */

.kontakt-podatki,
.kontakt-obrazec {
    background-color: #2b2b2b;
    border-radius: 10px;
    padding: 30px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.kontakt-podatki h3,
.kontakt-obrazec h3 {
    color: #c62828;
    margin-bottom: 25px;
}

.kontakt-podatki address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 25px;
}

.kontakt-podatki p {
    margin-bottom: 20px;
}

.kontakt-podatki a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.kontakt-podatki a:hover {
    color: #c62828;
}


/* KONTAKTNI OBRAZEC */

.obrazec-polje {
    margin-bottom: 20px;
}

.obrazec-polje label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
}

.obrazec-polje input,
.obrazec-polje textarea {
    width: 100%;
    padding: 12px 14px;

    background-color: #3a3a3a;
    color: #f5f5f5;

    border: 1px solid #555555;
    border-radius: 7px;

    font-family: inherit;
    font-size: 1rem;

    transition: border-color 0.3s ease;
}

.obrazec-polje input:focus,
.obrazec-polje textarea:focus {
    outline: none;
    border-color: #c62828;
}

.obrazec-polje textarea {
    resize: vertical;
    min-height: 140px;
}


/* GUMB V OBRAZCU */

.kontakt-obrazec .gumb {
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* ===========================
   KONTAKT - LOKACIJA
=========================== */

.kontakt-lokacija {
    margin-top: 30px;
}

.kontakt-lokacija h3 {
    color: #c62828;
    margin-bottom: 15px;
}

.kontakt-lokacija p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.zemljevid {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.zemljevid iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.kontakt-lokacija .gumb {
    margin-top: 20px;
}

/* ===========================
   KONTAKT - STATUS SPOROČILA
=========================== */

.obrazec-status {
    margin-top: 20px;
    padding: 12px 15px;
    border-radius: 7px;
    display: none;
    font-weight: 600;
}

.obrazec-status.uspesno {
    display: block;
    background-color: rgba(46, 125, 50, 0.2);
    border: 1px solid #4caf50;
    color: #81c784;
}

.obrazec-status.napaka {
    display: block;
    background-color: rgba(198, 40, 40, 0.2);
    border: 1px solid #c62828;
    color: #ef9a9a;
}

.kontakt-obrazec .gumb:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
/* ===========================
   VODSTVO - FOTOGRAFIJE
=========================== */

.oseba {
    position: relative;
}

.oseba-ime {
    cursor: pointer;
    transition: color 0.3s ease;
}

.oseba-ime:hover {
    color: #c62828;
}

.oseba-slika {
    position: absolute;

    left: 75%;
    top: 50%;

    width: 180px;
    height: 220px;

    object-fit: cover;

    margin-left: 20px;

    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);

    transform: translateY(-50%) scale(0.95);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;

    z-index: 1000;
}

.oseba:hover .oseba-slika {
    opacity: 1;
    visibility: visible;

    transform: translateY(-50%) scale(1);
}

/* ===========================
   ORGANI DRUŠTVA - SKUPINSKA SLIKA
=========================== */

.organ-skupinska-slika {
    margin-top: 35px;
    text-align: center;
}

.organ-skupinska-slika img {
    width: 100%;
    max-width: 900px;
    height: auto;

    display: block;
    margin: 0 auto;

    border-radius: 10px;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);

    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.75;
}

/* ===========================
   TRGOVINA
=========================== */

.trgovina {
    width: 100%;
}

.trgovina-naslov {
    margin-bottom: 35px;
}

.trgovina-naslov h2 {
    color: #c62828;
    margin-bottom: 15px;
}

.trgovina-naslov p {
    line-height: 1.7;
}


/* ZGORNJA VRSTICA */

.trgovina-orodna-vrstica {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 25px;
}

.trgovina-stevilo {
    font-size: 1.2rem;
    font-weight: 600;
}

.trgovina-ddv {
    margin: 0 0 25px 0;
    padding: 12px 16px;

    background-color: #2b2b2b;
    border-left: 4px solid #c62828;
    border-radius: 7px;

    font-size: 0.95rem;
    font-weight: 600;
    color: #f5f5f5;
}



/* KOŠARICA */

.kosarica-gumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 16px;

    background-color: #c62828;
    color: white;

    border-radius: 7px;

    text-decoration: none;
    font-weight: 600;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.kosarica-gumb:hover {
    background-color: #e53935;
    transform: translateY(-2px);
}

#kosarica-stevec {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    min-width: 24px;
    height: 24px;

    padding: 0 6px;

    background-color: white;
    color: #c62828;

    border-radius: 50%;

    font-size: 0.85rem;
}


/* MREŽA IZDELKOV */

.izdelki {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}


/* KARTICA IZDELKA */

.izdelek {
    overflow: hidden;

    background-color: #2b2b2b;

    border-radius: 10px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.3);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.izdelek:hover {
    transform: translateY(-5px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.4);
}


/* SLIKA */

.izdelek-slika {
    width: 100%;
    height: 220px;

    overflow: hidden;

    background-color: #222;
}

.izdelek-slika img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}

.izdelek:hover .izdelek-slika img {
    transform: scale(1.04);
}


/* VSEBINA */

.izdelek-vsebina {
    padding: 18px;
}

.izdelek-vsebina h3 {
    margin-bottom: 10px;
}

.izdelek-opis {
    line-height: 1.6;
    margin-bottom: 15px;
}

.izdelek-cena {
    color: #c62828;

    font-size: 1.4rem;
    font-weight: 700;

    margin-bottom: 20px;
}


/* VELIKOST + KOLIČINA */

.izdelek-moznosti {
    display: flex;
    gap: 15px;

    margin-bottom: 20px;
}

.izdelek-polje {
    flex: 1;
}

.izdelek-polje label {
    display: block;

    margin-bottom: 7px;

    font-size: 0.9rem;
    font-weight: 600;
}

.izdelek-polje select,
.izdelek-polje input {
    width: 100%;

    padding: 10px;

    background-color: #3a3a3a;
    color: white;

    border: 1px solid #555;
    border-radius: 6px;

    font-family: inherit;
}

.dodaj-v-kosarico {
    width: 100%;

    border: none;
    cursor: pointer;
}

/* TABLICA */
@media (max-width: 1100px) {

    .izdelki {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* TELEFON */
@media (max-width: 650px) {

    .izdelki {
        grid-template-columns: 1fr;
    }

    .trgovina-orodna-vrstica {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .kosarica-gumb {
        justify-content: center;
    }

}

/* ===========================
   NAROČILNICA
=========================== */

.narocilnica-naslov h2 {
    color: #c62828;
    margin-bottom: 15px;
}

.narocilnica-naslov {
    margin-bottom: 30px;
}

/* IZDELEK */

.narocilo-seznam {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.narocilo-izdelek {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        120px
        140px
        100px;

    gap: 20px;
    align-items: center;
    background-color: #2b2b2b;
    padding: 20px;
    border-radius: 10px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.25);
}

.narocilo-izdelek-podatki h3 {
    margin-bottom: 5px;
}

.narocilo-izdelek-podatki p {
    color: #cccccc;
}


/* KOLIČINA */

.narocilo-kolicina label {
    display: block;

    margin-bottom: 5px;

    font-size: 0.85rem;
}

.narocilo-kolicina input {
    width: 100%;

    padding: 9px;

    background-color: #3a3a3a;
    color: white;

    border: 1px solid #555;
    border-radius: 6px;
}


/* VMESNI ZNESEK */

.narocilo-vmesni-znesek {
    color: #c62828;

    font-size: 1.1rem;
    font-weight: 700;

    text-align: right;
}


/* ODSTRANI */

.narocilo-odstrani {
    padding: 9px 12px;

    background-color: transparent;
    color: #ef9a9a;

    border: 1px solid #c62828;
    border-radius: 6px;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.narocilo-odstrani:hover {
    background-color: #c62828;
    color: white;
}


/* SKUPAJ */

.narocilo-skupaj {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #555;
    font-size: 1.3rem;
}

.narocilo-skupaj strong {
    color: #c62828;

    font-size: 1.5rem;
}
.narocilo-ddv {
    margin-top: 5px;
    font-size: 0.85rem;
    font-weight: normal;
    color: #cccccc;
}


/* PRAZNA KOŠARICA */

.narocilo-prazno {
    text-align: center;

    padding: 40px 20px;

    background-color: #2b2b2b;

    border-radius: 10px;
}

.narocilo-prazno p {
    margin-bottom: 20px;
}


/* GUMBI */

.narocilo-gumbi {
    margin-top: 20px;
}

/* ===========================
   NAROČILNICA - NAROČNIK
=========================== */

.narocnik {
    margin-top: 45px;

    padding-top: 30px;

    border-top: 1px solid #555555;
}

.narocnik h2 {
    color: #c62828;
    margin-bottom: 10px;
}

.narocnik-uvod {
    margin-bottom: 25px;
}


/* PODATKI */

.narocnik-mreza {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
}


/* NAČIN PREVZEMA */

.nacin-prevzema {
    margin-top: 30px;

    padding: 25px;

    background-color: #2b2b2b;

    border-radius: 10px;
}

.nacin-prevzema h3 {
    color: #c62828;

    margin-bottom: 15px;
}

.prevzem-izbira {
    display: block;

    margin-bottom: 12px;

    cursor: pointer;
}

.prevzem-izbira input {
    margin-right: 8px;
}


/* OPOMBA */

.narocnik-opomba {
    margin-top: 25px;
}


/* ODDAJ NAROČILO */

.narocilo-oddaj {
    border: none;

    cursor: pointer;

    font-size: 1.05rem;

    margin-top: 10px;
}

.narocilo-oddaj:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* TELEFON */

@media (max-width: 700px) {

    .narocnik-mreza {
        grid-template-columns: 1fr;
    }

}
.samo-dostava {
    color: #c62828;
    display: none;
}

.narocnik.dostava .samo-dostava {
    display: inline;
}

/* ===========================
   NAROČILO - POTRDITVENO OKNO
=========================== */

.narocilo-modal {
    display: none;

    position: fixed;
    inset: 0;

    background-color: rgba(0, 0, 0, 0.75);

    z-index: 5000;

    justify-content: center;
    align-items: center;

    padding: 20px;
}

.narocilo-modal.odprt {
    display: flex;
}

.narocilo-modal-vsebina {
    width: 100%;
    max-width: 520px;

    background-color: #2b2b2b;

    padding: 35px;

    border-radius: 12px;

    text-align: center;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.5);
}

.narocilo-modal-vsebina h2 {
    color: #c62828;
    margin-bottom: 15px;
}

.narocilo-modal-vsebina p {
    line-height: 1.7;
    margin-bottom: 25px;
}

.narocilo-modal-gumbi {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.modal-preklici {
    background-color: #555;
    border: none;
    cursor: pointer;
}

.modal-preklici:hover {
    background-color: #666;
}

.modal-potrdi {
    border: none;
    cursor: pointer;
}

/* ===========================
   USPEŠNO ODDANO NAROČILO
=========================== */

.modal-uspeh {
    display: none;
    text-align: center;
}

.modal-uspeh.prikazi {
    display: block;
}

.modal-uspeh-ikona {
    width: 75px;
    height: 75px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: #2e7d32;

    color: white;

    font-size: 42px;
    font-weight: bold;
}

.modal-uspeh h2 {
    color: #4caf50;

    margin-bottom: 15px;
}

.modal-uspeh p {
    color: #dddddd;

    margin-bottom: 8px;
}

.modal-nazaj-trgovina {
    display: inline-block;

    margin-top: 25px;
}

.vozilo-nazaj {
    margin-top: 40px;
    text-align: center;
}

.nujni-klic {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.nujni-klic img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 10px;
}

.nujni-klic p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
}

.nujni-klic strong {
    font-size: 22px;
}

/* Povezave z ikonami v footerju */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    gap: 12px;

    color: inherit;
    text-decoration: none;
}

.footer-social img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;

    transition: transform 0.2s ease;
}

.footer-social a:hover img {
    transform: scale(1.15);
}

.footer-social a:hover span {
    text-decoration: underline;
}

/* ==================================================
   GLAVNA GALERIJA - KATEGORIJE
================================================== */

.galerija-kategorije {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

/* KARTICA KATEGORIJE */

.kategorija-kartica {
    display: block;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none !important;
    color: #222222 !important;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* SLIKA */

.kategorija-kartica img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;

    border-bottom: 4px solid transparent;
    transition: border-color 0.25s ease;
}

/* BESEDILO */

.kategorija-podatki {
    padding: 20px 25px;
    color: #222222;
}

.kategorija-podatki h3 {
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 700;
    color: #222222 !important;
}

.kategorija-podatki p {
    margin: 0;
    line-height: 1.5;
    color: #555555 !important;
}

/* HOVER */

.kategorija-kartica:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* TABLICA */

@media (max-width: 900px) {

    .galerija-kategorije {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* TELEFON */

@media (max-width: 600px) {

    .galerija-kategorije {
        grid-template-columns: 1fr;
    }

    .kategorija-kartica img {
        height: 200px;
    }
}

/* NASLOV KATEGORIJE */

.kategorija-podatki h3 {
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 700;
    color: #222222 !important;

    transition: color 0.25s ease;
}

/* NASLOV POSTANE RDEČ */

.kategorija-kartica:hover .kategorija-podatki h3 {
    color: #c62828 !important;
}

.kategorija-kartica:hover img {
    border-bottom-color: #c62828;
}

.galerija-nazaj {
    margin: 25px 0 35px;
}

.album-navigacija {
    display: flex;
    gap: 12px;
    margin: 25px 0 30px;
    flex-wrap: wrap;
}

/* ========================================
   MOBILNA VERZIJA - HEADER IN MENI
======================================== */

.mobilni-meni-gumb {
    display: none;
}

@media (max-width: 768px) {

    /* HEADER */

    header {
        padding: 15px;
    }

    .identiteta {
        gap: 12px;
        padding-right: 55px;
    }

    .identiteta img {
        height: 80px;
    }

    .identiteta h1 {
        font-size: 1.35rem;
        line-height: 1.35;
    }

    /* 112 zgoraj na telefonu skrijemo */

    .header-112 {
        display: none;
    }


    /* HAMBURGER GUMB */

    .mobilni-meni-gumb {
        display: block;

        position: absolute;
        top: 35px;
        right: 15px;

        width: 44px;
        height: 44px;

        background-color: #c62828;
        color: #ffffff;

        border: none;
        border-radius: 6px;

        font-size: 25px;
        line-height: 1;

        cursor: pointer;

        z-index: 2001;
    }


    /* NAVIGACIJA */

    nav {
        display: none;

        width: 100%;
        margin-top: 15px;
        padding: 0;

        flex-direction: column;
        gap: 0;

        background-color: #222222;

        border-radius: 8px;
        overflow: visible;
    }

    nav.mobilni-meni-odprt {
        display: flex;
    }

    nav > a,
    nav > .dropdown {
        width: 100%;
    }

    nav > a,
    .dropdown > a {
        display: block;
        width: 100%;

        padding: 14px 16px;

        border-bottom: 1px solid #444444;
    }


    /* DROPDOWN NA TELEFONU */

    .dropdown {
        display: block;
    }

    .dropdown-vsebina {
        position: static;

        display: block;

        width: 100%;
        min-width: 0;

        background-color: #1d1d1d;
    }

    .dropdown-vsebina a {
        padding: 11px 16px 11px 32px;
        white-space: normal;
        font-size: 0.92rem;
    }

}
/* ========================================
   MOBILNA VERZIJA - STORITVE
======================================== */

@media (max-width: 768px) {

    /* Glavna vsebina */
    main {
        width: 100%;
        margin: 20px auto;
        padding: 0 12px;
    }

    section {
        padding: 20px;
        margin-bottom: 20px;
    }

    /* Mreža storitev - 2 kartici */
    .storitve-mreza {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    /* Prekliči zamik 4. in 5. kartice */
    .storitev-kartica:nth-child(4),
    .storitev-kartica:nth-child(5) {
        grid-column: auto;
        transform: none;
    }

    /* Kartice */
    .storitev-kartica {
        width: 100%;
        min-width: 0;
        min-height: 260px;
        padding: 20px 15px;
    }

    .storitev-ikona {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .storitev-kartica h3 {
        font-size: 1.05rem;
        line-height: 1.35;
        margin-bottom: 10px;
    }

    .storitev-kartica p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .storitev-vec {
        font-size: 0.9rem;
    }

    /* Kontaktni blok spodaj */
    .prevoz-kontakt {
        padding: 20px;
    }
}


/* ZELO OZKI TELEFONI */
@media (max-width: 380px) {

    .storitve-mreza {
        grid-template-columns: 1fr;
    }

    .storitev-kartica {
        min-height: auto;
    }

}
/* ========================================
   MOBILNA VERZIJA - VOZNI PARK
======================================== */

@media (max-width: 768px) {

    .vozni-park {
        width: 100%;
    }

    .vozni-park-uvod {
        margin-bottom: 25px;
    }

    /* 2 vozili v eni vrstici */
    .vozila {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .vozilo-kartica {
        width: 100%;
        min-width: 0;
    }

    /* Slika vozila */
    .vozilo-kartica img {
        width: 100%;
        height: 140px;
        object-fit: contain;
    }

    /* Podatki */
    .vozilo-podatki {
        padding: 15px;
    }

    .vozilo-podatki h3 {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }

    .vozilo-podatki p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}


/* ZELO OZKI TELEFONI */
@media (max-width: 380px) {

    .vozila {
        grid-template-columns: 1fr;
    }

    .vozilo-kartica img {
        height: 180px;
    }

}
/* ========================================
   MOBILNA VERZIJA - POSAMEZNO VOZILO
======================================== */

@media (max-width: 768px) {

    /* Slika in tehnični podatki eden pod drugim */
    .vozilo-glavni-podatki {
        display: flex;
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }

    .vozilo-glavna-slika {
        flex: none;
        width: 100%;
    }

    .vozilo-glavna-slika img {
        width: 100%;
        height: auto;
        display: block;
    }

    .vozilo-tehnicni-podatki {
        width: 100%;
        min-width: 0;
    }

    .vozilo-tehnicni-podatki h3 {
        margin-bottom: 15px;
    }

    /* Tehnična tabela */
    .vozilo-tehnicni-podatki table {
        width: 100%;
        table-layout: fixed;
    }

    .vozilo-tehnicni-podatki th,
    .vozilo-tehnicni-podatki td {
        padding: 8px 5px;
        vertical-align: top;
        overflow-wrap: anywhere;
    }

    .vozilo-tehnicni-podatki th {
        width: 42%;
    }

    .vozilo-tehnicni-podatki td {
        width: 58%;
    }

    /* Galerija vozila - 2 fotografiji v vrstici */
    .galerija-vozila {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .galerija-vozila img {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

    /* Gumb nazaj */
    .vozilo-nazaj .gumb {
        width: 100%;
        text-align: center;
    }
}


/* ZELO OZKI TELEFONI */
@media (max-width: 380px) {

    .vozilo-tehnicni-podatki th,
    .vozilo-tehnicni-podatki td {
        font-size: 0.9rem;
    }

    .galerija-vozila {
        grid-template-columns: 1fr;
    }

    .galerija-vozila img {
        height: auto;
    }

}
/* ========================================
   MOBILNA VERZIJA - INTERVENCIJE
======================================== */

@media (max-width: 768px) {

    .intervencije {
        width: 100%;
    }

    .intervencije-uvod {
        margin-bottom: 20px;
    }

    /* Ena intervencija v vrstici */
    .intervencije-seznam {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        width: 100%;
    }

    /* Celotna kartica */
    .intervencija-kartica {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        display: flex;
        flex-direction: column;

        margin: 0;
        overflow: hidden;
    }

    /* Slika */
    .intervencija-slika {
        width: 100%;
        min-width: 0;
    }

    .intervencija-slika img {
    display: block;

    width: 85%;
    max-width: 380px;
    height: auto;

    margin: 0 auto;

    object-fit: contain;
    border-radius: 6px;

    }

    /* Besedilni del */
    .intervencija-podatki {
        width: 100%;
        min-width: 0;
        padding: 18px;
    }

    .intervencija-stevilka {
        font-size: 0.9rem;
    }

    .intervencija-podatki h3 {
        font-size: 1.15rem;
        line-height: 1.35;
    }

    .intervencija-podatki h4 {
        font-size: 1.05rem;
        line-height: 1.4;
    }

    .intervencija-podatki p {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .intervencija-opis {
        line-height: 1.55;
    }

    /* Gumb Več */
    .intervencija-podatki .gumb {
        display: inline-block;
        margin-top: 10px;
    }
}


/* ZELO OZKI TELEFONI */
@media (max-width: 380px) {

    .intervencija-slika img {
        height: 190px;
    }

    .intervencija-podatki {
        padding: 15px;
    }

}
/* ========================================
   MOBILNA VERZIJA - POSAMEZNA INTERVENCIJA
======================================== */

@media (max-width: 768px) {

    /* Osnovni podatki intervencije */
    .album-predstavitev {
        width: 100%;
        padding: 20px;
        margin-bottom: 20px;
    }

    .album-predstavitev h2 {
        font-size: 1.4rem;
        line-height: 1.35;
        overflow-wrap: break-word;
    }

    .album-datum {
        font-size: 1rem;
        margin-top: 10px;
        margin-bottom: 15px;
    }

    .album-opis,
    .album-predstavitev p {
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.6;
        overflow-wrap: break-word;
    }

    /* Galerija */
    .album-galerija {
        width: 100%;
        padding: 15px;
    }

    .album-galerija .galerija-vozila {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .album-galerija .galerija-vozila img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        display: block;
    }

    /* Gumba pod intervencijo */
    .album-galerija ~ .gumb {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
        box-sizing: border-box;
    }
}


/* ZELO OZKI TELEFONI */
@media (max-width: 380px) {

    .album-galerija .galerija-vozila {
        grid-template-columns: 1fr;
    }

    .album-galerija .galerija-vozila img {
        height: auto;
    }
}
/* ========================================
   MOBILNA VERZIJA - GALERIJA ALBUMOV
======================================== */

@media (max-width: 768px) {

    .galerija {
        width: 100%;
    }

    /* 2 albuma v eni vrstici */
    .galerija-albumi {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        width: 100%;
    }

    .album-kartica {
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    /* Naslovna fotografija albuma */
    .album-kartica > img {
        display: block;
        width: 100%;
        height: 190px;
        object-fit: cover;
    }

    /* Besedilo pod fotografijo */
    .album-podatki {
        padding: 14px 10px;
    }

    .album-podatki h3 {
        font-size: 1rem;
        line-height: 1.4;
        overflow-wrap: break-word;
    }

    .album-podatki p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Gumb Nazaj na galerijo */
    .galerija-nazaj .gumb,
    .galerija-nazaj-spodaj .gumb {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}
/* ========================================
   MOBILNA VERZIJA - PREDSTAVITEV
======================================== */

@media (max-width: 768px) {

    /* Osnovni podatki in desna vsebina eden pod drugim */
    .predstavitev-vsebina {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    /* Osnovni podatki */
    .osnovni-podatki {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        margin: 0;
    }

    .osnovni-podatki h2 {
        font-size: 1.4rem;
    }

    /* E-mail naj se ne lomi grdo */
    .osnovni-podatki a {
        overflow-wrap: anywhere;
    }

    /* Desni del */
    .predstavitev-desno {
        width: 100%;
        min-width: 0;
    }

    /* O društvu */
    .o-drustvu {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 20px;
    }

    .o-drustvu h2 {
        font-size: 1.4rem;
    }

    .o-drustvu p {
        line-height: 1.6;
    }

    /* Vodstvo društva */
    .vodstvo {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }

    .vodstvo table {
        width: 100%;
        table-layout: fixed;
    }

    .vodstvo th,
    .vodstvo td {
        padding: 12px 8px;
        overflow-wrap: break-word;
    }

    .vodstvo th:first-child,
    .vodstvo td:first-child {
        width: 45%;
    }

    .vodstvo th:last-child,
    .vodstvo td:last-child {
        width: 55%;
    }

    /* Skupinska fotografija */
    .skupinska-slika {
        width: 100%;
        box-sizing: border-box;
    }

    .skupinska-slika img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}
/* ========================================
   MOBILNA VERZIJA - UPN / DONACIJA
======================================== */

@media (max-width: 768px) {

    .podprite-nas {
        width: 100%;
        box-sizing: border-box;
    }

    .podprite-nas img {
        display: block;

        width: 100%;
        max-width: 100%;
        height: auto;

        margin: 15px auto 0;

        object-fit: contain;
        box-sizing: border-box;
    }
}
/* ========================================
   MOBILNA VERZIJA - KONTAKT
======================================== */

@media (max-width: 768px) {

    /* Kontaktni podatki + obrazec eden pod drugim */
    .kontakt-vsebina {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 20px;
    }

    .kontakt-podatki,
    .kontakt-obrazec {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        margin: 0;
    }

    /* Polja obrazca */
    .kontakt-obrazec form {
        width: 100%;
    }

    .obrazec-polje {
        width: 100%;
    }

    .obrazec-polje input,
    .obrazec-polje textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Gumb */
    .kontakt-obrazec .gumb {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }

    /* Lokacija */
    .kontakt-lokacija {
        width: 100%;
        box-sizing: border-box;
    }

    /* Google zemljevid */
    .zemljevid {
        width: 100%;
        overflow: hidden;
    }

    .zemljevid iframe {
        display: block;
        width: 100%;
        max-width: 100%;
        height: 350px;
        border: 0;
    }

    /* Gumb Odpri pot do nas */
    .kontakt-lokacija > .gumb {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}