/* Nav */
header {
    background-color: #ffffff;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1em 5%;
}

nav ul {
    display: flex;
   
    gap: 2em;
}

nav ul li {
    list-style: none;
    font-family: "Lato", sans-serif;
}

ul li a {
    text-decoration: none;
    color: #494949;
    transition: color 0.3s ease;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

ul li a:hover {
    color: #ffffff;
    background-color: #009edf;
}

.header-contact {
    font-size: 1rem;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0;
    min-width: 200px;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    border-bottom: 1px solid #e0e0e0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #494949;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #009edf;
    color: #ffffff;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown a svg {
    margin-left: 5px;
    vertical-align: middle;
    transition: stroke 0.3s ease;
}

.dropdown a:hover svg {
    stroke: #ffffff;
}

.page-head {
    min-height: 250px;
    background-position: center start;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
}

.page-head h1 {
    color: #ffffff;
    font-family: 'GFS Didot', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
}

.lang-select-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-flag {
    width: 26px;
    height: auto;
    border-radius: 5px;
}

.lang-select select {
    background-color: #ffffff;
    width: 80px;
    padding: 8px 8px;
    height: 35px;
    border-radius: 10px;
    border: none;
    color: black;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    font-size: 1rem;
}

select:focus {
    outline: none;
}

.search-bar {
    display: flex;
    justify-content: space-between;
    padding: 10px 5%;
    align-items: center;
    gap: 2em;
    border-bottom: 1px solid #e0e0e0;
}

.search-container {
    display: flex;
    align-items: center;
    border-radius: 50px;
    border: none;
    background-color: #f1f1f1;
    padding-right: 12px;
}

.search {
    border: none;
    padding: 8px 12px;
    width: 250px;
    background-color: transparent;
    outline: none;
    font-family: "Lato", sans-serif;
}

.search-icon {
    height: 20px;
    width: 20px;
    cursor: pointer;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5em;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo p {
    font-family: 'GFS Didot', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #7c0033;
    margin: 0;
}



/* ################################# */
/* ######## NAV RESPONSIVE ########## */
/* ################################# */

.mobile-nav {
    display: none;
    justify-content: space-between;
    align-items: center;
}

.hidden-nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hidden-nav.open {
    display: flex;
}

body.menu-open {
    overflow: hidden;
    height: 100vh;
}

.mobile-n-tabs {
    display: flex;
    flex-direction: column;
    gap: 1em;
    list-style: none;
    text-align: center;
    width: 100%;
}

.mobile-n-tabs li a {
    color: #494949;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    width: 100%;
}

.mobile-n-tabs li {
    width: 100%;
    padding: 1em;
}

.mobile-n-tabs li:hover {
    color: #ffffff;
    background-color: #009edf;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #494949;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1280px) {
    .nav-header, .navbar {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }
    
}

/* Footer */
.footer-copyright {
    background-color: #cccccc;
    text-align: center;
    padding: 10px 0;
    color: #494949;
}