@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500&display=swap');

:root {
    --main-color: #0C1336;
    --search-bg-color: #ECEFF4;
    --search-placeholder-color: #adaeb0;
    --text-color-content: #1E2E8A;
    --text-black: #000000;
    --bg-white: #ffffff;
    --text-gray: #666666;
}

* {
    font-family: 'Lexend', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.main-header {
    width: 100%;
    flex-direction: column;
    display: flex;
    max-width: 2000px;
    margin: 0 auto;
}

.header-top {
    height: 40px;
    padding: 0 3rem;
    align-items: center;
    display: flex;
    background-color: var(--main-color);
    justify-content: space-between;
}

.top-left-div {
    display: flex;
}

.custumer-icon {}





.marquee-container {
    overflow: hidden;
    padding: 0;
    background-color: transparent;
    color: white;
    display: flex;
    width: 100%;
    max-width: 19vw;
}

.marquee-track {
    width: max-content;
    animation: scroll 10s linear infinite;
    display: flex;
}

.marquee-content {
    white-space: nowrap;
    display: flex;
    padding-right: 50px;
    align-items: center;
    gap: 20px;
    font-family: sans-serif;
    font-weight: bold;
}

.marquee-content span {
    font-size: 0.9rem !important;
}


@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.top-right-div {
    gap: 1rem;
    align-items: center;
    display: flex;
}

.top-right-div span {
    color: var(--search-placeholder-color);
}

.header-top a {
    text-decoration: none;
    align-items: center;
    gap: 0.5rem;
    display: flex;
    color: var(--bg-white);
    font-size: 0.8rem;
}

.header-top img {
    width: 1rem;
    height: auto;
}

.header-content {
    gap: 2rem;
    height: auto;
    padding: 1.2rem 2.5rem;
    justify-content: space-between;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo {
    height: auto;
    max-width: 400px;
    width: 10%;
}

.hamburger-div {
    display: none;
    gap: 0.2rem;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.hamburger-line {
    height: 2px;
    width: 25px;
    background-color: var(--text-black);
}



.mobile-logo {
    display: none;
    width: 25%;
    height: auto;
}

.search-container {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    align-items: center;
    width: 65%;
    background-color: var(--bg-white);
    background-color: var(--search-bg-color);
    display: flex;
    border-radius: 2rem;
}

.search-input {
    background-color: transparent;
    outline: none;
    height: auto;
    font-size: 1rem;
    width: 100%;
    border: none;
}

.search-input::placeholder {
    color: var(--search-placeholder-color);
    font-size: 0.9rem;
    font-weight: bold;
}

.search-button {
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.header-item-container {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    align-items: center;
}

.header-item {
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-align: center;
    gap: 0.3rem;
}

.header-item a {
    color: var(--text-color-content);
    font-size: 0.7rem;
    text-decoration: none;
}

.header-item i {
    font-style: normal;
    font-size: 0.7rem;
    color: #C0392B;
}

.item-icon-box {
    justify-content: center;
    align-items: center;
    border-radius: 2rem;
    height: 48px;
    background-color: #ECEFF4;
    width: 68px;
    display: flex;
}

.header-bottom {
    border-bottom: 1px solid #00000020;
    background-color: var(--bg-white);
    justify-content: center;
    display: flex;
    position: relative;
    width: 100%;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-menu-list {
    gap: 3rem;
    list-style: none;
    padding: 0 4rem;
    display: flex;
    font-size: 1rem;
    max-width: 1800px;
    justify-content: center;
}

.menu-element {
    padding: 1rem 0;
}

.parent-blog-bg {
    background-color: rgb(242, 242, 242);
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    align-items: center;
}



.menu-element>a {
    transition: all 0.5s ease-in-out;
    font-weight: 300;
    font-size: 0.90rem;
    letter-spacing: -0.2px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none;
    color: var(--text-black);
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.arrow-down {
    display: flex;
    align-items: center;
    justify-content: center;
}

.down-icon {
    width: 0.9rem;
    height: auto;
    display: block;
}

.menu-element>a:hover {
    filter: blur(0.5px);
}

.mega-dropdown-menu {
    pointer-events: none;
    padding: 2rem 3rem;
    box-shadow: 0px 4px 6px 0px #00000029;
    z-index: 100;
    visibility: hidden;
    overflow: hidden;
    top: 100%;
    justify-content: space-between;
    display: flex;
    transform: translateY(2px);
    opacity: 0;
    left: 0;
    position: absolute;
    background-color: var(--bg-white);
    transition: all 0.2s ease-in-out;
    width: 100%;
}

.menu-element.has-dropdown:hover .mega-dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
    visibility: visible;
}

.mega-left {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
    flex: 1;
}

.menu-card {
    color: var(--text-black);
    text-decoration: none;
    gap: 1rem;
    display: flex;
    transition: all 0.2s ease-in-out;
    align-items: center;
}

.menu-card a {
    gap: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon {
    width: 40px;
    height: auto;
}

.card-text {
    display: flex;
    gap: 0.2rem;
    flex-direction: column;
}

.card-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-gray);
    transition: all 0.5s ease-in-out;
}

.menu-card:hover h4 {
    color: var(--text-black);
}

.card-text p {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.mega-right {
    flex: 1.5;
    display: flex;
    justify-content: flex-end;
}

.mega-img {
    max-width: 100%;
    border-radius: 0.1rem;
    width: 70%;
}

.space {
    height: 200vh;
}



@media (max-width: 425px) {
    .main-menu-list {
        display: none;
    }

    .top-right-div {
        display: none;
    }

    .top-left-div {
        display: none;
    }

    #favoriler,
    #login,
    #bag {
        display: none;
    }

    .logo {
        display: none;
    }

    .hamburger-div,
    .mobile-logo {
        display: flex;
        flex: 1;
    }

    .search-container {
        display: flex;
        width: 100%;
        order: 4;
        margin-top: 1rem;
    }

    .header-content {
        padding: 0.9rem 1rem;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
}