header {
    padding: 1rem 0px;
}



/* Initial state */
.header-transparent {
    background: transparent;
    color: white;
}

/* na domači po def. prosojen */
.header-transparent {
  background: transparent;
  transition: background-color .3s ease;
}

/* bel po scrollu */
.header-white {
  background: white;
  transition: background-color .3s ease;
}



.header-transparent a,
.header-transparent p,
.header-transparent button {
    color: white;
}

.page-id-8 .header-transparent {
    color: #000;
}

.header-transparent button {
    backdrop-filter: blur(10px);
    background-color: transparent;
    border: 1px solid transparent;
}

.header-white {
    background: white;
    color: black;
}

.header-white a,
.header-white p {
    color: black;
}

.header-white button a {
    color: #fff !important;
}

button svg {
    fill: white;
    /* Initial button arrow color */
}

.header-white button svg {
    fill: black;
    /* Change arrow color on scroll */
}

/* Sticky header */

#myHeader {
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, color 0.3s ease;
}


/* MENU -SUBMENU*/

.nav {
    display: flex !important;
    gap: 3rem;
}

.nav-item {
    position: inherit;
    /* Ensures the menu positions itself relative to its parent */
}

.menu {
    position: absolute;
    margin-top: 0px !important;
    padding: 3em 4rem 3rem 3rem !important;
    background: #585942;
    list-style: none;
    visibility: hidden;
    width: 100vw !important;
    /* Full width of the viewport */
    left: 0 !important;
}

.menu-item a {
    font-family: 'Aspekta-400';
    font-size: 54px;
    line-height: 68px;
    color: #fff;
    overflow: hidden;
    margin-bottom: 0px;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    /* Adjust as needed */
    height: 400px;
    /* Fixed height to prevent shifting */

    border-radius: 5px;
    float: right;
    overflow: hidden;
}

.menu-row {
    justify-content: space-between;
}

.menu-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures consistent image display */
    opacity: 0;
    transform: scale(1);
    /* Slight zoom effect for smoothness */
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    border-radius: 5px;
}

.menu-image:first-child {
    opacity: 1;
    transform: scale(1);
}


.nav-container {
    display: flex;
    align-items: center;
    /* Align items vertically */
    gap: 10px;
    /* Spacing between elements */
    cursor: pointer;
    /* Makes it clear it's clickable */
}

.menu a:hover {
    color: #A4A495;
    transition: ease-in-out;
    transition-duration: 0.3s;
}

.menu-item.active a {
    color: #A4A495;
}

.plus-minus {
    position: relative;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.plus-minus.active:before {
    transform: translateY(-50%) rotate(-90deg);
    opacity: 0;
}

.plus-minus.active:after {
    transform: translateY(-50%) rotate(0);
}

.plus-minus:before,
.plus-minus:after {
    content: "";
    display: block;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 0;
    transition: 0.35s;
    width: 100%;
    height: 1px;
}

.plus-minus:before {
    transform: translateY(-50%);
}

.plus-minus:after {
    transform: translateY(-50%) rotate(90deg);
}

.header-white .plus-minus:before {
    content: "";
    display: block;
    background-color: var(--plus-minus-before-color, #000);
    /* Default to black */
    position: absolute;
    top: 50%;
    left: 0;
    transition: 0.35s;
    width: 100%;
    height: 1px;
}

.header-white .plus-minus:after {
    content: "";
    display: block;
    background-color: var(--plus-minus-after-color, #000);
    /* Default to black */
    position: absolute;
    top: 50%;
    left: 0;
    transition: 0.35s;
    width: 100%;
    height: 1px;
}


.header-white button {
    color: #000;
    border-color: #000;
}

.header-white button svg {
    stroke: #000;
}

/* Apply fill color to the path inside the svg */
.header-white button svg path {
    fill: #000;
}

#myHeader.active .plus-minus {
    --plus-minus-before-color: #fff;
    --plus-minus-after-color: #fff;

}

#myHeader.active button:hover {
    background-color: #111;
}

#myHeader.active button:hover svg path {
    stroke: #fff !important;
}

#myHeader button:hover {
    background-color: #111;
    color: #fff;
}

#myHeader button:hover svg path {
    stroke: #fff !important;
}

.header-white button:hover {
    background-color: #111;
    color: #fff;
}

.header-white button:hover svg path {
    stroke: #fff !important;
}
img.logo-black {
    max-width: 150px;
}
@media (max-width: 750px) {
	img.logo-black {
    max-width: 100px;
}
	}