/* OSNOVNI RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
}
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: black;
}



/* HEADER / GORNJA TRKA */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background:black;
    color: yellow;
    padding: 35px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
	gap: 500px;
    z-index: 1000;
	transition: all 0.4s ease; /* animacija smanjenja */
	
	background-image: repeating-linear-gradient(
        -60deg,                   /* ugao nagiba pravougaonika */
        rgba(255, 255, 0, 0.1),  /* boja pravougaonika (žuta, blago providno) */
        rgba(255, 255, 0, 0.1) 20px,  /* širina pravougaonika */
        transparent 20px,
        transparent 40px          /* razmak između pravougaonika */
    );
    background-size: auto 100%;
}

header .separator {
    width: 2px;        /* debljina linije */
    height: 40px;      /* visina linije */
    background: gray;  /* boja linije */
    margin: 0 20px;    /* razmak između loga i menija */
}

header .logo img.logo-img {
    height: 70px;          /* srazmerno veličini fonta teksta */
    margin-right: 10px;    /* prostor između logoa i teksta */
    vertical-align: middle; /* tekst i slika u istoj liniji */
}
header .logo {
    font-size: 30px;                  /* veličina teksta */
    font-weight: bold;                 /* bold */
    font-style: italic;                /* nakrivljena slova */
    color: yellow;                     /* boja */
    text-shadow: 2px 2px 4px black;   /* senka */
    font-family: "Verdana", sans-serif;
    display: flex;                     /* ključ: koristi flex da tekst ostane u redu */
    align-items: center;               /* vertikalno centrirano sa slikom */
    gap: 10px;                         /* prostor između logo slike i teksta */
    white-space: nowrap;               /* ključ: ne dozvoljava prelamanje linije */
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
	transition: all 0.4s ease; /* animacija smanjenja */
}
header .logo img {
    width: 75px; /* početna veličina */
    transition: all 0.4s ease;
}

/* Smanjeno stanje headera kada se skroluje */
header.shrink {
    padding: 0px 5px; /* manja visina */
}

header.shrink .logo {
    font-size: 20px;    /* manja veličina teksta */
}

header.shrink .logo img {
    width: 75px;        /* manja veličina logoa */
}
header .logo:hover {
    transform: translateY(-5px);   /* podiže tekst blago gore */
    color: orange;                 /* menja boju */
    text-shadow: 3px 3px 5px black; /* jača senka */
}

header nav {
    display: flex;               /* linkovi u jednom redu */
    gap: 10px;                   /* razmak između linkova */
    align-items: center;          /* vertikalno centrirano sa logoom */
}


header nav a {
    color: yellow;
    text-decoration: none;
    margin-left: 25px;
    font-weight: bold;
	font-size: 25px;
	font-style:italic;
	transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
	position: relative;
	padding: 0 20px;
}

header nav a::before {
    content: " ";
    position: absolute;
    left: -20px;                 /* na početku linka */
    top: 50%;                /* vertikalno centrirano */
    transform: translateY(-50%) rotate(10deg); 
    width: 2.5px;              /* debljina linije */
    height: 65px;            /* visina linije */
    background: yellow;      /* boja linije */
}




header nav a:hover {
    color: orange;                        /* boja na hover */
    transform: translateY(-3px);          /* blago podignut tekst */
    text-shadow: 2px 2px 4px black;       /* senka poput loga */
}
header nav a::after {
    content: "";                      /* prazno za liniju */
    position: absolute;
    left: 0;
    bottom: -4px;                     /* razmak od teksta */
    width: 0;                          /* širina počinje od 0 */
    height: 2px;                       /* debljina linije */
    background: orange;                /* boja linije */
    transition: width 0.3s ease;      /* animacija širenja */
}

/* Hover efekat */
header nav a:hover::after {
    width: 100%;                      /* linija se širi do kraja teksta */
}


.fade-in {
    opacity: 0;                  /* početno nevidljivo */
    transform: translateY(20px); /* malo pomereno dole */
    transition: opacity 0.8s ease, transform 0.8s ease; /* glatka animacija */
}

.fade-in.show {
    opacity: 1;                  /* postaje vidljivo */
    transform: translateY(0);    /* vraća se na svoje mesto */
}



/* HERO SEKCIJA */
.hero {
    position: relative;
    height: 600px;
    background: url("2.jpeg") center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 65px; /* prostor za fixed header */
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    color: white;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 25px;
}

.hero-btn {
    padding: 15px 35px;
    background: yellow;
    color: black;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
}

/* STICKY POZIV DUGME */
.call-now {
    position: fixed;
    bottom: 40px;
    right: 30px;
	font-size: 20px;
    background: yellow;
    color: black;
    padding: 20px 45px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
	transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.call-now:hover {
    background: orange;           /* svetlija boja pozadine */
    transform: translateY(-3px);    /* blago podizanje */
    box-shadow: 0 6px 12px rgba(0,0,0,0.4); /* jača senka */
}

/* SEKCIJE */
.section {
    padding: 80px 20px;
    text-align: center;
    background: gray;
}
.contact-section {
    padding: 200px 20px;
	background: url("3.jpeg") center center/cover no-repeat;
}
.contact-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.contact-content {
    position: relative;
    z-index: 2;
    color: white;
}

.services-section {
    background: black;

    background-image: repeating-linear-gradient(
        -60deg,
        rgba(255, 255, 0, 0.08),
        rgba(255, 255, 0, 0.08) 20px,
        transparent 20px,
        transparent 40px
    );

    background-size: auto 100%;
}
.services-section h2 {
    font-size: 46px;
    color: white;
    margin-bottom: 100px;
}

.services-section p {
    font-size: 22px;
    color: black;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.6;
}
/* USLUGE */
.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.service-box {
    background: yellow;
    padding: 30px;
    width: 260px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* KONTAKT */
.contact-section p {
    margin: 8px 0;
}

.contact-map {
    width: 100%;
    max-width: 700px;
    margin: 40px auto 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 350px;
}

.contact-content{
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;

    max-width: 1400px;
    margin: auto;
}

.contact-map{
    flex: 1;
    max-width: 700px;
}

.contact-info{
    flex: 1;
    color: white;
    text-align: left;
}

.contact-info h2{
    font-size: 42px;
    margin-bottom: 30px;
}

.contact-info p{
    font-size: 22px;
    margin: 18px 0;
}

.instagram{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.instagram img{
    width: 50px;
    height: 50px;
	transition: transform 0.3s ease;
}

.instagram a{
    color: white;
    text-decoration: none;
    font-size: 23px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.instagram:hover img {
    transform: translateY(-3px) scale(1.1);
}

.instagram:hover a {
    color: yellow;
    transform: translateY(-3px);
}

.contact-item{
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: white;
    font-size: 22px;
    font-weight: bold;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.contact-item img{
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.contact-item:hover{
    transform: translateY(-3px);
    text-shadow: 2px 2px 4px black;
}

.contact-item:hover img{
    transform: scale(1.1);
}

/* O NAMA */

.about-section{
    background: black;
    padding: 120px 80px;
}

.about-section h2{
    color: white;
    font-size: 46px;
    text-align: center;
    margin-bottom: 80px;
}

.about-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;

    max-width: 1400px;
    margin: auto;
}

.about-text{
    flex: 1;
}

.about-text p{
    color: white;
    font-size: 24px;
    line-height: 1.8;
    text-align: left;
}

.about-image{
    flex: 1;
    display: flex;
    justify-content: center;
}


.about-image img{
    width: 100%;
    max-width: 460px;
    border-radius: 15px;

    transition: transform 0.4s ease,
                box-shadow 0.4s ease,
                border-color 0.4s ease;

    border: 3px solid transparent;
}
.about-image img:hover{
    transform: translateY(-6px) scale(1.03);

    border-color: yellow;

    box-shadow: 0 15px 35px rgba(255,255,0,0.25);
}

.about-image{
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 25px;
}

.main-image{
    width: 60%;
    border-radius: 15px;
    border: 3px solid yellow;
}

.second-image{
    width: 40%;
    border-radius: 15px;
    border: 3px solid yellow;

    margin-top: 120px; /* spušta drugu sliku */
}

.about-text {
    flex: 1;
    margin-right: 80px;
}

.about-text p {
    color: #d8d8d8;
    font-size: 20px;
    line-height: 1.7;
    margin: 0 0 22px;
}

.about-text .about-intro {
    color: white;
    font-size: 27px;
    font-weight: bold;
    line-height: 1.45;
    border-left: 4px solid yellow;
    padding-left: 18px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin: 32px 0;
}

.about-feature {
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 0, 0.35);
    background: rgba(255, 255, 0, 0.06);
    border-radius: 8px;
    transition: transform 0.3s ease,
                background 0.3s ease,
                border-color 0.3s ease;
}

.about-feature::before {
    content: "✓";
    color: yellow;
    margin-right: 10px;
}

.about-feature:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 0, 0.12);
    border-color: yellow;
}

.about-btn {
    display: inline-block;
    background: yellow;
    color: black;
    padding: 16px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease,
                background 0.3s ease,
                box-shadow 0.3s ease;
}

.about-btn:hover {
    background: orange;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(255, 165, 0, 0.25);
}

/* FOOTER */
footer {
    background: black;
    color: white;
    text-align: center;
    padding: 25px 10px;
}

/* HAMBURGER DUGME */
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 7px;
    background: transparent;
    border: 1px solid yellow;
    border-radius: 6px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    margin: 5px 0;
    background: yellow;
    border-radius: 3px;
    transition: transform 0.3s ease,
                opacity 0.3s ease;
}

/* MOBILNA VERZIJA */
@media (max-width: 768px) {

    body,
    html {
        width: 100%;
        overflow-x: hidden;
    }

    /* HEADER */
    header {
        width: 100%;
        padding: 12px 15px;
        gap: 0;
        justify-content: center;
    }

    header .logo {
        font-size: 20px;
        gap: 6px;
        white-space: nowrap;
    }

    header .logo img.logo-img {
        width: 55px;
        height: 55px;
        margin-right: 5px;
    }

    /* Za sada sakrivamo desktop meni */
    header {
    justify-content: space-between;
}

/* Prikazuje hamburger dugme */
.menu-toggle {
    display: block;
    flex-shrink: 0;
}

/* Mobilni meni */
header nav {
    position: absolute;
    top: 100%;
    left: 0;

    width: 100%;
    padding: 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;

    background: rgba(0, 0, 0, 0.97);
    border-top: 1px solid rgba(255, 255, 0, 0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    pointer-events: none;

    transition: opacity 0.3s ease,
                transform 0.3s ease,
                visibility 0.3s ease;
}

/* Otvoren mobilni meni */
header nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

header nav a {
    width: 100%;
    margin: 0;
    padding: 16px 10px;

    font-size: 19px;
    text-align: center;
}

/* Uklanja kose separatore na telefonu */
header nav a::before {
    display: none;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

    /* Smanjeni header pri skrolovanju */
    header.shrink {
        padding: 7px 12px;
    }

    header.shrink .logo {
        font-size: 17px;
    }

    header.shrink .logo img {
        width: 45px;
        height: 45px;
    }

    /* HERO */
    .hero {
        height: 520px;
        margin-top: 79px;
        padding: 0 20px;
        background-position: center;
    }

    .hero-content {
        width: 100%;
        max-width: 360px;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 18px;
    }

    .hero-content p {
        font-size: 17px;
        line-height: 1.4;
        margin-bottom: 25px;
    }

    .hero-btn {
        display: inline-block;
        padding: 14px 25px;
        font-size: 16px;
    }

    /* OPŠTE SEKCIJE */
    .section {
        padding: 70px 18px;
    }

    /* USLUGE */
    .services-section h2 {
        font-size: 36px;
        margin-bottom: 50px;
    }

    .services {
        flex-direction: column;
        align-items: center;
        gap: 22px;
        margin-top: 0;
    }

    .service-box {
        width: 100%;
        max-width: 340px;
        padding: 28px 20px;
    }

    .service-box h3 {
        font-size: 21px;
    }

    .services-section .service-box p {
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 0;
    }

    /* O NAMA */
    .about-section {
        padding: 70px 18px;
    }

    .about-section h2 {
        font-size: 36px;
        margin-bottom: 45px;
    }

    .about-container {
        flex-direction: column;
        gap: 45px;
    }

    .about-text {
        width: 100%;
        padding: 0;
        margin: 0;
        text-align: left;
    }

    .about-text p {
        font-size: 18px;
        line-height: 1.6;
    }
	.about-features {
    width: 100%;
    grid-template-columns: 1fr;
}

.about-feature {
    width: 100%;
    min-width: 0;
}

.about-text,
.about-container,
.about-image,
.contact-content,
.services {
    min-width: 0;
    max-width: 100%;
}

.about-text .about-intro {
    max-width: 100%;
    overflow-wrap: break-word;
}

    .about-image {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .about-image .main-image,
    .about-image .second-image {
        width: 100%;
        max-width: 340px;
        height: auto;
        margin-top: 0;
    }

    /* KONTAKT */
    .contact-section {
        padding: 80px 18px;
    }

    .contact-content {
        width: 100%;
        flex-direction: column;
        gap: 45px;
    }

    .contact-map {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .contact-map iframe {
        width: 100%;
        height: 300px;
    }

    .contact-info {
        width: 100%;
        text-align: left;
    }

    .contact-info h2 {
        font-size: 36px;
        text-align: center;
    }

    .contact-item,
    .instagram {
        font-size: 17px;
        gap: 10px;
    }

    .contact-item img,
    .instagram img {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .instagram a {
        font-size: 22px;
        overflow-wrap: anywhere;
    }

    /* STICKY POZIV */
.call-now {
    padding: 12px 18px;
    font-size: 14px;
    right: 10px;
    bottom: 10px;
}



    /* FOOTER */
    footer {
        padding: 22px 15px;
        font-size: 14px;
    }
}