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

body {
    font-family: Arial, sans-serif;
}

/* ===== HEADER ===== */
header {
    width: 100%;
    height: 90px;
    background: #ffffff;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.logo img {
    height: 60px;
}

/* ===== NAVIGATION ===== */
nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: 500;
    transition: 0.3s;
    font-size: 0.8rem;
}

nav ul li a:hover {
    color: #f39c12;
}

/* ===== DROPDOWN ===== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    display: none;
    flex-direction: column;
    padding: 10px 0;
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.dropdown-menu a {
    color: #111;
    padding: 10px 20px;
    text-decoration: none;
    transition: 0.2s;
}

.dropdown-menu a:hover {
    color: #f39c12;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

/* ===== CONTACT BUTTON ===== */
.ct-button a {
    background: #f39c12;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.ct-button a:hover {
    background: #b2730d;
}

/* ===== BURGER ICON ===== */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: rgb(0, 0, 0);
    cursor: pointer;
    position: relative;
    z-index: 1100; /* VEĆE od nav */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background:rgba(255, 177, 1, 1);
        flex-direction: column;
        padding-top: 80px;
        transition: 0.4s ease;
        gap: 30px;
        z-index: 1000; /* bitno */
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

       nav ul li a:hover{
        color: white;
    }
    .dropdown-menu {
        position: static;
        background:rgba(255, 177, 1, 1);
        display: none;
        padding: 0;
    }

    .dropdown-menu a {
        color: rgb(0, 0, 0);
    }

     .dropdown-menu a:hover{
        color: rgb(0, 0, 0);
        background-color: white;
    }

    .dropdown.active .dropdown-menu {
        display: flex;
    }

    .ct-button {
        text-align: center; 
    }
.ct-button a {
    background:white;
    color:#000000;
    font-weight: 400;
    font-size: 0.8rem;
}

.ct-button a:hover{
    background:rgb(255, 255, 255);
    color:#000000;
    font-weight: 400;
    font-size: 0.9rem;
}
 .menu-toggle {
        display: block;
        font-size: 28px;
        color: rgb(0, 0, 0);
        cursor: pointer;
        position: relative;
        z-index: 1100;
    }

     header {
        padding: 15px 20px;
    }
    }
  

    /* ===== HERO SECTION ===== */
.hero-section {
    width: 100%;
    height: calc(100vh - 90px); /* 90px = visina headera */
    background-image: url('wallpaper.png'); /* ako koristiš pozadinu */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-overlay {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;  /* horizontalno centriranje */
    align-items: center;      /* vertikalno centriranje */
    text-align: center;       /* centriran tekst */
    padding: 20px;
}

.hero-text {
    max-width: 900px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #f39c12;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: rgb(206, 206, 206);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-buttons .btn {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}

.primary-btn {
    background-color:#f39c12;
    color: rgb(255, 255, 255);
}

.primary-btn:hover {
    background-color: #d35400;
}

.secondary-btn{
    background-color:white;
    color:black;
}

.secondary-btn:hover {
    background-color: #f39c12;
    color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-overlay {
        padding: 0 40px;
    }

    .hero-left h1 {
        font-size: 1.9rem;
    }
}


@media (max-width: 768px) {
    .hero-overlay {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-left h1 {
        font-size: 1.6rem;
    }

    .hero-left p {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-right {
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .hero-left h1 {
        font-size: 1.3rem;
    }

    .hero-left p {
        font-size: 0.95rem;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
    }
}



.proces-detail-section {
    background-color: #ffffff;
    padding: 100px 20px;
}

.proces-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 10px auto;
    flex-wrap: wrap;
}

.proces-row.reverse {
    flex-direction: row-reverse;
}

.proces-image {
    flex: 1;
    min-width: 200px;
}

.proces-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.proces-text {
    flex: 1;
    min-width: 300px;
}

.proces-text h1 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #f39c12;
    text-align: center;
    padding: 5px;
}

.proces-text p {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom:20px;
    color: #828282;
    text-align: justify;
}

.secondary-btn3{
    border: 1px solid black;
    color: black;
}

.secondary-btn3:hover{
    background-color: #f39c12;
    color: white;
    border: none;
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        margin-bottom: 80px;
    }

    .service-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .service-buttons {
        justify-content: center;
    }
}



/* ===== GALERIJA NASLOV I TEKST ===== */
.gallery-section {
    width: 100%;
    padding: 80px 20px;
    text-align: center;
    background-image: url('wallpaper.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
}


.gallery-header h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #f39c12;
}
.gallery-header{
    text-align: center;
}
.gallery-header,
.carousel-slider,
.gallery-buttons {
    position: relative;
    z-index: 1;
}

.gallery-header p {
    font-size: 1rem;
    margin-bottom: 40px;
    line-height: 1rem;
    color: #c3c3c3;
}

/* ===== SLIDER ===== */
.carousel-slider {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    gap: 20px; /* razmak između slika */
    padding: 20px 0;
}

.slide {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.5s ease;
    cursor: pointer;
    opacity: 0.5;
}

/* Srednja slika */
.slide.active {
    transform: scale(1.3);
    opacity: 1;
    z-index: 3;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Bočne slike */
.slide.left1,
.slide.right1 {
    width: 180px;
    height: 110px;
    opacity: 0.7;
    z-index: 2;
}

.slide.left2,
.slide.right2 {
    width: 150px;
    height: 90px;
    opacity: 0.5;
    z-index: 1;
}

/* Strelice */
.carousel-slider button.prev,
.carousel-slider button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(243, 156, 18, 0.8);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: 0.3s;
}

.carousel-slider button.prev:hover,
.carousel-slider button.next:hover {
    background-color: #d35400;
}

.carousel-slider button.prev {
    left: 10px;
}

.carousel-slider button.next {
    right: 10px;
}

/* DUGMAD ISPOD SLIDERA */
.gallery-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.gallery-buttons .btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.gallery-buttons .primary-btn {
    background-color: #f39c12;
    color: #fff;
}

.gallery-buttons .primary-btn:hover {
    background-color: #d35400;
}

.gallery-buttons .secondary-btn {
    background-color: #fff;
    color: #000000;
}   

.gallery-buttons .secondary-btn:hover {
    background-color: #f39c12;
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .slide.active { transform: scale(1.2); }
    .slide.left1, .slide.right1 { width: 140px; height: 90px; }
    .slide.left2, .slide.right2 { width: 120px; height: 75px; }
}

@media (max-width: 480px) {
    .slide.active { transform: scale(1.1); }
    .slide.left1, .slide.right1 { width: 100px; height: 65px; }
    .slide.left2, .slide.right2 { width: 80px; height: 50px; }
}



/* ===== KNOWN SECTION TRANSPARENT ===== */
.known-section {
    width: 100%;
    background-color: #f8f8f8; /* ili druga boja pozadine */
    padding: 80px 60px;
    text-align: center;
    color: #111;
}

.known-container h3 {
    font-size: 2rem;
    margin-bottom: 50px;
}

/* GRID */
.known-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    max-width: 1000px;
    margin: 0 auto;
}

/* GRID ELEMENTI TRANSPARENTNI */
.known-item {
    padding: 40px 20px;
    position: relative;
}

/* Linije krsta */
.known-item:nth-child(1),
.known-item:nth-child(2) {
    border-bottom: 2px solid #ccc; /* horizontalna linija */
}

.known-item:nth-child(1),
.known-item:nth-child(3) {
    border-right: 2px solid #ccc; /* vertikalna linija */
}

/* Tekst */
.known-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.known-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .known-grid {
        grid-template-columns: 1fr; /* samo jedna kolona */
        grid-template-rows: auto;
    }

    /* Uklanjamo vertikalne linije */
    .known-item {
        border-right: none !important;  /* reset vertikalne linije */
        border-bottom: 2px solid #ccc;  /* horizontalne linije ostaju */
        margin-bottom: 20px;
    }

    /* Poslednja linija nema border-bottom */
    .known-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
}
@media (max-width: 480px) {
    .known-container h3 {
        font-size: 1.6rem;
    }

    .known-item h3 {
        font-size: 1.3rem;
    }

    .known-item p {
        font-size: 0.95rem;
    }
}


/* ===== SERVICES SECTION ===== */
.services-section {
    width: 100%;
   background: url('wallpaper.png') center/cover no-repeat;
    padding: 80px 60px;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services-header h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #f39c12;
}

.services-header p {
    font-size: 1rem;
    margin-bottom: 50px;
    color: #c3c3c3;
    line-height: 1.6;
}

/* GRID KARTICA */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(243, 156, 18, 0.5); /* glow efekat */
}

.service-image {
    flex: 8; /* 80% */
    overflow: hidden;
}

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

.service-text {
    flex: 2; /* 20% */
    padding: 10px 10px;
    font-weight: 200;
    font-size: 1rem;
    text-align: center;
    background: #000000;
    color: white;
}


/* Dugmad ispod */
.services-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
  
}

.services-buttons .btn {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}

.primary-btn {
    background-color: #f39c12;
    color: white;
}

.primary-btn:hover {
    background-color: #d35400;
}

.secondary-btnnn {
    background-color: white;
    color: #000000;
}   

.secondary-btnnn:hover {
    background-color: #f39c12;
    color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-header h2 {
        font-size: 2rem;
    }

    .services-header p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 20px;
    }

    .service-text {
        font-size: 0.95rem;
        padding: 10px;
    }

    .services-header h2 {
        font-size: 1.8rem;
    }

    .services-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .services-header h2 {
        font-size: 1.5rem;
    }

    .services-header p {
        font-size: 0.85rem;
    }
}


.social-section {
    background-color: #fff;  /* bela pozadina */
    padding: 80px 20px;
    text-align: center;
}

.social-header h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #f39c12;
}

.social-header p {
    font-size: 1rem;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #8e8e8e;
    padding: 10px 100px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 40px; /* razmak između ikonica */
    flex-wrap: wrap;
}

.social-icons .social-link img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s, filter 0.3s;
}

.social-icons .social-link:hover img {
    transform: scale(1.2);
    filter: brightness(1.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .social-icons {
        gap: 30px;
    }
    .social-icons .social-link img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .social-icons {
        gap: 20px;
    }
    .social-icons .social-link img {
        width: 35px;
        height: 35px;
    }
}





.contact-section {
    width: 100%;
    padding: 50px 20px;
    background-image: url('wallpaper.png'); /* stavi svoju sliku */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

/* KONTEJNER */
.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* OVO centrira levi deo u visini desnog dela */
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap; /* za mobilne uređaje */
}

/* LEVI DEO */
.contact-left {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertikalno centriranje */
}

.contact-left h3{
    color: #f39c12;
    font-size: 1.6rem;
    font-weight: lighter;
}

.contact-left p{
    font-size: 1rem;
    color: #b4b4b4;
    text-align: justify;
}

/* DESNI DEO */
.contact-right {
    flex: 1;
    min-width: 280px;
}

.contact-right h3{
    color: #8e8e8e;
}


/* FORM STIL */
.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: none;
    font-size: 1rem;
    background-color: transparent;
    border: 1px solid grey;
    color: white;
}



.contact-form button {
    padding: 12px 20px;
    border-radius: 5px;
    border: none;
    background-color:#f39c12;
    color:white;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background-color: white;
    color: black;
}


.contactauto p, a{
     color: #b4b4b4;
    text-decoration: none;
}

/* RESPONSIVE: tablet i mobil */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column; /* levi i desni deo jedan ispod drugog */
        align-items: center;    /* centrirano horizontalno */
    }

    .contact-left,
    .contact-right {
        width: 100%;
        text-align: center; /* tekst centriran */
        justify-content: center;
    }



}

footer{
    text-align: center;
    font-size: 0.7rem;
    background-color: black;
    color: #8e8e8e;
    padding: 5px;
}

