/* --- Osnovni Reset, Boje i Fontovi --- */
:root {
    --primary: #007bff;      /* Azure plava */
    --primary-dark: #0056b3;
    --text-dark: #1a1a1a;   /* Charcoal siva */
    --text-muted: #555;
    --bg-light: #f4f7f6;   /* Svetlo siva */
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0,0,0,0.06);
    --transition: all 0.3s ease;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Glatko skrolanje */
    font-size: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* --- Univerzalni Naslovi --- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header.left { text-align: left; }
.section-header h2 { font-size: 36px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: #000; }
.bg-light { background-color: var(--bg-light); padding: 100px 0; }

/* --- Dugmad (Buttons) --- */
.btn-solid, .btn-outline {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-solid { background-color: var(--primary); color: var(--white); }
.btn-solid:hover { background-color: var(--primary-dark); transform: translateY(-2px); }

.btn-outline { background-color: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background-color: var(--white); color: var(--primary); border-color: var(--white); }

.btn-small { padding: 10px 20px; font-size: 12px; }
.btn-full { width: 100%; text-align: center; margin-top: 10px;}

/* --- 1. Header (Navbar) --- */
header {
    background-color: transparent;
    position: fixed; top: 0; width: 100%; z-index: 1000;
    transition: var(--transition);
}

/* Opciono: Dodaj klasu 'scrolled' sa JS-om za promenu boje na skrol */
header.scrolled { background-color: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
header.scrolled .nav-links a { color: var(--text-dark); }
header.scrolled .logo strong { color: var(--text-dark); }

.navbar {
    display: flex; justify-content: space-between; align-items: center;
    height: 80px;
}

.logo strong { font-size: 20px; color: var(--white); font-weight: 800; letter-spacing: 0.5px; transition: var(--transition);}

.nav-links { display: flex; gap: 20px; }
.nav-links a { font-size: 13px; font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: 0.5px; transition: var(--transition); opacity: 0.9; }
.nav-links a:hover, .nav-links a.active { color: var(--white); opacity: 1; }
header.scrolled .nav-links a:hover, header.scrolled .nav-links a.active { color: var(--primary); }

.menu-toggle { display: none; font-size: 20px; color: var(--white); cursor: pointer; }

/* --- 2. Hero Sekcija --- */
.hero {
    height: 100vh; /* Puna visina ekrana */
    background-size: cover; background-position: center; background-repeat: no-repeat;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    position: relative;
    color: var(--white);
    margin-bottom: 0;
}

.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.3); z-index: 1; }

.hero-content { z-index: 10; position: relative; max-width: 800px; }
.hero-content h1 { font-size: 56px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1.5px; }
.hero-content p { font-size: 20px; font-weight: 400; opacity: 0.9; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 20px; justify-content: center; }

.scroll-down { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); font-size: 20px; opacity: 0.7; z-index: 10; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); } 40% { transform: translate(-50%, -10px); } 60% { transform: translate(-50%, -5px); } }

/* --- 3. Usluge Sekcija (Overlaping) --- */
.services-cards {
    display: flex; gap: 20px; justify-content: center;
    margin-top: -100px; /* Preklapanje sa hero sekcijom */
    position: relative; z-index: 20;
    margin-bottom: 80px;
}

.serv-card {
    background-color: var(--white);
    padding: 50px 30px; text-align: center;
    border-radius: 6px; flex: 1; min-width: 200px;
    box-shadow: var(--shadow);
    display: flex; flex-direction: column; align-items: center;
    transition: var(--transition);
}

.serv-card i { font-size: 32px; color: var(--primary); margin-bottom: 25px; opacity: 0.8; }
.serv-card h3 { font-size: 16px; font-weight: 700; text-transform: uppercase; color: #000; margin-bottom: 15px; }
.serv-card p { font-size: 13px; color: var(--text-muted); }
.serv-card.active { border: 2px solid var(--primary); }
.serv-card:hover { transform: translateY(-5px); }

/* --- 4. Zašto Nas Izabrati --- */
.why-grid { display: flex; gap: 20px; justify-content: center; width: 100%; }
.why-item { background: var(--white); padding: 40px; text-align: center; flex: 1; border-radius: 6px; box-shadow: 0 4px 15px rgba(0,0,0,0.02); display: flex; flex-direction: column; align-items: center; gap: 10px;}
.why-item i { font-size: 40px; color: var(--primary); opacity: 0.7; margin-bottom: 10px; }
.why-item h4 { font-size: 30px; font-weight: 800; color: #000; }
.why-item p { font-size: 13px; color: var(--text-muted); font-weight: 600;}

/* --- 5. Naši Proizvodi --- */
.our-products { padding: 100px 0; }
.product-main-img { width: 100%; border-radius: 8px; box-shadow: var(--shadow); margin-bottom: 50px; }
.product-grid { display: flex; gap: 20px; }
.prod-card { background: var(--white); padding: 40px; flex: 1; border-radius: 6px; border: 1px solid #eee; box-shadow: 0 2px 10px rgba(0,0,0,0.02); display: flex; flex-direction: column; gap: 15px; text-align: center;}
.prod-card h4 { font-size: 18px; font-weight: 700; color: #000; }
.prod-card p { font-size: 13px; color: var(--text-muted); }
.prod-card.active { background-color: var(--bg-light); border-color: var(--primary); }
.prod-icons { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text-dark); margin-top: 10px; align-items: center;}
.prod-icons i { color: var(--primary); margin-right: 5px;}

/* --- 6. Galerija i Kontakt --- */
.gallery-contact { display: flex; gap: 50px; padding: 100px 0 120px 0; }
.gallery-col { flex: 3; }
.gallery-col img { width: 100%; border-radius: 8px; box-shadow: var(--shadow); }
.contact-col { flex: 2; display: flex; flex-direction: column; gap: 20px; }

.contact-form { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 20px;}
.contact-form input, .contact-form textarea { padding: 15px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; width: 100%; font-size: 14px;}
.contact-form textarea { height: 150px; resize: none;}

/* --- 7. Footer --- */
footer { padding: 40px 0; background-color: var(--text-dark); color: rgba(255,255,255,0.6); font-size: 13px;}
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.social-links { display: flex; gap: 15px; font-size: 16px; }
.social-links a:hover { color: var(--white); }

/* --- RESPONSIVE (Prilagođavanje za Mobilne) --- */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 44px; }
    .services-cards, .why-grid, .product-grid, .gallery-contact { gap: 15px; flex-wrap: wrap; }
    .gallery-contact { flex-direction: column; }
    .serv-card, .why-item, .prod-card { min-width: calc(50% - 15px); }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Sakrij navigaciju na mob */
    .menu-toggle { display: block; } /* Prikaži hamburger */
    .hero { margin-bottom: 0; }
    .hero-content h1 { font-size: 32px; }
    .hero-content p { font-size: 16px; margin-bottom: 30px; }
    .hero-btns { flex-direction: column; gap: 10px; align-items: center; }
    .btn-solid, .btn-outline { width: 100%; max-width: 300px; text-align: center;}
    
    .services-cards { margin-top: -50px; }
    .serv-card, .why-item, .prod-card { min-width: 100%; }
    .why-item { padding: 30px; }
    
    .section-header h2 { font-size: 28px; }
    .gallery-contact { padding: 60px 0; }
    .gallery-contact .container { padding: 0; }
}