* {
    /*   outline:1px solid red;*/
}

    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

html, body {
    height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    position: relative;
    min-height: 100%;
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
    outline: none;
    border: none;
    background: none;
}

a {
    color: inherit;
    text-decoration: none;
    display: contents
}

ul, ol {
    list-style: none;
}

:root {
    --mw: 75rem;
    --fb: #2E2A47;
    --fh: #EAB543;
}

.d {
    display: block;
}

.m {
    display: none;
}

.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 0 1rem;
    color:white;
    transition: background-color 0.5s ease, color 0.5s ease;
}

    .main-header.scrolled {
        background-color: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        color: #535353;
    }


    .main-header.dimmed {
        background: rgba(200,200,200,0.7);
    }

#HeaderTopSection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 60px;
}

#HeaderTopSection-desktop-left-section {
    flex: 1
}
#HeaderTopSection img {
    height: 20px;
}

#header-inner-logo {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 55px;
    font-weight: normal;
    cursor: pointer;
    letter-spacing: 6px;
    flex: 1
}

#HeaderTopSection-desktop-icon-container {
    display: flex;
    justify-content: center;
    flex: 1;
    gap:10px;
}

#HeaderTopSection-desktop-icon-container-space-left {
    flex: 3;
}

#HeaderTopSection-desktop-icon-container-space-right{
    flex:1;
}

#HeaderTopSection-desktop-icon-container img {
    height: 25px;
}

#HeaderTopSection-desktopMenu {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
   /* color: white;*/
    font-size: 20px;
}

.menu-title {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    cursor:pointer;
}

.menu-item:hover .menu-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #2E2A47;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    gap: 30px;
    padding: 20px;
    background: white;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    /*transform: translateY(10px);*/
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
    width: 100%;
    justify-content: center;
    font-size: 14px;
}

.sub-menu-item {
    opacity: 0;
   /* transform: translateX(-50px);*/
    transition: all 0.4s ease;
}

.sub-menu-item-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .sub-menu-item-list li {
        margin-bottom: 8px;
        color: #535353;
    }

        .sub-menu-item-list li a {
            color: #535353;
        }

            .sub-menu-item-list li a:hover {
                color: #EAB543;
            }

    .sub-menu-item-list .sub-menu-item-list-header {
        font-weight: 700;
        font-size: 18px;
        margin-bottom: 12px;
    }

body.lock-scroll {
    overflow: hidden;
}

.main-content:not(.no-margin) {
    padding-top: 70px;
}

#hamburger, #searchIcon {
    cursor: pointer;
    /*padding: 1rem;*/
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 99;
}

    #overlay.show {
        opacity: 1;
        pointer-events: auto;
    }

#searchMenu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 360px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    transition: left 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

    #searchMenu.active {
        left: 0;
    }

.search-wrapper {
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.search-input {
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-results-container {
    overflow-y: auto;
    flex-grow: 1;
    padding: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 3rem;
}

.search-results {
    display: flex;
    flex-direction: column;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
}

#sideMenu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: white;
    z-index: 1000;
    transition: left 0.3s ease-in-out;
    overflow: hidden;
}

    #sideMenu.active {
        left: 0;
    }

.menu-header {
    padding: 1rem;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}

.menu-close {
    cursor: pointer;
}

.menu-main, .submenu {
    list-style: none;
    padding: 1rem;
    margin: 0;
}

    .menu-main li, .submenu li {
        padding: 0.5rem 0;
        cursor: pointer;
    }

.arrow {
    float: right;
}

.submenu {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: transform 0.3s ease-in-out;
    transform: translateX(0);
}

    .submenu.active {
        transform: translateX(-100%);
    }

.back-btn {
    font-weight: bold;
    margin-bottom: 1rem;
    cursor: pointer;
}

footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    background-color: var(--fb);
    color: white;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-menu .menu-title {
        position: relative;
        font-weight: bold;
        font-size: 18px;
        color: var(--fh);
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

        .footer-menu .menu-title::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 30px;
            height: 2px;
            background-color: #f5b74e;
        }

    .footer-menu li a {
        display: block;
        color: white;
        text-decoration: none;
        margin-bottom: 10px;
        font-size: 16px;
        transition: color 0.3s;
    }

        .footer-menu li a:hover {
            color: var(--fh);
        }

#footer-inner {
    width: 1200px;
    margin-top: 40px
}

#footer-inner-l1 {
    margin: 20px 0 50px;
    display: flex;
    padding-bottom: 20px;
    justify-content: space-between;
}

#footer-inner-l1-c1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#footer-inner-l1-c1-indirim-text {
    text-align: center;
    margin-top: 10px;
}

#footer-inner-l1-c1-email {
    display: flex;
    margin-top: 10px;
}

#footer-inner-l1-c1-email-input {
    text-indent: 10px;
    background-color: white;
    border: none;
}

#footer-inner-l1-c1-email-button {
    cursor: pointer;
    border: 2px solid white;
    height: 35px;
    width: 80px;
    background-color: var(--fb);
    color: var(--fh);
    font-size: 17px;
}

#footer-inner-l1-c2 {
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

#footer-inner-l2 {
    margin: 20px 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footer-inner-l3 {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

#footer-inner-logo {
    font-family: 'Cinzel', serif;
    font-size: 45px;
    color: var(--fh);
    font-weight: normal;
    cursor: pointer;
    letter-spacing: 6px;
}

#footer-inner-l1-c1-social {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 20px
}

@media (max-width: 48rem) {
    html {
        font-size: 16px;
    }

    .d {
        display: none;
    }

    .m {
        display: block;
    }

    .main-header {
        padding: 0 5px;
        display: flex;
        justify-content: space-around;
    }

    #HeaderTopSection-desktop-left-section{
        display:none;
    }
    #HeaderTopSection-desktopMenu {
        display: none;
    }

    #HeaderTopSection-desktop-icon-container-space-left {
        display: none;
    }

    #HeaderTopSection-desktop-icon-container-space-right {
        display: none;
    }

    #header-inner-logo {
        font-size: 30px;
        flex:2;
    }

    footer {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        background-color: var(--fb);
        color: white;
    }

    #footer-inner {
        width: 100%;
        margin-top: 40px;
    }

    #footer-inner-l1 {
        display: flex;
        justify-content: center;
        padding: 10px 0 10px;
        width: 100%;
        flex-wrap: wrap;
    }

    #footer-inner-l1-c2 {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 30px;
        margin-top: 30px;
    }

    #footer-inner-l1-c2-c1 {
        width: 70%;
    }

    #footer-inner-l1-c2-c2 {
        width: 70%;
    }

    #footer-inner-l1-c2-c3 {
        width: 70%;
    }

    #footer-inner-l2 {
        margin: 10px 0 20px;
        padding: 0 5px;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    #footer-inner-l2-payment {
        width: 70%;
    }

    #footer-inner-l2-ssl {
        height: 16px;
    }

    #footer-inner-l3 {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        font-weight: 200;
    }
}
