:root {
    --bg-dark: #101214;
    --bg-card: #171A1D;
    --accent: #F7931A;
    --text-main: #FFFFFF;
    --text-muted: #8A939B;
    --font-heading: 'Poppins', sans-serif;
    --font-text: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-dark); color: var(--text-main); font-family: var(--font-text); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* === NAVIGACIJA I HAMBURGER === */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 5%; background-color: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); position: sticky; top: 0; z-index: 1000;
}
.nav-left { display: flex; align-items: center; gap: 15px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 2000; }
.hamburger span { width: 25px; height: 3px; background-color: var(--text-main); border-radius: 2px; transition: 0.3s; }

.logo { display: block; cursor: pointer; z-index: 2000; }
.logo-text h2 { font-family: var(--font-heading); font-size: 1.2rem; }
.logo-text p { font-size: 0.6rem; color: var(--text-muted); letter-spacing: 2px; }

.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); transition: 0.3s; }
.nav-links a:hover { color: var(--text-main); }
.hamburger-only { display: none; }

/* === DUGMAD === */
.btn-outline { border: 1px solid var(--accent); padding: 12px 24px; border-radius: 6px; color: var(--accent); font-weight: 700; font-size: 0.85rem; transition: 0.3s; cursor: pointer; display: inline-block;}
.btn-outline:hover { background: var(--accent); color: var(--bg-dark); }
.btn-primary { background: var(--accent); color: var(--bg-dark); padding: 12px 25px; border-radius: 6px; font-weight: 700; display: inline-block; text-align: center; border: none; cursor: pointer;}
.btn-secondary { background: transparent; border: 1px solid rgba(255,255,255,0.4); color: var(--text-main); padding: 12px 25px; border-radius: 6px; font-weight: 700; display: inline-block; text-align: center;}
#filterBtn { background-color: var(--accent) !important; color: var(--bg-dark) !important; border: none !important; box-shadow: 0 4px 15px rgba(247, 147, 26, 0.3); }

/* === HERO SEKCIJA === */
.hero {
    /* Smanjen prazan prostor, prilagođava se sadržaju */
    padding: 120px 10%; 
    display: flex; flex-direction: column; justify-content: center;
    background-color: #111;
    /* ISPRAVLJENO NA .jpeg IZ TVOG TERMINALA! */
    background-image: linear-gradient(to right, rgba(16,18,20,0.95) 10%, rgba(16,18,20,0.7) 50%, rgba(16,18,20,0.2) 100%), url('assets/bmsunutra.jpeg'); 
    background-size: cover; background-position: center; 
}
.hero h1 { font-family: var(--font-heading); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.hero h1 span { color: var(--accent); }
.hero p { color: var(--text-muted); max-width: 550px; margin-bottom: 30px; font-size: 1.1rem; }
.hero-buttons { display: flex; gap: 15px; margin-top: 10px; }

/* === KARTICE I OSTALO === */
.movie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.movie-card { background-color: var(--bg-card); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s ease; }
.movie-card:hover { transform: scale(1.02); }

/* SLIKE SE VISE NE SEKU - Prikazuju se cele */
.movie-card img { width: 100%; height: auto; display: block; }

/* MANJE PRAZNOG PROSTORA OKO TEKSTA */
.card-content { padding: 15px 20px 20px 20px; }
.card-content h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 5px; }

/* NOVI TEKST ISPOD FILMOVA */
.card-content p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 15px; line-height: 1.4; }

.genre { font-size: 0.75rem; color: var(--accent); display: block; margin-bottom: 10px; font-weight: 700; text-transform: uppercase;}
.times span { background: rgba(255,255,255,0.05); padding: 5px 12px; border-radius: 4px; font-size: 0.8rem; border: 1px solid rgba(255,255,255,0.1); margin-right: 5px;}
.service-card { background-color: var(--bg-card); border-radius: 12px; padding: 30px; border: 1px solid rgba(255,255,255,0.05); height: 100%; }
/* === FILTERI === */
.filters-container { display: none; gap: 15px; margin-top: 20px; margin-bottom: 40px; background: var(--bg-card); padding: 20px; border-radius: 8px; flex-wrap: wrap; }
.filter-group { display: flex; flex-direction: column; flex: 1; min-width: 150px; }
.filter-group label { font-size: 0.75rem; color: var(--accent); margin-bottom: 8px; font-weight: 700; text-transform: uppercase; }
.filter-group select { appearance: none; -webkit-appearance: none; background-color: #1A1D21; color: var(--text-main); border: 1px solid rgba(255,255,255,0.1); padding: 12px 15px; border-radius: 6px; font-family: var(--font-text); font-size: 0.95rem; outline: none; cursor: pointer; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23F7931A%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 15px top 50%; background-size: 12px auto; }
.filter-group select option { background-color: #1A1D21; color: #fff; }

/* === FUTER === */
.footer { background-color: #0c0d0f; padding: 60px 10%; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { color: var(--accent); margin-bottom: 20px; font-size: 0.9rem;}
.footer-col p, .footer-col a { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 10px; display: block; }

/* === SAVRŠENA MOBILNA OPTIMIZACIJA === */
@media (max-width: 800px) {
    /* Uključen Hamburger Meni */
    .hamburger { display: flex; }
    .navbar { padding: 15px 5%; }
    
    /* Sakrivamo meni sa leve strane */
    .nav-links {
        position: fixed; top: 0; left: -100%; width: 250px; height: 100vh;
        background-color: #0c0d0f; flex-direction: column; justify-content: center; align-items: center; gap: 30px;
        transition: 0.4s ease-in-out; z-index: 1500; box-shadow: 10px 0 20px rgba(0,0,0,0.5);
    }
    .nav-links.active { left: 0; }
    .nav-btn-mobile-hide { display: none; }
    .hamburger-only { display: block; }
    
    /* Hero Sekcija centrirana */
    .hero { padding: 80px 5%; text-align: center; align-items: center; background-position: center; }
    .hero h1 { font-size: 2.8rem; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 10px; }
    .hero-buttons a { width: 100%; margin: 0; }
    
    /* Centrirana mapa bez iskakanja */
    .map-section { padding: 50px 5% !important; }
    .map-container { width: 100%; overflow: hidden; }
    iframe { width: 100% !important; height: 300px !important; }

    /* Mreže idu u jednu kolonu */
    .movie-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .movie-card img { height: 300px; }
    .filters-container { flex-direction: column; }
    .filter-group { width: 100%; }
}
/* =========================================
   FIX ZA MAPU (Da ivice budu savršeno oble)
   ========================================= */
.map-container {
    width: 100%;
    height: 400px !important;
    border-radius: 12px !important;
    overflow: hidden !important; /* Seče mapu tačno po oblim ivicama boksa */
    border: 1px solid rgba(255,255,255,0.1) !important;
    display: flex !important; /* Ubija onaj prazan prostor ispod mape */
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block !important;
}

/* =========================================
   FIX ZA SLIKE (Full rezolucija, bez sečenja)
   ========================================= */
.movie-card img {
    width: 100% !important;
    height: auto !important; /* Gasi onih starih 380px */
    aspect-ratio: auto !important; /* Zadržava originalni oblik tvoje slike */
    object-fit: contain !important; /* ZABRANJUJE ZUMIRANJE I SEČENJE */
    display: block !important;
    background-color: #101214; /* Crna pozadina ako slika nije standardna */
}