:root {
    --primary: #ff6600; /* narandžasta */
    --accent: #0099ff;  /* plava */
    --light-bg: #fdfdfd;
    --dark-text: #333333;
    --dark-element: rgba(0,0,0,0.05);
    --hover: #ff7300;
}

/* Reset */
* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: Arial, sans-serif; 
    background: var(--light-bg); 
    color: var(--dark-text);
    padding-top: 120px; /* adjust depending on your header height */
}

/* HEADER + NAV */
header {
    display: flex;
    justify-content: center; /* desktop centrirano */
    align-items: center;
    padding: 10px 20px;
    background: #000000;
    position: fixed;  
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-text {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #ff7300;
    font-weight: bold;
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
}

.logo img {
    height: 100px;
    width: 100px;
    margin-right: 20px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #0099ff;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--hover);
}

/* HAMBURGER */
.burger {
    display: none; 
    flex-direction: column;
    cursor: pointer;
}

.burger span {
    height: 3px;
    width: 25px;
    background: #fff;
    margin: 4px 0;
    transition: all 0.3s ease;
}

.burger.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.toggle span:nth-child(2) {
    opacity: 0;
}
.burger.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* HERO */
.hero {
    min-height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background: var(--light-bg);
}

.hero h1 { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }
.hero p { font-size: 1.2rem; max-width: 800px; margin: 0 auto; line-height: 1.6; }

/* CONTACT BOXES FIXED 2x2 */
.contact-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-template-rows: auto auto;         
    gap: 30px;
    padding: 60px 20px;
}

.contact-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.contact-box h2 { margin-bottom: 15px; color: var(--accent); font-size: 1.5rem; }
.contact-box p { margin-bottom: 15px; font-size: 1rem; line-height: 1.5; }

/* SOCIAL LINKS */
.social-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    font-weight: bold;
    transition: color 0.3s, transform 0.2s;
}

.social-link:hover {
    color: var(--accent);
    transform: scale(1.05);
}

.social-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
}

.Subota{
    padding-right: 30px;
}

.MB{
    padding-right: 10px;
}


/* CTA */
.cta { text-align:center; background: var(--primary); color:#fff; padding:60px 20px; margin-top:40px; }
.cta h2 { font-size:2rem; margin-bottom:15px; }
.cta p { font-size:1rem; max-width:650px; margin:0 auto 20px; line-height:1.5; }
.cta a { display:inline-block; background:#fff; color: var(--primary); padding:12px 28px; text-decoration:none; font-weight:600; border-radius:5px; transition:.3s; }
.cta a:hover { background: var(--accent); color:#fff; transform: scale(1.05); }

/* FOOTER */
footer { text-align:center; padding:20px 15px; border-top:3px solid var(--primary); font-size:0.9rem; background: white; color: var(--dark-text); }
footer h3 { margin-bottom: 10px; color: var(--primary); }

/* RESPONSIVE */
@media screen and (max-width: 768px) {
    header { justify-content: space-between; }
    
    .header-text { display: block; }

    nav ul {
        position: absolute;
        top: 120px;
        right: 0;
        background: #000000;
        flex-direction: column;
        width: 100%; /* full width on mobile */
        display: none;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 0;
    }

    nav ul.show { display: flex; }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 15px;
        margin: 0;
        color: #0099ff;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .burger { display: flex; }

    .hero h1 { font-size: 2.2rem; }

    .contact-boxes { 
        grid-template-columns: 1fr; 
        grid-template-rows: auto;  
        gap: 20px;
        padding: 40px 15px;
    }
}

