/*
Theme Name: Scenariile Culturale
Author: Mihai Martinas
Description: Tema personalizată pentru proiectul Scenariile Culturale
Version: 1.0
*/

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
font-family: "Helvetica Neue", sans-serif;
font-weight: lighter;
display: flex;
flex-direction: column;
}

header {
width: 100%;
height: 12vh;
background-size: cover;
}

.content {
width: 94%;
margin: 4em auto;
font-size: 20px;
line-height: 30px;
text-align: justify;
flex: 1;
}

.content img {
width: 80vw;
max-width: 800px;
height: auto;
display: block;
margin: 0 auto 2em auto;
}

.logo a.link {
text-decoration: none;
color: inherit;
display: inline-block;
}

nav {
position: fixed;
width: 100%;
line-height: 10px;
color: #57a7b0;
z-index: 1000;
transition: transform 0.3s ease, 0.3s ease;
}

.poster-img {
max-width: 100%;
height: auto;
}

nav.hidden {
transform: translateY(-500%) !important;
visibility: hidden !important;
}

nav ul {
line-height: 20px;
list-style: none;
background: #57a7b0;
overflow: hidden;
padding: 0;
text-align: right;
margin: 0;
padding-right: 10px;
transition: max-height 0.3s ease;
}

nav.black .logo {
color: #57a7b0;
}

nav.black .logo h1 {
color: #57a7b0;
}

nav ul li {
display: inline-block;
font-size: 22px;
padding: 5px 15px;
}

nav ul li a {
text-decoration: none;
font-size: 22px;
}

.menu-icon {
line-height: 50px;
width: 100%;
background: #57a7b0;
text-align: right;
box-sizing: border-box;
padding: 5px 10px;
cursor: pointer;
color: #57a7b0;
display: none;
}

.menu-ul {
    list-style: none;
    background: #57a7b0;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: nowrap;
    transition: max-height 0.3s ease;
}

.menu ul li a {
font-size: 22px;
font-family: sans-serif;
text-decoration: none;
color: white;
}

.menu ul li {
margin: 22px;
padding: 5px 18px;
margin-bottom: 0px;
display: flex;
align-items: right;
}

#menu-toggle {
display: none;
}


footer {
background: #d4af37;
color: white;
text-align: center;
padding: 15px 20px;
width: 100%;
min-height: 40px;
box-sizing: border-box;
font-size: 14px;
position: relative;
overflow: visible;
transition: 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

footer.black {
background: #57a7b0 !important;
}

footer a {
color: white;
text-decoration: underline;
}

footer a:hover {
text-decoration: none;
}

footer.footer-hidden {
transform: translateY(200%) !important;
visibility: hidden !important;
}

@media (max-width: 540px) {
    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 55px;
        background: #57a7b0;
        padding: 0 15px;
        box-sizing: border-box;
        z-index: 1000;
    }

    .logo {
        flex: 0 0 auto;
        order: -1;
        margin: 0;
        font-size: 25px;
        line-height: 53px;
        color: #d4af37;
        text-align: left;
        display: block;
    }

    .menu-icon {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 5px 10px;
        color: #d4af37;
        line-height: 54px;
        cursor: pointer;
        width: auto;
        max-width: 50px;
        order: 1;
    }

    .menu-icon .hamburger-inner {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 24px;
        height: 18px;
        transition: all 0.3s ease;
    }

    .menu-icon .hamburger-inner span {
        width: 100%;
        height: 3px;
        background-color: #d4af37;
        transition: all 0.3s ease;
    }

    #menu-toggle:checked ~ .menu-icon .hamburger-inner {
        flex-direction: row;
        gap: 4px;
        width: 18px;
        height: 24px;
    }

    #menu-toggle:checked ~ .menu-icon .hamburger-inner span {
        width: 3px;
        height: 100%;
        background-color: #d4af37;
    }

    .menu-ul {
        position: absolute;
        top: 53px;
        left: 0;
        width: 100%;
        max-height: 0;
        background: #57a7b0;
        transition: max-height 0.3s ease;
        box-sizing: border-box;
        overflow: hidden;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        visibility: visible;
    }

    #menu-toggle:checked ~ .menu .menu-ul {
        max-height: 120px; 
        overflow-y: auto;
    }

    .menu-ul li {
        width: 50%; /* Două elemente pe rând */
        box-sizing: border-box;
        padding: 12px 0;
        text-align: center;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }

    .menu-ul li a {
        font-size: 22px;
        color: white;
        text-decoration: none;
    }

    .menu-ul li.current-menu-item,
    .menu-ul li.current_page_item,
    .menu-ul li.menu-item-has-children {
        width: 50%;
        padding: 12px 0;
    }

    .logo .mixed {
        line-height: 53px;
        margin: 0 10px;
        color: #d4af37;
        font-family: 'Futura', sans-serif;
        font-size: 30px;
        font-weight: 900;
        position: relative;
    }

    .mixed {
        font-family: Arial, sans-serif;
        display: inline-flex;
        align-items: baseline;
    }

    .mixed .lowercase {
        font-size: 1.3em;
        font-weight: 300;
    }
}

@media (min-width: 541px) and (max-width: 1024px) {
nav {
display: flex !important;
justify-content: space-between;
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 53px !important;
background: #57a7b0 !important;
padding: 0 15px !important;
box-sizing: border-box !important;
z-index: 1000 !important;
visibility: visible !important;
}

.logo {
flex: 0 0 auto !important;
order: -1 !important;
position: relative !important;
margin: 0 !important;
font-size: 50px !important;
color: #d4af37 !important;
text-align: left !important;
display: block !important;
}

.abort .menu {
flex: 0 0 auto;
display: flex;
align-items: right;
}

.menu ul {
display: flex;
justify-content: flex-end;
list-style: none;
margin: 0;
padding: 0;
background: transparent;
}

nav.black ul {
background: transparent;
}

.menu ul li { 
padding: 0px 10px;
text-align: right;
}

.menu ul li a {
font-size: 18px;
color: white;
text-decoration: none;
}

.logo .mixed {
line-height: 40px;
position: fixed;
margin: 0px 5px;
color: #d4af37;
font-family: 'Futura', sans-serif;
font-size: 35px;
font-weight: 900;
}

.mixed {
font-family: Futura, sans-serif;
display: inline-flex;
align-items: baseline;
}

.mixed .lowercase {
font-size: 1.3em;
font-weight: 300;
}
}

@media (min-width: 1025px) {
nav {
display: flex !important;
justify-content: space-between;
position: fixed !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 53px !important;
background: #57a7b0 !important;
padding: 0 15px !important;
box-sizing: border-box !important;
z-index: 1000 !important;
}

nav.black {
background: #d4af37 !important;
}

.logo {
flex: 0 0 auto !important;
order: -1 !important;
position: relative !important;
margin: 0 !important;
font-size: 50px !important;
color: #d4af37 !important;
text-align: left !important;
display: block !important;
transition: color 0.3s ease;
}

nav.black .logo {
color: #57a7b0 !important;
}

.menu {
flex: 0 0 auto;
display: flex;
align-items: center;
}

.menu ul {
display: flex;
justify-content: flex-end;
list-style: none;
margin: 0;
padding: 0;
background: transparent;
}

nav.black ul {
background: transparent;
}

.menu ul li {
padding: 0px 18px;
text-align: right;
}

.menu ul li a {
font-size: 18px;
color: white;
text-decoration: none;
}

.logo .mixed {
line-height: 84px;
position: relative;
margin: 0 15px;
color: inherit;
font-family: 'Futura', sans-serif;
font-size: 75px;
font-weight: 900;
}

.mixed {
font-family: Futura, sans-serif;
display: inline-flex;
align-items: baseline;
}

.mixed .lowercase {
font-size: 1.3em;
font-weight: 300;
}

footer {
    transition: background 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
}