/* --- 1. OSNOVNA PODEŠAVANJA I PROMENLJIVE --- */
:root {
    --primary-color: #0A2640; 
    --primary-light: #163b5e; 
    --secondary-color: #D4AF37; 
    --secondary-dark: #B4932A; 
    --bg-light: #F8FAFC; 
    --white-color: #ffffff;
    --text-dark: #2D3436; 
    --text-light: #5c6b73;
    --border-color: #E2E8F0;
    --shadow-card: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px rgba(10, 38, 64, 0.15);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: 'Segoe UI', Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6; color: var(--text-dark); background-color: var(--white-color);
    font-size: 16px; -webkit-font-smoothing: antialiased;
}
.container { max-width: 1250px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* TIPOGRAFIJA */
h1, h2, h3, h4 { color: var(--primary-color); font-weight: 700; margin-bottom: 1rem; line-height: 1.25; }
h1 { font-size: 2.8rem; text-transform: uppercase; letter-spacing: 1px; }
h2 { font-size: 2.4rem; position: relative; display: inline-block; padding-bottom: 15px; }
h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--secondary-color); border-radius: 2px; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.5px;}
.section-title-wrapper { text-align: center; margin-bottom: 4rem; }
.section-desc { color: var(--text-light); font-size: 1.15rem; margin-top: 1rem; max-width: 700px; margin: 1rem auto 0; }

/* ELEMENTI */
section { padding: 100px 0; border-bottom: 1px solid var(--border-color); }
section:last-of-type { border-bottom: none; }
.bg-light { background-color: var(--bg-light); }
.cta-button { display: inline-block; padding: 16px 32px; border-radius: 5px; text-decoration: none; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s ease; cursor: pointer; border: 2px solid transparent; text-align: center; }
.primary-btn { background: var(--secondary-color); color: var(--primary-color); box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); }
.primary-btn:hover { background: var(--secondary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4); }
.secondary-btn { background: transparent; color: var(--white-color); border: 2px solid var(--white-color); }
.secondary-btn:hover { background: var(--white-color); color: var(--primary-color); transform: translateY(-2px); }
.full-width { width: 100%; background: var(--secondary-color); color: var(--primary-color); }
.full-width:hover { background: var(--secondary-dark); }

/* NAVIGACIJA */
header { background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); box-shadow: 0 2px 15px rgba(0,0,0,0.05); position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; height: 90px; display: flex; align-items: center; }
nav { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-img { max-height: 55px; margin-right: 15px; width: auto; }
.logo-text-wrapper { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
.brand-name { color: var(--primary-color); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.brand-sub { color: var(--secondary-dark); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-menu { list-style: none; display: flex; align-items: center; }
.nav-menu li { margin-left: 30px; }
.nav-link { color: var(--primary-color); text-decoration: none; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; position: relative; padding: 5px 0; transition: color 0.3s; }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--secondary-color); transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover { color: var(--secondary-dark); }
.nav-toggle { display: none; border: none; background: none; cursor: pointer; padding: 10px; }
.hamburger { display: block; width: 30px; height: 3px; background: var(--primary-color); position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; width: 30px; height: 3px; background: var(--primary-color); left: 0; transition: 0.3s; }
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* HERO */
.hero { position: relative; background-color: var(--primary-color); background-image: url('hero-pozadina.jpg'); background-size: cover; background-position: center; min-height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; padding-top: 90px; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(10, 38, 64, 0.95) 0%, rgba(10, 38, 64, 0.8) 100%); }
.hero-content { position: relative; max-width: 1000px; z-index: 2; color: var(--white-color); padding: 0 20px; }
.eyebrow-text { display: inline-block; color: var(--secondary-color); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem; font-size: 0.9rem; background: rgba(212, 175, 55, 0.15); padding: 8px 20px; border-radius: 50px; border: 1px solid rgba(212, 175, 55, 0.4); }
.hero h1 { color: var(--white-color); margin-bottom: 1.5rem; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.hero .subtitle { font-size: 1.25rem; margin-bottom: 2.5rem; font-weight: 300; line-height: 1.8; opacity: 0.9; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* SECTIONS */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: var(--white-color); padding: 40px 30px; border-radius: 10px; box-shadow: var(--shadow-card); transition: transform 0.3s, box-shadow 0.3s; border-top: 4px solid transparent; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-top-color: var(--secondary-color); }
.icon-wrapper { width: 60px; height: 60px; background: rgba(10, 38, 64, 0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; transition: 0.3s; }
.service-card:hover .icon-wrapper { background: var(--secondary-color); }
.service-icon { width: 30px; height: 30px; color: var(--primary-color); }
.service-card:hover .service-icon { color: var(--white-color); }
.about-us-content { display: grid; grid-template-columns: 3fr 2fr; gap: 50px; align-items: start; margin-bottom: 60px; }
.about-us-philosophy { background: var(--primary-color); padding: 40px; border-radius: 0 30px 0 30px; color: var(--white-color); box-shadow: 15px 15px 0 rgba(212, 175, 55, 0.2); }
.about-us-philosophy blockquote { font-style: italic; font-size: 1.1rem; line-height: 1.7; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 900px; margin: 40px auto 0; }
.team-member { background: var(--white-color); border: 1px solid var(--border-color); padding: 30px; border-radius: 8px; text-align: center; }
.team-member .role { display: block; color: var(--secondary-dark); font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; text-transform: uppercase; }
.member-contact-box { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--border-color); }
.team-phone { display: inline-flex; align-items: center; justify-content: center; color: var(--primary-color); font-weight: 700; font-size: 1.1rem; text-decoration: none; transition: 0.3s; }
.team-phone:hover { color: var(--secondary-dark); }
.icon-sm { width: 18px; height: 18px; margin-right: 8px; color: var(--secondary-color); }
.reasons-grid-expanded { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.reason-expanded { padding-left: 25px; border-left: 4px solid var(--secondary-color); }
.reason-expanded h4 { margin-bottom: 10px; color: var(--primary-color); font-size: 1.2rem; }
.contact-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact-details-list { margin-top: 30px; }
.info-item { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); }
.info-item .label { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; margin-bottom: 5px; }
.info-item a, .info-item span { font-size: 1.1rem; color: var(--primary-color); font-weight: 500; text-decoration: none; }
.highlight-contact a { display: flex; align-items: center; font-size: 1.25rem; font-weight: 700; color: var(--primary-color); }
.highlight-contact .mini-icon { width: 24px; height: 24px; margin-right: 10px; color: var(--secondary-color); }
.contact-form-wrapper { background: #fff; padding: 30px; border-radius: 8px; box-shadow: var(--shadow-card); border: 1px solid var(--border-color); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--primary-color); }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--secondary-color); }
.cta-section { background: var(--primary-color); color: var(--white-color); text-align: center; padding: 80px 20px; }
.cta-section h2 { color: var(--white-color); margin-bottom: 1rem; border: none; }
.cta-section h2::after { display: none; }
.cta-button-white { background: var(--white-color); color: var(--primary-color); margin-top: 20px; }
.cta-button-white:hover { background: #eee; color: var(--primary-color); }
footer { background: #0F161E; color: #aab7c4; padding-top: 70px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-column h4 { color: var(--white-color); margin-bottom: 20px; font-size: 1.1rem; }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 10px; }
.footer-column a { color: #aab7c4; text-decoration: none; transition: 0.3s; }
.footer-column a:hover { color: var(--secondary-color); padding-left: 5px; }
.footer-phone a { color: var(--white-color); font-weight: 700; font-size: 1rem; }
.footer-bottom { background: #080b0f; padding: 20px 0; text-align: center; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05); }
.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--secondary-color); color: var(--primary-color); border-radius: 50%; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.4s; z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top svg { width: 24px; height: 24px; }

/* RESPONSIVE */
@media(max-width: 992px) { h1 { font-size: 2.2rem; } .about-us-content, .contact-container, .reasons-grid-expanded { grid-template-columns: 1fr; gap: 40px; } .footer-content { grid-template-columns: 1fr; text-align: center; } }
@media(max-width: 768px) {
    .nav-toggle { display: block; z-index: 1001; }
    .nav-toggle.active .hamburger { background: transparent; }
    .nav-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
    .nav-toggle.active .hamburger::after { transform: rotate(-45deg); top: 0; }
    .nav-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--white-color); flex-direction: column; justify-content: center; padding: 0; transform: translateX(100%); transition: 0.3s ease-in-out; box-shadow: -5px 0 15px rgba(0,0,0,0.1); }
    .nav-menu.active { transform: translateX(0); }
    .nav-menu li { margin: 15px 0; }
    .nav-link { font-size: 1.2rem; font-weight: 700; }
    .logo-img { max-height: 40px; margin-right: 10px; }
    .brand-name { font-size: 1.1rem; }
    .brand-sub { font-size: 0.65rem; line-height: 1.1; }
    header { height: 80px; }
    .hero { padding-top: 120px; }
    h1 { font-size: 1.6rem; line-height: 1.3; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .cta-button { width: 100%; }
}