/* Reset i osnove */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Sulphur Point;
    background-color: #0d0d0d;
    color: #f1f1f1;
    line-height: 1.6;
}

.flex-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.section-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 60px 20px;
}


/* --- HERO SECTION --- */
.hero {
    background-color: #101010;
    padding-top: 100px;
}

.hero-text {
    flex: 1 1 50%;
}

.UIUX_section-label {
    color: #F3E1B5;
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #cccccc;
}

.hero-image {
    flex: 1 1 45%;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}


/* -- WHAT WE DO SECTION */
.about {
    background-color: #101010;

}

/* Reversed container for About section */
.flex-container.reverse {
    flex-direction: row-reverse;
    gap: 40px;
}

.about .text {
    flex: 1 1 50%;
    text-align: left;
}

.about .text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #F3E1B5;
}

.about .text p {
    font-size: 1.2rem;
}

.about .text ul {
    list-style: none;
    margin-top: 20px;
    font-size: 1.1rem;
}

.about .text li {
    margin-bottom: 20px;
}

.about .image {
    flex: 1 1 45%;
    text-align: left;
}

.about .image img {
    max-width: 100%;
    border-radius: 12px;
}

/* --- OUR PROCESS SECTION --- */
.process {
    position: relative;
    background-color: #d6c0c0;
    padding: 60px 20px;
    background: url(Fotografije/UIUX_process_cover.jpg) center center/cover no-repeat;
}

.overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    /* 70% tamna da slika ima 30% vidljivost */
    z-index: 1;
}

.process .container {
    position: relative;
    /* da bude iznad overlay */
    z-index: 2;
}

.process h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #F3E1B5;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Stil za svaki “korak” */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #F3E1B5;
    font-weight: 300;
}

.step p {
    color: #e0e0e0;
    font-size: 1.2rem;
    text-align: center;
}

/* Ikonice unutar step */
.step .contact-icon {
    max-width: 60px;
    height: auto;
    /* margin bottom već u HTML koriste mb-3, ali možeš dodatno kontrolisati ovde po potrebi */
}

/* --- WHY CHOOSE US SECTION --- */
.why-us {
    background-color: #1a1a1a;
    padding: 60px 20px;
}

.why-us h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #F3E1B5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.column {
    display: flex;
    flex-direction: column;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.benefit {
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    /*background-color: #262626;*/
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;

}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit h4 {
    color: #F3E1B5;
    margin-bottom: 10px;
    font-size: 1.5rem;
    text-align: center;
}

.benefit p {
    font-size: 1.2rem;
    color: #e0e0e0;
    text-align: start;
}

.tagline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin-top: 70px;
    flex-wrap: wrap;
    border-top: 1px solid #F3E1B5;
    border-bottom: 1px solid #F3E1B5;
    padding: 20px;
}

.tag-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e0e0e0;
    font-size: 1.2rem;
}

/* --- CTA SECTION --- */
.cta {
    background-color: #0d0d0d;
    text-align: center;
    padding: 60px 20px;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

img,
svg {
    max-width: 100%;
    height: auto;
    /*display: block;*/
}



/* ==================================== */
/* 📱 FINALNI MEDIA QUERIES ZA MOBILNE */
/* ==================================== */


/* --- ZA LAPTOPE I TABLETE (DO 992px) --- */
@media (max-width: 992px) {

    /* OUR PROCESS GRID */
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
}


/* --- ZA TABLETE I VEĆE TELEFONE (DO 768px) --- */
@media (max-width: 768px) {

    /* GLOBALNO – FLEX SEKCIJE */
    .flex-container,
    .section-flex {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 40px 15px;
    }

    /* ABOUT ("What We Do") sekcija */
    .flex-container.reverse {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 30px;
    }

    .about .text,
    .about .image {
        flex: 1 1 100%;
        max-width: 600px;
    }

    .about .image img {
        margin: 0 auto;
        display: block;
    }

    .about .text ul {
        padding-left: 0;
    }

    /* HERO */
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
    .hero-image {
        margin-top: 40px;
    }

    /* WHY US – benefiti i tagline */
    .benefits {
        grid-template-columns: 1fr;
    }

    .benefit h4 {
        font-size: 1.3rem;
    }

    .benefit p {
        font-size: 1rem;
    }

    .tagline {
        gap: 20px;
        padding: 10px;
        margin-top: 40px;
    }

    /* FOOTER */
    .footer-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-section {
        flex: 1 1 100%;
    }

    /* NAVBAR */
    .navbar-brand img {
        width: 140px;
    }
}


/* --- ZA MALE TELEFONE (DO 576px) --- */
@media (max-width: 576px) {

    /* OUR PROCESS GRID */
    .process-steps {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .step h3 {
        font-size: 1.3rem;
    }

    .step p {
        font-size: 1rem;
    }

    /* CTA */
    .cta {
        padding: 40px 15px;
    }

    .cta h2 {
        font-size: 1.5rem;
    }

    /* NAVBAR ICONS */
    .navbar-toggler .menu-icon {
        width: 30px;
        height: 30px;
    }
}


/* --- EKSTREMNO MALI EKRANI (DO 400px) --- */
@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 1.6rem;
    }

    .btn-gold-custom {
        font-size: 0.9rem;
        padding: 10px 18px;
    }

    .tag-item span {
        font-size: 1rem;
    }
}

/* --- POPRAVKA "ABOUT / WHAT WE DO" SEKCIJE --- */
@media (max-width: 768px) {

    .about .text {
        text-align: center;
    }

    .about .text ul {
        list-style: none;
        padding: 0;
        margin: 20px auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .about .text li {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: 1.1rem;
        color: #e0e0e0;
        text-align: center;
        flex-wrap: nowrap;
    }

    .about .text li img {
        width: 28px;
        height: 28px;
        object-fit: contain;
    }

    .about .image img {
        margin: 0 auto;
        display: block;
        border-radius: 10px;
        max-width: 90%;
    }
}


/* --- ZA VEOMA MALE EKRANE --- */
@media (max-width: 480px) {

    .about .text li {
        flex-direction: row;
        gap: 8px;
        font-size: 1rem;
    }

    .about .text li img {
        width: 24px;
        height: 24px;
    }

    .about .text h2 {
        font-size: 1.8rem;
    }

    .about .text p {
        font-size: 1rem;
    }
}


/* --- RESPONSIBLE --- */
/*@media (max-width: 1200px) {
    .process h2 {
        font-size: 2.2rem;
    }

    .step h3 {
        font-size: 1.4rem;
    }

    .step p {
        font-size: 1.1rem;
    }
}

@media (max-width: 900px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .process {
        padding: 40px 15px;
    }

    .process h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .step h3 {
        font-size: 1.3rem;
    }

    .step p {
        font-size: 1rem;
    }
}

/* Responzivni stilovi */
/*@media (max-width: 1024px) {
    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .tagline {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .benefits {
        grid-template-columns: 1fr;
    }

    .tagline {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .why-us h2 {
        font-size: 2rem;
    }

    .benefit h4 {
        font-size: 1.3rem;
    }

    .benefit p {
        font-size: 1rem;
    }

    .tag-item {
        font-size: 1rem;
    }
}