/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* === NAVIGATION BAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px; /* Thicker navbar */
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: flex-end; /* Push content to right */
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
}

.navbar-right a {
    color: white;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.navbar-right a:hover {
    color: #ddd;
}


.dark-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust darkness */
    z-index: 1;
}

.section {
    position: relative; /* Needed so the overlay can be positioned absolutely inside */
    overflow: hidden;
}



body, html {
    font-family: 'League Spartan', sans-serif;
    scroll-behavior: smooth;
    background-color: #000;
}


.section {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px;
}

/* === HERO SECTION FIXED === */
#hero {
    padding-top: 80px;
    background-image: url("images/C1.webp");
    background-size: cover;
    background-position: center;
    min-height: 150vh;
    position: relative;
    color: white;
}

/* Top-left heading with no box */
.hero-left {
    position: absolute;
    top: 40px;
    left: 40px;
    text-align: left;
    color: white;
}

.hero-left h1 {
    font-size: clamp(80px, 4vw, 100px);
    font-weight: bold;
    margin: 0;
}

.hero-left h2 {
    font-size: 30px;
    margin-bottom: 10px;
}

.hero-left h3 {
    font-size: 22px;
    font-weight: normal;
    margin-top: 10px;
}

/* Bottom-right stats with no box */
.hero-right {
    position: absolute;
    bottom: 70px;
    right: 200px;
    text-align: left;
    color: white;
}

.hero-right p {
    font-size: 30px;
    margin: 5px 0;
}

/* === NAŠI BIZNISI SECTION (custom layout) === */
#biznisi {
    background-color: #000;
    min-height: 150vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.biznis-box .social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.biznisi-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
    margin-top: 100px;
}


.biznis-box {
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    width: 280px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.biznis-box img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.biznis-box a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.biznis-box a:hover {
    background-color: #444;
}
.section-title {
    margin-top: 100px;
    text-align: center;
    color: white;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px; /* razmak ispod naslova */
    padding-top: 20px; /* razmak iznad ako treba */
    font-family: 'League Spartan', sans-serif;
}




/* === OFFICE STATS SECTION === */
#office .overlay.left {
    position: absolute;
    left: 60px;
    top: 80%;
    transform: translateY(-50%);
    text-align: left;
    color: white; /* Make text white */
    min-height: 150vh;
}


#office .overlay.left p {
    font-size: 70px; /* Bigger font */
    font-weight: 700; /* Optional: Make it bold */
    margin: 14px 0;
}


/* === BRENDIRANJE SECTION === */
#brendiranje .overlay.left {
    position: absolute;
    left: 40px;
    top: 120%;
    transform: translateY(-50%);
    text-align: left;
    color: white;
    min-height: 150vh;
;
}

#brendiranje h2 {
    font-size: 100px;
    margin-bottom: 10px;
}

#brendiranje h3 {
    font-size: 60px;
    font-weight: normal;
}

.ponuda-overlay {
    margin: 300px auto 0;
    padding: 40px;
    border-radius: 16px;
    width: 60%;
    min-height: 150vh;
}

.ponuda-text {
    text-align: center;
    color: white;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ponuda-row.verticals {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.ponuda-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ponuda-col .number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 5px;
}

.ponuda-col .label {
    font-size: 18px;
    line-height: 1.2;
}

.big-title {
    font-size: 60px;
    font-weight: 900;
    margin-top: 20px;
    letter-spacing: 0.05em;
    color: white;
}



/* === KONTAKT SECTION === */
#kontakt .overlay.left {
    position: absolute;
    left: 40px;
    top: 40px; /* Push down from top instead of centering */
    transform: none; /* Remove vertical centering */
    text-align: left;
    color: white;
    min-height: 150vh;
}
.kontakt-info {
    font-size: 36px;
    font-weight: 600;
    color: white;
}

/* Make sure the parent box is left-aligned */
.kontakt-box {
    font-size: 22px;
    line-height: 1.6;
    max-width: 500px;
    text-align: left; /* << ALIGN TEXT TO LEFT */
}

/* Style heading */
.kontakt-box h2 {
    font-size: 45px;
    margin-bottom: 20px;
    text-align: left; /* << Also align the heading */
}

/* Align social icons to the left */
.social-icons {
    margin-top: 10px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-start; /* << Align icons to the left */
}

.social-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.instagram-icon {
    filter: invert(100%);
}
.social-links {
    display: flex;
    flex-direction: column;  /* stack vertically */
    gap: 20px;               /* spacing between links */
    justify-content: flex-start;
    font-size: 22px;
    font-weight: 600;
    color: white;
}

.social-links a {
    color: white;            /* white text */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ddd;
}

.social-links a,
.social-links a:visited,
.social-links a:hover,
.social-links a:active,
.social-links a:focus {
    color: white !important;    /* force white */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ddd !important;     /* lighter on hover */
}
.social-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.social-icon:hover {
    transform: scale(1.1);
}
#kontakt .social-icons .social-icon {
    width: 150px !important;
    height: auto !important;
}

/* ================================
   MOBILE STYLES (max-width: 768px)
   ================================
*/
@media screen and (max-width: 768px) {

    /* ===== HERO SECTION ===== */
    #hero {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        padding: 60px 10px 10px 10px;
        min-height: 60vh;
        position: relative;
    }
    .hero-left {
        position: relative;
        width: 55%;
        text-align: left;
        margin: 0;
        padding: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-left h1 {
        font-size: 48px; /* Final font size for mobile */
        font-weight: 700;
        margin: 5px 0;
    }
    .hero-left h2 {
        font-size: 22px; /* Final font size for mobile */
        margin-bottom: 2px;
    }
    .hero-left h3 {
        font-size: 18px; /* Final font size for mobile */
        font-weight: 400;
        margin: 6px 0 0 0;
    }
    .hero-right {
        position: relative;
        width: 45%;
        text-align: right;
        z-index: 2;
        margin-top: 470px;
        margin-left: 350px;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
    }
    .hero-right p {
        font-size: 22px;
        font-weight: 700;
        margin: 3px 0;
    }
    .buttons a {
        margin: 5px;
        padding: 10px 18px;
    }

    /* ===== OFFICE STATS SECTION ===== */
    #office {
        margin-bottom: 40px; /* Space after office stats for ponuda */
    }
    #office .overlay.left p{
        padding: 0 0 0 15px;
        font-size: 40px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: left;
        justify-content: center;
        text-align: left;
        margin-bottom: 0;
    }

    /* ===== PONUDA SECTION ===== */
    #ponuda {
        /* No top padding here to keep it high */
    }
    #ponuda .ponuda-overlay {
        margin-top: 60px;          /* Move ponuda content lower if needed */
        padding-bottom: 40px;
    }
    #ponuda .ponuda-text,
    #ponuda .ponuda-box {
        margin-bottom: 20px;
    }
    #ponuda .overlay.center {
        padding: 20px;
    }
    #ponuda .ponuda-row.verticals {
        flex-wrap: wrap;
    }
    #ponuda .ponuda-col {
        min-width: 40%;
        margin-bottom: 12px;
    }
    #ponuda .ponuda-col .number,
    #ponuda .ponuda-col .label {
        font-size: 28px !important; /* Office stats/ponuda numbers */
    }
    #ponuda .big-title {
        font-size: 35px !important;
    }

    /* ===== BIZNISI (OUR COMPANIES) SECTION ===== */
    .biznisi-container {
        display: flex;
        flex-direction: column !important;
        align-items: center;
        gap: 20px;
    }
    .biznis-box {
        width: 40% !important;
        margin: 0 0 50px 0;
    }
    .biznis-box a {
        font-size: 13px;
        word-break: break-all;
        overflow-wrap: break-word;
        text-align: center;
        max-width: 100%;
    }
    #biznisi {
        padding-bottom: 30px;
    }

    /* ===== BRENDIRANJE SECTION ===== */
    #brendiranje {
        margin-top: 40px; /* Extra top space after ponuda or biznisi */
    }
    #brendiranje .dark-overlay {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        min-height: 240px; /* Or adjust as needed */
    }
    #brendiranje .overlay.left {
        padding: 60px 10px 10px 15px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: left;
        justify-content: center;
        text-align: left;
        margin-bottom: 0;
    }
    #brendiranje .overlay.left h2 {
        font-size: 40px !important;
    }
    #brendiranje .overlay.left h3 {
        font-size: 29px !important;
    }

    /* ===== KONTAKT SECTION ===== */
    #kontakt .overlay.left {
        padding: 0 0 0 25px;
        font-size: 15px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }
    #kontakt .social-icons .social-icon {
        width: 150px !important;
        height: auto !important;
    }

}
@media screen and (max-width: 768px) {
    #brendiranje .overlay.left {
        color: #fff !important;           /* Make text white for contrast */
        z-index: 10 !important;           /* Make sure it sits above overlays/images */
        position: relative !important;    /* Prevent being hidden */
        text-shadow: 1px 1px 4px #000;    /* Add subtle shadow for readability */
        background: none !important;      /* Remove unwanted backgrounds */
        display: block !important;        /* Make sure it is visible */
    }

}