CSS
/* ==========================================================================
   1. OSNOVNI RESET I BAZNI STILOVI
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
}

:root {
    --bg-main: #11141a;
    --bg-accent: #161a22;
    --color-gold: #b38759;
    --color-gold-hover: rgba(179, 135, 89, 0.15);
    --color-text-light: #e2e8f0;
    --color-text-muted: #a1a8b0;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--bg-main); 
    color: var(--color-text-light); 
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   2. GLAVNA NAVIGACIJA I LOGO
   ========================================================================== */
.navbar-container {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 5%;
    background-color: var(--bg-accent); 
    width: 100%;
    box-sizing: border-box;
    border-bottom: 2px solid var(--color-gold); 
    min-height: 95px;
    position: relative;
    z-index: 10000;
    overflow: visible;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    width: 260px;          
    height: 75px;  
    flex-shrink: 0; 
    transition: transform 0.3s ease;
    will-change: transform;
}

.brand-logo:hover {
    transform: scale(1.02); 
}

.brand-logo a {
    display: block;
    width: 100%;
    height: 100%;
}

.main-site-logo {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

.nav-wrapper-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    position: relative;
}

.header-quote {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-style: italic;
    color: #a3a3a3;
    text-align: center;
    max-width: 400px;
    line-height: 1.4;
    margin: 0 20px;
    flex-grow: 1;
}

@media (max-width: 1024px) {
    .header-quote {
        display: none; 
    }
}

/* ==========================================================================
   3. DROPDOWN ZA JEZIKE
   ========================================================================== */
.dropdown-content-new.active-lang {
    display: block;
}

.lang-trigger-new {
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid rgba(179, 135, 89, 0.2);
    display: inline-block;
    cursor: pointer;
}

.dropdown-content-new {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--bg-accent);
    min-width: 150px;
    box-shadow: 0px 12px 24px rgba(0,0,0,0.6);
    border: 1px solid rgba(179, 135, 89, 0.3);
    border-radius: 6px;
    list-style: none;
    margin: 0;
    padding: 4px 0;
}

.dropdown-content-new::before {
    content: '';
    position: absolute;
    top: -15px; 
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.dropdown-content-new li a {
    color: #cbd5e1;
    padding: 8px 14px;
    display: block;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.dropdown-content-new li a:hover {
    background-color: var(--color-gold-hover);
    color: var(--color-gold);
    padding-left: 18px;
}

.language-dropdown-new:hover .dropdown-content-new,
.language-dropdown-new:focus-within .dropdown-content-new {
    display: block;
}

/* ==========================================================================
   4. PORTFOLIO MENU - DESKTOP VERZIJA
   ========================================================================== */
.portfolio-dropdown-container {
    position: relative;
    display: inline-block;
}

.menu-trigger-btn {
    font-family: 'Cinzel', serif;
    background: rgba(179, 135, 89, 0.1);
    color: #ffffff;
    border: 1px solid var(--color-gold);
    padding: 10px 25px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.menu-trigger-btn:hover {
    background: var(--color-gold);
    color: var(--bg-main);
    box-shadow: 0 0 15px rgba(179, 135, 89, 0.4);
}

.dropdown-tile-grid {
    display: none; 
    position: absolute;
    right: 0;
    top: 115%;
    background: rgba(22, 26, 34, 0.98); 
    border: 1px solid var(--color-gold);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    z-index: 99999;
    flex-direction: column;
    gap: 10px;
    width: 310px;
    max-width: calc(100vw - 24px);
    box-sizing: border-box;
}

.dropdown-tile-grid.active-menu {
    display: flex !important;
    animation: slideDownMenuDesktop 0.25s ease-out;
}

.menu-tile {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02); 
    border-radius: 10px; 
    padding: 12px 15px; 
    display: flex;
    align-items: center; 
    justify-content: flex-start;
    gap: 15px; 
    border: 1px solid rgba(179, 135, 89, 0.2); 
    width: 100%;        
    min-height: 85px;       
    box-sizing: border-box;
    transition: var(--transition-smooth);
}

.menu-tile:hover {
    background: var(--color-gold-hover); 
    border-color: var(--color-gold);
    transform: translateX(-4px);
}

.promo-tile {
    border-color: rgba(179, 135, 89, 0.6);
    background: rgba(179, 135, 89, 0.05);
}

.tile-icon {
    width: 40px;
    height: 40px;
    background: rgba(179, 135, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(179, 135, 89, 0.3);
    flex-shrink: 0;
    font-size: 1.4rem;
}

.gold-icon {
    font-size: 1.1rem;
}

.tile-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.menu-tile h3 {
    font-family: 'Cinzel', serif;
    color: var(--color-gold); 
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 700;
    margin: 0 0 3px 0;
}

.menu-tile ul {
    list-style: none;
}

.menu-tile ul li {
    font-size: 0.75rem;
    color: var(--color-text-muted); 
    position: relative;
    padding-left: 12px; 
    line-height: 1.3;
}

.menu-tile ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

/* ==========================================================================
   4b. OVERLAY POZADINA ZA OTVOREN MENI
   ========================================================================== */
.menu-overlay-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 99998;
}

.menu-overlay-backdrop.active {
    display: block;
}

/* ==========================================================================
   5. CENTRALNA HERO SEKCIJA
   ========================================================================== */
.hero-camera-bg {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    overflow: hidden;
    background: 
        radial-gradient(circle at 50% 65%, rgba(179, 135, 89, 0.15) 0%, transparent 60%), 
        linear-gradient(to bottom, #161a22 0%, #11141a 100%);
}

.hero-overlay-content {
    max-width: 800px;
    z-index: 2;
    animation: fadeInHero 1.2s ease-out;
}

.tripod-silhouette {
    font-size: 3.5rem; 
    color: rgba(179, 135, 89, 0.2); 
    margin-bottom: 20px;
    display: inline-block;
}

.animate-tripod {
    animation: tripodPulse 4s ease-in-out infinite;
}

.hero-overlay-content .brand-sub {
    color: var(--color-gold);
    font-size: 0.8rem;
    letter-spacing: 5px;
    margin-bottom: 15px;
}

.hero-main-title {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    background: transparent;
    color: var(--color-gold); 
    border: 2px solid var(--color-gold);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
}

.btn:hover {
    background: var(--color-gold);
    color: var(--bg-main); 
    box-shadow: 0 0 20px rgba(179, 135, 89, 0.4);
    transform: translateY(-2px);
}

/* ==========================================================================
   6. STILOVI ZA STRANICE KATEGORIJA
   ========================================================================== */
.category-header {
    margin-top: 60px; 
    text-align: center;
    padding: 0 20px;
}

.category-title {
    font-family: 'Cinzel', serif; 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    color: #ffffff; 
    margin-bottom: 10px; 
    font-size: 2.5rem;
}

.category-subtitle {
    color: var(--color-text-muted); 
    font-style: italic; 
    font-size: 1rem;
    letter-spacing: 1px;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    auto-rows: 450px; 
    gap: 20px;
    max-width: 1400px;
    margin: 40px auto 60px auto;
    padding: 0 20px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(179, 135, 89, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    background-color: var(--bg-accent);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.photo-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(22, 26, 34, 0.5) 0%, rgba(179, 135, 89, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.photo-item:hover img {
    transform: scale(1.03); 
}

.photo-item:hover::after {
    opacity: 1;
}

.back-btn-container {
    text-align: center; 
    margin-bottom: 80px;
}

.back-to-gallery-btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid var(--color-gold);
    padding: 12px 28px;
    border-radius: 4px;
    background: transparent;
    transition: var(--transition-smooth);
}

.back-to-gallery-btn:hover {
    background: var(--color-gold);
    color: var(--bg-main);
    box-shadow: 0 4px 15px rgba(179, 135, 89, 0.3);
}

@media (min-width: 900px) {
    .photo-item.wide {
        grid-column: span 2;
    }
}

/* ==========================================================================
   7. UNIFIKOVANA I NEPROBOJNA RESPONSIVE LOGIKA (MOBILNI & TABLETI)
   ========================================================================== */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 15px 20px;
        min-height: auto;
    }
    
    .brand-logo {
        justify-content: center; 
        width: 220px;
        height: 65px;
        margin: 0 auto;
    }
    
    /* Vraćamo relativno pozicioniranje da jezik (dropdown) ne leti van ekrana */
    .nav-wrapper-right {
        align-items: center;
        width: 100%;
        position: relative !important; 
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    /* Povećavamo z-index pozadine da pokrije sve osim otvorenog menija */
    .menu-overlay-backdrop {
        z-index: 999998 !important;
    }

    /* MOBILNI MENI: Pozicionira se odmah ispod tvog mobilnog navbar-a */
    .dropdown-tile-grid {
        position: fixed !important;
        top: 110px !important; 
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;

        width: 90% !important;
        max-width: 340px !important;
        /* Automatski se prilagođava visini ekrana telefona */
        max-height: calc(100vh - 140px) !important; 
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch; /* Glatki touch-scroll za iOS */

        background: rgba(22, 26, 34, 0.99) !important;
        border: 1px solid var(--color-gold) !important;
        border-radius: 12px !important;
        padding: 12px !important;
        gap: 8px !important;
        box-shadow: 0 15px 35px rgba(0,0,0,0.8) !important;
        z-index: 999999 !important;
    }
    
    .dropdown-tile-grid.active-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        animation: slideDownMenuMobile 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    
    .menu-tile {
        transform: none !important; 
        padding: 10px 12px !important;
        min-height: 75px !important;
        width: 100% !important;
        gap: 12px !important;
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
        transition: background 0.2s ease !important;
    }

    .tile-icon {
        width: 34px !important;
        height: 34px !important;
        font-size: 1.1rem !important;
        flex-shrink: 0 !important;
    }

    .tile-content {
        flex-grow: 1 !important;
        text-align: left !important;
    }

    .menu-tile h3 {
        font-size: 0.8rem !important;
        letter-spacing: 0.5px !important;
    }

    .menu-tile ul li {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
    }

    .category-title {
        font-size: 2rem;
    }

    .photo-gallery-grid {
        grid-template-columns: 1fr;
        auto-rows: 300px;
    }
}

/* Izuzetno mali ekrani mobilnih telefona */
@media (max-width: 480px) {
    .dropdown-tile-grid {
        width: 92% !important;
        max-width: 300px !important;
        top: 105px !important;
    }
}

/* ==========================================================================
   8. ANIMACIJE
   ========================================================================== */
@keyframes slideDownMenuDesktop {
    from { 
        opacity: 0; 
        transform: translateY(-10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Korigovana animacija za mobilni bez preklapanja kompletnog translate-a */
@keyframes slideDownMenuMobile {
    from { 
        opacity: 0; 
        transform: translate(-50%, -10px); 
    }
    to { 
        opacity: 1; 
        transform: translate(-50%, 0); 
    }
}

@keyframes fadeInHero {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes tripodPulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}