/* RESET & BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: 'Geomanist', sans-serif;
    font-size: 17px;

}

/* Fullpage layout – črn */
.fullpage_view html,
.fullpage_view body {
    background-color: #111;
    color: #eee;
}

/* About layout – svetel */
.about html,
.about body {
    background-color: #fff;
    color: #111;
}

/* HEADER */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Scroll stil */
#site-header.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* INNER FLEX CONTAINER */
#site-header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* LOGO */
#site-header .logo a {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

/* NAVIGATION WRAPPER */
#site-header .main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: nowrap;
}

/* UL NAV */
#site-header .main-nav ul.nav {
    display: flex;
    gap: 20px;
    list-style: none;
}

/* LI NAV ITEMS */
#site-header .main-nav ul.nav li {
    margin: 0;
}

/* NAV LINKS */
#site-header .main-nav ul.nav li a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid #fff;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

#site-header .main-nav ul.nav li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* LANGUAGE SELECTOR */
.ccm-block-switch-language form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ccm-block-switch-language select {
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    padding: 6px 10px;
    border-radius: 4px;
    font-family: 'Geomanist', sans-serif;
    font-size: 0.8rem;
}

/* RESPONSIVE HEADER */
@media (max-width: 768px) {
    #site-header {
        padding: 10px 20px;
    }

    #site-header .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    #site-header .main-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    #site-header .main-nav ul.nav {
        flex-direction: column;
        gap: 10px;
    }

    #site-header .main-nav ul.nav li a {
        width: 100%;
    }

    .ccm-block-switch-language form {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .ccm-block-switch-language select {
        width: 100%;
    }
}


.section img {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
    display: block;
}


img {
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
}

/* Pobarva pikice belo */
#fp-nav ul li a span {
  background: #ffffff !important;
}

#fp-nav .fp-tooltip {
  display: none !important;
}


.slider-arrow.left {
  left: 2%; /* ali npr. 5%, če želiš procentualno */
}

.slider-arrow.right {
  right: 2%;
}




/* velikost pikic */
#fp-nav ul li a span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #aaa;
  opacity: 0.6;
  transition: transform 0.3s ease, background 0.3s ease;
}

#fp-nav ul li a.active span,
#fp-nav ul li:hover a span {
  background: #fff;
  transform: scale(1.25);
  opacity: 1;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.4);
}

.ccm-page p {
    margin-bottom: 0.8em; /* ali manj, npr. 0.7em */
    line-height: 1.6;    /* po potrebi prilagodi */
}




html, body {
margin: 0;
    padding: 0;
    min-height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;

}

.fp-overflow,
.fp-section,
.section,
.fp-tableCell {
  height: 100vh !important;
  min-height: 100vh;
 /* overflow: hidden;*/
  background-color: inherit;
}

.fullpage-wrapper {
  height: 100vh !important;
}

.project-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---- Header styles (moved from header.php) ---- */
    html, body {
        margin: 0;
        padding: 0;
        height: 100%;
        width: 100%;
    }

    body.fp-scroll-mac,
    html.fp-scroll-mac {
        overflow: hidden;
    }

    #site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        margin-top: 0;
        padding: 20px 40px;
        z-index: 500;
        background-color: rgba(0, 0, 0, 0.6);
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        box-sizing: border-box;
    }

    #site-header .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        flex-wrap: nowrap;
    }

    #site-header .logo a {
        font-family: 'Geomanist', sans-serif;
        color: #fff;
        font-size: 1.2rem;
        text-decoration: none;
        font-weight: bold;
        white-space: nowrap;
    }

    #site-header .nav-lang-wrapper {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 20px;
        flex-wrap: nowrap;
    }

    #site-header nav.main-nav {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-shrink: 0;
    }

    #site-header nav.main-nav .nav {
        display: flex;
        flex-direction: row;
        gap: 10px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #site-header nav.main-nav .nav li a {
        font-family: 'Geomanist', sans-serif;
        font-size: 1rem;
        text-decoration: none;
        border: 1px solid #fff;
        padding: 5px 10px;
        border-radius: 4px;
        white-space: nowrap;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #fff;
        background: transparent;
        box-sizing: border-box;
        height: 36px;
        display: flex;
        align-items: center;
        line-height: 1.2;
    }

    #site-header .language-switch {
        display: flex;
        align-items: center;
    }

    #site-header .language-switch select,
    #site-header .ccm-block-switch-language select {
        font-size: 14px;
        max-width: 100px;
        height: 36px;
        padding: 5px 10px;
        border-radius: 4px;
        background: transparent;
        color: #fff;
        border: 1px solid #fff;
        box-sizing: border-box;
    }

    #site-header.scrolled {
        background-color: rgba(0, 0, 0, 0.8);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    /* Force same layout even on small screens */
@media (max-width: 768px) {
    #site-header .header-inner {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    #site-header .logo {
        flex: 0 1 auto;
        margin-bottom: 0;
        white-space: nowrap;
    }

    #site-header .nav-lang-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 10px;
        flex: 1 1 auto;
    }

    #site-header nav.main-nav .nav {
        display: flex;
        flex-direction: row;
        gap: 10px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #site-header nav.main-nav .nav li a {
        font-size: 14px;
        white-space: nowrap;
        padding: 5px 10px;
    }

    #site-header .ccm-block-switch-language {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
    }

    .ccm-block-switch-language form {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 10px;
        margin: 0;
        padding: 0;
    }

    .ccm-block-switch-language select {
        font-size: 14px;
        max-width: 100px;
    }
}


.lang-toggle-btn {
    font-family: 'Geomanist', sans-serif;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid #fff;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    height: 36px;
}

#site-header.header-hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}