/* Base styles */
body {
    margin: 0;
    background-color: #0d0d0d;
    color: #f5f5f5;
}

/* Hero section */
.IT_hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 10%;
    min-height: 100vh;
    /*background-color: #0f1115;*/
    background-color: #000000;
}

/* Layout container */
.IT_hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

/* Text content */
.IT_text-content {
    flex: 1 1 500px;
}

.IT_section-label {
    color: #F3E1B5;
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.IT_main-title {
    color: #ffffff;
    /* Yellow title */
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.IT_description {
    color: #dddddd;
    /* Slightly darker white */
    font-size: 18px;
    max-width: 500px;
    line-height: 1.6;
    padding-bottom: 30px;
}

/* Image content */
.IT_image-content {
    position: relative;
    flex: 1 1 400px;
    text-align: right;
}

.IT_image-content img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

.IT_img_overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.278);
    /* 70% tamna da slika ima 30% vidljivost */
    z-index: 1;
}

/* --- About IT Support section --- */
.about-it {
    position: relative;
    background-color: #0f1115;
    padding: 100px 10%;
    text-align: center;
    overflow: hidden;
    /* Sprečava prelazak svetlosti van sekcije */
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-title {
    color: #F3E1B5;
    /* Yellow title */
    /*font-size: 38px;*/
    margin-bottom: 25px;
    font-weight: 500;
}

.about-text {
    color: #dcdcdc;
    /* Slightly darker white */
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

/* --- IT Support Types Section --- */
.it-support-types {
    background-color: #000000;
    padding: 100px 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.it-support-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 80px;
    width: 100%;
    max-width: 1200px;
}

/* Left - service cards */
.it-support-cards {
    flex: 1 1 450px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.support-card {
    background: #0f1115;
    border: 1px solid #2b2b2b;
    border-left: 4px solid #F3E1B5;
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.support-card:hover {
    background-color: #1a1a1a;
    border-left-color: #ffe9b3;
    transform: translateY(-5px);
}

.support-card h3 {
    color: #F3E1B5;
    font-size: 20px;
    margin-bottom: 10px;
}

.support-card p {
    color: #dcdcdc;
    font-size: 16px;
    line-height: 1.6;
}

/* Right - section text */
.it-support-text {
    flex: 1 1 450px;

}

.support-title {
    color: #F3E1B5;
    font-size: 36px;
    margin-bottom: 20px;
}

.support-description {
    color: #dddddd;
    font-size: 18px;
    line-height: 1.7;
    max-width: 500px;
}

/* --- Emerging Trends --- */
.emerging-trends {
    padding: 100px 10%;
    background-color: #0f1115;
    /* ili željena boja sekcije */
    text-align: center;
}

.trends-header h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #F3E1B5;
}

.trends-header p {
    font-size: 18px;
    color: #dddddd;
    max-width: 700px;
    margin: 0 auto 80px;
    /* centriranje paragraf */
    line-height: 1.6;
}

.trends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    justify-items: center;
    /* centriranje stavki */
}

.trend-item img {
    width: 80px;
    /* možeš prilagoditi */
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 3px rgba(243, 225, 181, 0.93));
}

.trend-item img:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.trend-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #F3E1B5;
}

.trend-item p {
    font-size: 16px;
    color: #ddd;
    line-height: 1.5;
}

/* --- CTA Section --- */
.cta-section {
    background-color: #000;
    /* tamna CTA pozadina */
    color: #fff;
    padding: 80px 10%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-container {
    max-width: 700px;
    width: 100%;
    text-align: center;
    /* centrira tekst i dugme */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* horizontalno centrira sve stavke */
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #f3f3f3;
}

.cta-button {
    display: block;
    width: 100%;
    max-width: 267px;
    /* ograniči širinu da prati tekst */
    padding: 0.75rem 1.5rem;
    background: linear-gradient(#4E4F53, #1a1a1a, #4E4F53);
    color: #ffffff;
    border: 1px solid #F3E1B5;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    margin: 0 auto;
    /* centriraj ako treba */
    /*margin: 0;*/
    /* <-- ovo poravnava lijevo */
}

/* Hover efekat */
.cta-button:hover {
    background: #F3E1B5;
    color: #000;
    border-color: #F3E1B5;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

img,
svg {
    max-width: 100%;
    height: auto;
    /*display: block;*/
}


/*********************** Responsive design **********************/
@media (max-width: 768px) {
    .IT_hero-content {
        flex-direction: column;
        text-align: center;
        margin-top: 80px;
    }

    .IT_image-content {
        text-align: center;
        flex-basis: auto;
    }

    .IT_main-title {
        font-size: 32px;
    }

    .IT_description {
        font-size: 16px;
    }

    .about-title {
        font-size: 30px;
    }

    .about-text {
        font-size: 16px;
    }

    .it-support-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .it-support-cards {
        grid-template-columns: 1fr;
    }

    .support-title {
        font-size: 30px;
    }

    .support-description {
        font-size: 16px;
        max-width: 100%;
    }

    .cta-container h2 {
        font-size: 2rem;
        color: #F3E1B5;
    }

    .cta-container p {
        font-size: 16px;
    }

    .cta-button {
        display: block;
        width: 100%;
        max-width: 267px;
        /*220*/
        /* ograniči širinu da prati tekst */
        padding: 0.75rem 1.5rem;
        background: linear-gradient(#4E4F53, #1a1a1a, #4E4F53);
        color: #ffffff;
        border: 1px solid #F3E1B5;
        border-radius: 50px;
        font-size: 1.1rem;
        font-weight: 600;
        text-align: center;
        transition: all 0.3s ease-in-out;
        text-decoration: none;
        margin: 0 auto;
        /* centriraj ako treba */
        /*margin: 0;*/
        /* <-- ovo poravnava lijevo */
    }
}