/* ==========================================================================
   GLOBALNI RESET
   ========================================================================== */
:root {
    --primary-color: #0F172A;
    --accent-color: #2563EB;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --white: #ffffff;
    --bg-light: #ffffff;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --container-width: 1240px;
    --nav-height: 90px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

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

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

/* LENIS SCROLL */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ==========================================================================
   NAVIGACIJA & HEADER
   ========================================================================== */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid #f1f1f1; }
.nav-content { height: var(--nav-height); display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.5rem; color: var(--primary-color); }
.logo-img { height: 60px; width: auto; border-radius: 4px; }
.nav-links { display: flex; gap: 45px; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-dark); }
.nav-links a:hover { color: var(--accent-color); }

.btn-premium { background: var(--accent-color); color: #fff; padding: 14px 32px; border-radius: 4px; font-weight: 500; display: inline-flex; align-items: center; transition: 0.3s; }
.btn-premium:hover { box-shadow: 0 10px 20px rgba(37,99,235,0.25); transform: translateY(-2px); }

.mobile-menu-icon { display: none; font-size: 1.8rem; cursor: pointer; }

/* ==========================================================================
   ABOUT PAGE: TEXT SECTION (PRVA SEKCIJA)
   ========================================================================== */
.about-text-content {
    padding: 100px 0 60px 0;
    background-color: var(--white);
    text-align: center;
}

.about-text-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.sub-heading {
    display: flex; align-items: center; justify-content: center; gap: 10px; 
    font-size: 0.85rem; font-weight: 600; letter-spacing: 2px; 
    text-transform: uppercase; color: var(--text-light); margin-bottom: 20px;
}
.sub-heading i { font-size: 6px; color: var(--primary-color); }

.about-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    line-height: 1.1;
}

.about-description-block p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* ==========================================================================
   ABOUT PAGE: GALLERY GRID (DRUGA SEKCIJA - 10 SLIKA)
   ========================================================================== */
.about-gallery-section {
    padding: 0 0 100px 0;
    overflow: hidden;
}

/* --- DESKTOP GRID (MOZAIK) --- */
.custom-about-grid {
    display: grid;
    /* 5 jednakih kolona */
    grid-template-columns: repeat(5, 1fr); 
    /* Razmak */
    gap: 15px; 
    /* Centriranje */
    align-items: start;
}

.gallery-img-box {
    width: 100%;
    /* Visina slike na desktopu */
    height: 350px; 
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* Cik-Cak efekat (Spustamo 2, 4, 7, 9 sliku) */
.gallery-img-box:nth-child(2),
.gallery-img-box:nth-child(4),
.gallery-img-box:nth-child(7),
.gallery-img-box:nth-child(9) {
    margin-top: 50px; /* Ovo pravi talas */
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* Hover Zoom */
.gallery-img-box:hover img {
    transform: scale(1.05);
}

/* ==========================================================================
   RESPONSIVE (MOBILNI - SLAJDER)
   ========================================================================== */
@media (max-width: 900px) {
    
    /* Navigacija Fix */
    .nav-links, .nav-desktop-btn { display: none !important; }
    .mobile-menu-icon { display: block; }
    .brand-name { font-size: 1.2rem; }
    .logo-img { height: 40px; }

    /* Text */
    .about-main-title { font-size: 2.5rem; }
    .about-text-wrapper { text-align: left; padding: 0 10px; }
    .sub-heading { justify-content: flex-start !important; }

    /* --- SLIKE: PRETVARANJE U SLAJDER --- */
    .custom-about-grid {
        display: flex; /* Menjamo Grid u Flex */
        grid-template-columns: none;
        gap: 15px;
        
        /* Slajder logika */
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        
        padding-bottom: 20px;
        height: 300px; /* Visina slajdera */
        
        /* Resetovanje margina za cik-cak */
        align-items: stretch; 
    }
    
    .gallery-img-box {
        /* Svaka slika uzima 80% sirine telefona */
        flex: 0 0 80%; 
        width: 80%;
        height: 100%;
        margin-top: 0 !important; /* Brisanje cik-cak efekta */
        scroll-snap-align: center;
    }
    
    /* Sakrivanje scrollbara */
    .custom-about-grid::-webkit-scrollbar { display: none; }
}

/* ==========================================================================
   MOBILE MENU OVERLAY
   ========================================================================== */
.mobile-nav-overlay {
    position: fixed; top: 0; right: 0; width: 100%; height: 100vh; background-color: var(--white);
    z-index: 2000; transform: translateX(100%); transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex; flex-direction: column;
}
.mobile-nav-overlay.active { transform: translateX(0); }
.mobile-nav-header { padding: 20px 30px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f1f1f1; }
.mobile-brand { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--primary-color); }
.close-menu-icon { font-size: 2rem; cursor: pointer; color: var(--text-dark); }
.mobile-nav-content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 40px; }
.mobile-links { display: flex; flex-direction: column; gap: 25px; margin-bottom: 50px; }
.m-link { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 600; color: var(--primary-color); }
.mobile-cta { width: 100%; text-align: center; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background-color: #0B1120; color: var(--white); padding-top: 100px; position: relative; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; margin-bottom: 80px; }
.footer-brand-col { max-width: 400px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; display: block; margin-bottom: 25px; }
.footer-desc { color: rgba(255, 255, 255, 0.6); margin-bottom: 35px; }
.footer-nav-wrapper { display: flex; gap: 80px; }
.footer-col h4 { opacity: 0.4; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 25px; }
.footer-col ul li { margin-bottom: 15px; }
.footer-big-text-wrapper { width: 100%; overflow: hidden; line-height: 0.8; padding-bottom: 20px; }
.footer-giant-text { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 13.5vw; text-align: center; white-space: nowrap; margin: 0; }
.footer-bottom-bar { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; background-color: #0B1120; position: relative; z-index: 2; }

@media (max-width: 900px) {
    .footer-top { flex-direction: column; gap: 50px; }
    .footer-nav-wrapper { flex-wrap: wrap; gap: 40px; }
    .footer-giant-text { font-size: 18vw; }
}