/* Globalni stilovi */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --bg-light: #f9fafb;
    --text-dark: #111827;
    --text-muted: #4b5563;
    --white: #ffffff;
    --border: #e5e7eb;
}
body { font-family: 'Inter', sans-serif; line-height: 1.6; color: var(--text-dark); scroll-behavior: smooth; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 800px; }

/* Tipografija */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; }
.text-blue { color: var(--primary); }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.tracking { letter-spacing: 0.1em; }
.font-black { font-weight: 900; }
.mb-16 { margin-bottom: 4rem; }
.bg-light { background-color: var(--bg-light); }

/* Dugmad */
.btn { display: inline-flex; align-items: center; padding: 1rem 2rem; border-radius: 0.75rem; font-weight: 700; text-decoration: none; transition: 0.3s; cursor: pointer; gap: 0.5rem; border: none; }
.btn-sm { padding: 0.5rem 1.25rem; border-radius: 999px; font-size: 0.875rem; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline-white { background: transparent; border: 2px solid white; color: white; }
.btn-outline-white:hover { background: white; color: var(--text-dark); }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; height: 70px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); z-index: 1000; }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 45px; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-size: 0.9rem; font-weight: 600; }
.nav-links a:hover { color: var(--primary); }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }

/* Hero sa Video Pozadinom */
.hero { 
    position: relative; 
    height: 100vh; 
    min-height: 600px; 
    display: flex; 
    align-items: center; 
    overflow: hidden; 
    color: white; 
}
.hero-video { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    min-width: 100%; 
    min-height: 100%; 
    width: auto; 
    height: auto; 
    z-index: -2; 
    transform: translate(-50%, -50%); 
    object-fit: cover;
}
.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.6); 
    z-index: -1; 
}
.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
}
.hero-content { max-width: 800px; }
.hero h1 { font-size: 4.5rem; margin-bottom: 1.5rem; line-height: 1.1; }
.hero p { font-size: 1.25rem; color: #e5e7eb; margin-bottom: 2.5rem; max-width: 600px; }
.hero-actions { display: flex; gap: 1rem; }

/* Sekcije */
section { padding: 8rem 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.value-card { background: white; padding: 2.5rem; border-radius: 1.5rem; border: 1px solid var(--border); }
.value-number { font-size: 2.5rem; font-weight: 900; color: var(--primary); display: block; margin-bottom: 1rem; }

.section-header h4 { font-size: 0.875rem; margin-bottom: 1rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 2rem; }
.about-text { margin-bottom: 3rem; font-size: 1.125rem; color: var(--text-muted); }
.quote-box { background: var(--primary); color: white; padding: 2.5rem; border-radius: 2.5rem; text-align: center; font-size: 1.5rem; font-weight: 700; font-style: italic; }

/* Proizvodi */
.subtitle { max-width: 600px; margin: 0 auto 4rem; font-size: 1.25rem; color: var(--text-muted); }
.product-list { display: flex; flex-direction: column; gap: 6rem; }
.product-row { display: flex; gap: 4rem; align-items: center; }
.product-row.reverse { flex-direction: row-reverse; }
.product-image { flex: 1; }
.product-image img { width: 100%; height: 450px; object-fit: cover; border-radius: 2rem; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.product-info { flex: 1; }
.product-info h3 { font-size: 2.25rem; margin-bottom: 1.5rem; }
.product-note { margin-top: 2rem; padding: 1.5rem; background: #eff6ff; border-left: 5px solid var(--primary); border-radius: 0 1rem 1rem 0; font-style: italic; }

/* Usluge */
.service-card { background: white; padding: 2.5rem; border-radius: 1.5rem; border: 1px solid var(--border); text-align: center; transition: 0.3s; }
.service-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.service-icon { height: 80px; width: 80px; background: #eff6ff; border-radius: 1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.service-icon img { height: 48px; }

/* Kontakt */
.contact-info-card { background: white; padding: 2.5rem; border-radius: 1.5rem; text-align: center; border: 1px solid var(--border); }
.info-icon { width: 50px; height: 50px; background: #eff6ff; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }

/* Footer */
.footer { background: #111827; color: white; padding: 6rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 4rem; border-bottom: 1px solid #374151; padding-bottom: 4rem; margin-bottom: 2rem; }
.logo.inverted img { filter: brightness(0) invert(1); }
.footer-about p { margin-top: 1.5rem; color: #9ca3af; }
.footer-links h4, .footer-contact h4 { margin-bottom: 1.5rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #9ca3af; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-contact p { display: flex; align-items: center; gap: 0.75rem; color: #9ca3af; margin-bottom: 1rem; }
.footer-contact i { color: var(--primary); }
.footer-bottom { color: #6b7280; font-size: 0.875rem; }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* Responzivnost */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: white; flex-direction: column; padding: 2rem; border-bottom: 1px solid var(--border); }
    .nav-links.active { display: flex; }
    .mobile-menu-toggle { display: block; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .product-row, .product-row.reverse { flex-direction: column; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero h1 { font-size: 2.5rem; }
    .back-to-top { bottom: 1.5rem; right: 1.5rem; width: 3rem; height: 3rem; }
}