/* ===== Base styles ===== */
body {
    margin: 0;
    font-family: Sulphur Point;
    background-color: #121212;
    color: #f1f1f1;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

/* ===== Hero Section ===== */
.web-hero {
    padding: 80px 0;
    background-color: #0B0F12;
    margin-top: 80px;
}

.web-hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    /* ključna linija */
    justify-content: space-between;
    gap: 40px;
    min-height: 400px;
}

.web-hero-image,
.web-hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 300px;
}

.web-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.web_section-label {
    color: #F3E1B5;
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.web-hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.web-hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #cccccc;
}

/* ===== Approach Section ===== */
.approach {
    background-color: #000000;
    padding: 100px 0;
}

.approach-content {
    display: flex;
    flex-wrap: wrap-reverse;
    align-items: stretch;
    /* bitno: elementi iste visine */
    justify-content: space-between;
    gap: 40px;
    min-height: 400px;
}


.approach-image,
.approach-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 300px;
    font-size: 1.2rem;
    color: #cccccc;
}


.approach-text h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    color: #F3E1B5;
}

.approach-text ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.approach-text li {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.approach-text ul li {
    display: flex;
    align-items: center;
    gap: 12px; /* prostor između ikonice i teksta */
    margin-bottom: 12px;
    font-size: 1.2rem;
}

/* Ikonice u listi */
.approach-text ul li img.contact-icon {
    width: 28px; /* prilagodi po potrebi */
    height: 28px;
}


.approach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* ===== Technologies Section ===== */
.web-tech {
    background-color: #121212;
    padding: 80px 0;
    text-align: center;
    color: #cccccc;
}

.web-tech-content h2 {
    font-size: 2.3rem;
    margin-bottom: 20px;
    color: #F3E1B5;
    text-align: center;
}

.web-tech-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #cccccc;
    text-align: center;
}


.web-tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.web-tech-grid span {
    margin-top: 8px;
    display: block;
    color: #cccccc;
}


.web-tech-grid div {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.3s ease;
    cursor: default;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 130px;
}


.web-tech-grid div:hover {
    transform: translateY(-5px);
    background-color: #2a2a2a;
}


/* ===== Call to Action Section ===== */
.web-cta {
    background-color: #0d0d0d;
    text-align: center;
    padding: 60px 20px;
}

.web-cta-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.web-cta-content p {
    margin-bottom: 25px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {

    .web-hero-content,
    .approach-content {
        flex-direction: column;
        text-align: center;
    }

    .web-hero-content {
        flex-direction: column;
    }

    .approach-text {
        align-items: center; /* centriranje teksta */
    }

    .approach-text ul li {
        justify-content: center; /* centrira ikonice i tekst */
        text-align: center;
        gap: 8px;
    }

    .approach-text ul li img.contact-icon {
        width: 24px;
        height: 24px;
    }

    .web-hero-text h2,
    .approach-text h2,
    .web-cta-content h2,
    .web-tech-content h2 {
        font-size: 24px;
    }


    .btn {
        padding: 10px 20px;
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .web-tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .web-tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}