@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --text-color: #5f5f5f;
    --background-color-hero: #ebeeed;
    --background-color-second: #292c31;
    --accent-color: #f5c31f;
    --second-accent-color: #282c31;
    --second-text-color: #2d2d2d;
    --third-text-color: #e1e1e1;

}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: "Rubik", sans-serif;
}

.mw-hero-nav {
    max-width: 1400px;
    margin: 0 10px;
}


.mw-hero-nav a:hover {
    color: var(--accent-color);
}

a {
    text-decoration: none;
    color: var(--second-accent-color);
    transition: 0.2s ease;
}

a:visited {
    color: var(--text-color);
}

.mw-sekcije {
    max-width: 1000px;
    margin: 0 auto;
}

.m-auto {
    margin: 0 auto;
}

.ml-10 {
    margin-left: 25px;
}

.d-flex {
    display: flex;
}

.f-direction-row {
    flex-direction: row;
}

.f-j-sb {
    justify-content: space-between;
}

.f-j-sa {
    justify-content: space-around;
}

.f-c {
    justify-content: center;
}

.brzilinkovi-wrapper {
    margin: 15px auto;

}

.brzilinkovi-kolona h4 {
    display: inline;
    font-size: 16px;
    margin-left: 5px;
}

.brzilinkovi-kolona a {
    margin-right: 10px;
}

.brzilinkovi-kolona img {
    width: 20px;
}

.linija-siva {
    height: 1px;
    width: 100%;
    background-color: #c3c3c3;
}

.nav-menu {
    margin-top: 25px;
}

.nav-menu ul {
    list-style: none;
}

#hidden-menu {
    display: none;
}

.nav-menu ul li {
    display: inline;
    margin-left: 40px;

}

.hero-section {
    margin-top: 25px;
    background-color: var(--background-color-hero);
    color: #282c31;
    border-radius: 15px;
    padding-top: 15px;
    text-align: center;
    margin-bottom: 100px;
}

#dobrodosli-wrapper {
    margin-top: 50px;
    margin-bottom: 25px;
}

#dobrodosli-wrapper h3 {
    font-weight: 400;
    border: 1px var(--text-color) solid;
    border-radius: 25px;
    padding: 10px 15px;
    font-size: 16px;
    display: inline-block;

}

.kosmomi-sekcija {
    margin: 70px auto;
}


.kosmomi-tekst-logo-wrapper {
    align-items: center;
    margin-bottom: 100px;
    font-size: 18px;
}

#kosmomi-logo-wrapper {
    width: 100%;
}

#kosmomi-naslov-sekcije {
    font-size: 36px;
    margin-bottom: 50px;
}



.mali-naslov-wrapper h3 {
    font-weight: 400;
    border: 1px var(--text-color) solid;
    border-radius: 25px;
    padding: 10px 15px;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 25px;
}

#main-text-wrapper {
    margin-bottom: 25px;
}

#main-text-wrapper h1 {
    font-size: 46px;
    line-height: 60px;
}


#podtext-wrapper {
    margin-bottom: 35px;
}

#button-wrapper {
    margin-bottom: 35px;
}

.primary-btn {
    background-color: var(--accent-color);
    padding: 10px 15px;
    border: 0px;
    border-radius: 18px;

}

.primary-btn:hover {
    background-color: var(--second-accent-color);
    padding: 10px 15px;
    border: 0px;
    border-radius: 18px;
    color: var(--accent-color)
}

.secondary-btn {
    background-color: var(--second-accent-color);
    color: white;
    padding: 10px 15px;
    border: 0px;
    border-radius: 18px;
}

#priznanja-wrapper {
    margin: 35px auto;
    width: fit-content;
}

#sertifikati,
#profesionalci,
#pozitivnaiskustva {
    align-items: center;
}

.emoji-text-wrapper {
    margin-left: 10px;
}

#avatar-wrapper {
    /* position: relative; */
    height: 455px;
}

#avatar-wrapper img {
    /* position: absolute; */
    bottom: 1px;
}

.hitne-intervencije-section {
    margin-bottom: 175px;
    margin-top: 175px;
}

.w-150 {
    max-width: 750px;
    margin: 0 auto;
}

.slika-elektricara-wrapper img {
    width: 400px;
    transition: 1s ease-in-out;
}

.slika-elektricara-wrapper img:hover {
    scale: 0.9;
}

.glavni-text-hitnih-intervencija {
    margin-bottom: 30px;
}

.text-hitne-intervencije h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.ikonica-zasto-mi {
    margin-right: 10px;
}

.zasto-mi-container {
    margin-bottom: 35px;
}

.tekst-zasto-mi h3 {
    margin-bottom: 5px;
}

.color-yellow {
    color: var(--accent-color);
}

.color-text-second {
    color: var(--second-text-color);
}

.color-text-third {
    color: var(--third-text-color);
}



.zasto-mi-hitno-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
    border-radius: 25px;
    text-align: center;
}

.zasto-mi-hitno-wrapper h2,
.nasa-metodologija-wrapper h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.zasto-mi-statistike {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
}

.statistika-blok h3 {
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.statistika-blok p {
    font-size: 18px;
    color: #333;
}

.metodologija-koraci {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.korak {
    max-width: 250px;
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.korak img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.korak h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--second-accent-color);
}

.korak p {
    font-size: 16px;
    color: #555;
}

.zasto-mi-hitno-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
    text-align: center;
}

.zasto-mi-hitno-wrapper h2,
.nasa-metodologija-wrapper h2 {
    font-size: 36px;
    margin-bottom: 50px;
    font-weight: 800;
}

.zasto-mi-statistike {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
}

.statistika-blok {
    background-color: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    width: 300px;
    transition: transform 0.3s ease;
}

.statistika-blok:hover {
    transform: translateY(-5px);
}

.stat-ikonica {
    font-size: 36px;
    color: var(--accent-color);
}

.stat-tekst h3 {
    font-size: 28px;
    margin-bottom: 5px;
    color: var(--second-accent-color);
}

.stat-tekst p {
    font-size: 16px;
    color: #5f5f5f;
}

.metodologija-koraci {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.korak {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    width: 220px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.korak:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.korak img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.korak h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--second-accent-color);
    font-weight: bold;
}

.korak p {
    font-size: 15px;
    color: #5f5f5f;
}



.zasto-mi-section {
    width: 100%;
    background: linear-gradient(135deg, #0f0f0f, #211f1b);
    padding: 75px 0px;

}

.zasto-mi-section h2 {
    font-size: 36px;
}

.zasto-mi-naslov {
    margin-left: 50px;
}


.zasto-mi-naslov .usluge-slika img {
    width: 350px;
    border-radius: 15px;
}

#faq {
    max-width: 800px;
    margin: 100px auto;

}

#faq h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 30px;
}

#faq details {
    color: white;
    margin-bottom: 15px;
    border: 2px solid #232323;
    border-radius: 20px;
    padding-bottom: 10px;
    background: linear-gradient(180deg, #2d2d2d, #241f06);
    padding: 25px;
}

#faq summary {
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    padding-left: 25px;
    list-style: none;
}

#faq summary::before {
    content: '➡️';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 18px;
    transition: transform 0.3s ease;
}

#faq details[open] summary::before {
    transform: rotate(90deg);
}

#faq p {
    margin-top: 10px;
    padding-left: 25px;
}

.zasto-mi-detalji {
    padding: 55px 0px;
    border-top: 1px solid var(--text-color);
    align-items: center;
    justify-content: space-between;
}

.zasto-mi-detalji:last-child {
    border-bottom: 1px solid var(--text-color);
}

.zasto-mi-broj {
    color: var(--accent-color);
    margin-right: 20px;
}

.zasto-mi-tekst h3 {
    margin-bottom: 15px;
}

#usluge-naslov-h2 {
    margin-bottom: 25px;
}

.nase-iskustvo-section {
    padding: 50px 0px;
}

.iskustvo-naslov {
    font-size: 36px;
    margin-bottom: 50px;
}

.tacka-iskustva p {
    font-size: 20px;
    color: var(--text-color);
}

.iskustva-counter {
    font-size: 32px;
    margin-left: 5px;

}

.nase-usluge-section {
    padding: 50px 0px;
}

.nase-usluge-naslov {
    margin-top: 50px;
    font-size: 36px;
}

.services-section-modern {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 40px 0;
}

.service-item {
    position: relative;
    background: linear-gradient(135deg, #0b0b0b, #373327);
    padding: 40px;
    margin: 15px;
    border-radius: 15px;
    text-align: left;
    color: var(--third-text-color);
    transition: transform 1s, background-color 1s ease;
    max-width: 300px;
    width: 100%;
}

.service-item h3 {
    font-size: 18px;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.4s ease-in-out;
}

.service-item:hover h3 {
    color: #fff;
    /* Promena boje naslova pri hoveru */
}

.service-item p {
    font-size: 18px;
    color: var(--third-text-color);
    margin-bottom: 30px;
}

.service-link {
    display: inline-block;
    padding: 12px 25px;
    color: var(--second-text-color);
    background-color: var(--accent-color);
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.service-link:hover {
    background-color: var(--second-accent-color);
    color: var(--third-text-color);
    transform: scale(1.1);
}

.service-item:hover {
    background: linear-gradient(135deg, #0b0b0b, #e0b847);
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: var(--background-color-hero);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-align: center;
}

.contact-form label {
    font-size: 16px;
    color: var(--second-text-color);
    display: block;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: var(--second-text-color);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #f2b632;
    /* Svetlija nijansa pri hoveru */
}

.footer {
    background-color: var(--background-color-second);
    color: var(--third-text-color);
    padding: 40px 20px;
    text-align: left;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column {
    /* width: 30%; */
    margin-bottom: 20px;
}

.footer-column h3 {
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-column a {
    color: var(--third-text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--accent-color);
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid var(--third-text-color);
    padding-top: 15px;
    color: var(--third-text-color);
}

.social-links {
    display: flex;
    list-style: none;
    padding: 0;
}

.social-links li {
    margin-right: 15px;
}

/* Hamburgermenu */

.nav-menu-hamburger {
    display: none;
}

#nav-menu-btn {
    border: 0px;
}





/*Korpa sekcija*/
.korpa-tekst-slika-wrapper {
  display: flex;              /* aktivira flexbox */
  flex-direction: row;         /* stavlja ih u red (slika levo, tekst desno) */
  align-items: center;         /* vertikalno centriranje */
  flex-wrap: wrap;             /* da se na manjim ekranima prebace jedan ispod drugog */
}
#korpa-slika-wrapper{
    align-items:center;
}

#korpa-slika-wrapper,
#korpa-tekst-wrapper {

  flex: 1 1 50%;               /* zauzimaju po pola širine */
}


.korpa-sekcija {
  padding: 60px 0;
}



#korpa-slika-wrapper img {
  width: 95%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}


#korpa-tekst-wrapper p {
  margin-bottom: 16px;
  line-height: 1.6;
  color: #5e5e5e;
}

#korpa-naslov-sekcije {
  margin-bottom: 30px;
  text-align: center;
}

#korpa-naslov-sekcije h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
}



#cta-h2 {
    text-align: center;
    background: linear-gradient(0deg, #111111, #2d2d2d);
    padding: 25px;
    border-radius: 25px;
    color: #ffbb00;
}

#cta-h2 h2 {
    margin-bottom: 25px;
    font-size: 32px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.lokacije-wrapper {
    padding: 60px 20px;
    background-color: #f8f8f8;
    text-align: center;
}

.lokacije-wrapper h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.lokacije-wrapper p {
    font-size: 16px;
    margin-bottom: 40px;
    color: #555;
}

.lokacije-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.lokacija-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.lokacija-card:hover {
    transform: translateY(-5px);
}

.lokacija-card img {
    width: 28px;
    height: 28px;
    margin-top: 5px;
}

.lokacija-card h3 {
    font-size: 18px;
    margin: 0 0 5px 0;
    color: #222;
}

.lokacija-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.rad-wrapper-modern {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

.tekst-rad-modern {
    flex: 1 1 500px;
    padding-right: 20px;
}

.tekst-rad-modern h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.tekst-rad-modern p {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.slike-rad-modern {
    flex: 1 1 400px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
}

.preposle-kolona {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.preposle-kolona h4 {
    text-align: center;
    font-size: 18px;
    margin-bottom: 10px;
}

.pre-slike img,
.posle-slike img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    object-fit: cover;
}

@media (max-width: 600px) {
    .lokacija-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .lokacija-card img {
        margin-top: 0;
    }

}

.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    -webkit-box-shadow: -3px 2px 53px -6px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -3px 2px 53px -6px rgba(0, 0, 0, 0.75);
    box-shadow: -3px 2px 53px -6px rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-button:hover {
    background-color: var(--accent-color);
}

@media only screen and (max-width: 1024px) {
    .brzilinkovi-wrapper {
        padding: 0px 10px;
    }

    .nav-menu {
        padding: 0px 10px;
    }

    .zasto-mi-wrapper .primary-btn {
        font-size: 17px;
    }

    .brza-reakcija-section {
        padding: 0px 10px;
    }

    .zasto-mi-row {
        padding-left: 10px;
    }

    .nase-iskustvo-section {
        padding: 0px 5px;
    }

    .nase-usluge-section {
        padding: 20px 15px;
    }

    .zasto-mi-naslov .usluge-slika img {
        width: 300px;
    }

    #kosmomi-logo-wrapper {
        width: 100%;
    }

    #kosmomi-logo-wrapper img {
        width: 100%;
    }

    .korpa-sekcija {
  margin-left:25px;
}
    .korpa-tekst-slika-wrapper {
  flex-direction: column;         /* stavlja ih u red (slika levo, tekst desno) */

}
}


@media only screen and (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    #avatar-wrapper img {
        width: 60%;
    }

    .service-link {
        font-size: 10px;
    }

    #priznanja-wrapper {
        display: block;
        margin: 15px auto;
    }

    .contact-form button {
        width: 80%;
    }


    .zasto-mi-repsonsive {
        display: flex;
        flex-direction: column;
    }

    #zasto-mi-row {
        order: 2;
        margin: 10px 10px
    }

    .slike-rad-modern {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .preposle-kolona {
        width: 90%;
        max-width: 400px;
    }

    .pre-slike img,
    .posle-slike img {
        width: 100%;
        height: auto;
        border-radius: 15px;
    }

    .preposle-kolona h4 {
        font-size: 16px;
        text-align: center;
        margin-bottom: 10px;
    }

    .zasto-mi-detalji {
        width: 90%;
    }

    #podtext-wrapper {
        padding: 0px 10px;
    }

    #zasto-mi-naslov {
        order: 1;
        margin-left: 10px;
        margin-bottom: 15px;
    }

    #kosmomi-logo-wrapper {
        width: 100%;
        margin-top: 50px;
    }

    .service-item {
        width: 90%;
    }

    .brzilinkovi-kolona a {
        display: block;
    }


    .nav-menu ul li {
        display: block;
        margin-left: 0px;
        margin-top: 10px;
    }

    #hidden-menu {
        display: none;
        margin: 0px 10px;
        padding: 5px 10px;
        background-color: #ededed;
        border-radius: 25px;
        transition: 1s ease;
    }

    #hidden-menu ul li {
        margin: 10px 0px;
        list-style-type: none;
        font-weight: bold;
    }

    #dropdown-menu {
        display: none;
    }

    .kosmomi-sekcija {
        margin: 70px 20px;
    }

    .nav-menu-hamburger {
        display: inline;
    }

    h1 {
        font-size: 32px !important;
    }

    h2 {
        font-size: 26px !important;
    }

    h3 {
        font-size: 18px !important;
    }

    .nase-iskustvo-section {
        padding: 15px 10px;
    }

    .tacke-iskustva {
        display: block;
    }

    .tacke-iskustva p {
        font-size: 16px;
    }

    .iskustvo-naslov {
        margin-bottom: 30px;
    }

    .iskustva-counter {
        font-size: 24px;
    }

    #slika-elektricara {
        order: 2;

    }

    #slika-elektricara img {
        width: 80%;
        text-align: center;
    }

    .kosmomi-tekst-logo-wrapper {
        flex-direction: column;
    }

    #faq {
        max-width: 800px;
        margin: 25px;

    }

    #text-hitne-intervencije {
        order: 1;
        margin-bottom: 40px;
    }

    #sertifikat {
        margin-left: 25px;
    }

    .zasto-mi-wrapper .primary-btn {
        font-size: 17px;
    }

    .slika-elektricara-wrapper img {
        width: 100%;
    }


    .zasto-mi-naslov .usluge-slika img {
        width: 150px;
    }

    .hitne-intervencije-section {
        display: flex;
        flex-direction: column;
        margin: 30px auto;
        padding: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .contact-form input {
        width: 90%;
    }

    .contact-form textarea {
        width: 90%;
    }


    .footer-container {
        display: block;
    }

    .nasrad-sekcija {
        margin: 70px 20px;
    }


    .rad-card h3 {
        font-size: 30px;
    }





}


@media only screen and (max-width: 550px) {}