@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #A91101;
    --secondary: #DA1601;
    --black: #2E2E2E;
    --white: #fafafa;
    --grey900: #717884;
    --grey800: #D3D6D9;
    --grey700: #E9EAEC;
    --grey600: #F4F5F6;
    --green: #10B981;
    --orange: #F97316;
    --red: #EF4444;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Syne', sans-serif;
    background-color: var(--grey600);
    overflow: hidden;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 12px 96px;
    background-color: var(--white);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease-in-out;
}

.header.hide {
    transform: translateY(-100%);
}

.logo {
    height: 56px;
    text-decoration: none;
    color: var(--primary);
    display: flex;
    gap: 8px;
    align-items: center;
}

/* 📋 Menü */
.menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex: auto;
}

.menu-toggle {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: none;
    background: none;
    border: none;
    padding: 8px 16px;
    border-radius: 100px;
    cursor: pointer;
    font-family: 'Syne', sans-serif;
    color: var(--primary);
    transition: background-color 0.3s;
}

.menu-toggle:hover {
    background-color: var(--grey700);
}

.menu-toggle.active {
    background-color: var(--primary);
    color: var(--white);
}

.dropdown-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 96px;
    background: var(--white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 24px;
    padding: 4px;
    min-width: 150px;
    z-index: 1001;
}

.dropdown-menu[hidden] {
    display: none;
}

.dropdown-menu.open {
    display: flex;
}

/* 🔃 Ana Scroll Alanı */
.homescroll {
    height: 100vh;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    transition: 0.6s;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.homescroll::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* 📦 Her tam sayfa bölümü */
.mpsection {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    padding: 5%;
    box-sizing: border-box;
}

/* 🗂 İçerik kartı */
.mpinfocard {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex: 1;
}

/* 🔘 Butonlar */
.buttonprimary a,
.buttontextmed a {
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    transition: 0.3s;
    padding: 10px 24px;
}

.buttonprimary a {
    background: var(--primary);
    color: var(--white);
    font-weight: 400;
}

.buttonprimary a:hover {
    background: var(--secondary);
}

.buttontextmed a {
    color: var(--primary);
    background: transparent;
    padding: 8px 18px;
}

.buttontextmed a:hover {
    background: var(--grey700);
}

/* 📄 Yazı Stilleri */

.parheader {
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid var(--primary);
    padding: 4px 16px;
}

.text-4xl {
    font-size: 36px;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
    color: var(--black);
}

.text-3xl {
    font-size: 30px;
    line-height: 36px;
    font-weight: 600;
    text-align: center;
    color: var(--black);
}

.text-2xl {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    text-align: center;
    color: var(--black);
}

.text-lg {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    text-align: center;
    color: var(--black);
}

.text-md {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    text-align: center;
    color: var(--black);
}

.text-md-par {
    font-size: 16px;
    line-height: 32px;
    font-weight: 500;
    text-align: right;
    color: var(--black);
}

/* 🔻 Footer */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 20px 0;
    text-align: center;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer.visible {
    opacity: 1;
    visibility: visible;
}

img {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    display: block;
    object-fit: contain;
}

.carosection {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    flex: 1;
    padding: 0 5%;
}

.innerparaghraph1 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
    flex: 1 0 0;
}

.innerparaghraph2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1 0 0;
}

.innerparaghraph3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1 0 0;
}

ul.b {
    list-style-type: square;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    color: var(--black);
}

@media (max-width: 1024px) {

    html,
    body {
        height: auto !important;
        overflow: auto !important;
    }

    .header {
        padding: 12px 24px;
        flex-wrap: wrap;
    }

    .dropdown-menu {
        position: fixed;
        top: 80px;
        left: auto;
        right: 0;
        width: 100%;
        max-width: 384px;
        background: var(--white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 30px;
        padding: 4px;
        z-index: 999;
    }

    .dropdown-menu .buttontextmed a {
        padding: 12px 0;
        border-radius: 100px;
    }

    .dropdown-menu .buttontextmed:last-child a {
        border-bottom: none;
    }

    .footer {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .menu {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

    .dropdown-menu.open {
        display: flex;
    }

    .homescroll {
        height: auto !important;
        scroll-snap-type: none !important;
        scrollbar-width: auto !important;
        -ms-overflow-style: auto !important;
    }

    .homescroll::-webkit-scrollbar {
        display: block !important;
        width: 8px;
    }

    .homescroll::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 4px;
    }

    .homescroll::-webkit-scrollbar-track {
        background: transparent;
    }

    .carosection {
        height: auto;
        flex-direction: column !important;
        gap: 32px !important;
        padding: 32px 16px;
        align-items: center;
        scroll-snap-align: none;
    }

    .mpsection {
        height: auto !important;
        flex-direction: column !important;
        gap: 32px !important;
        padding: 96px 16px !important;
        align-items: center !important;
        scroll-snap-align: none !important;
    }

    .homescroll>* {
        scroll-snap-align: none !important;
    }

    .text-4xl {
        font-size: 30px;
        font-weight: 700;
        line-height: 36px;
        text-align: center;
        color: var(--black);
    }

    .text-3xl {
        font-size: 24px;
        line-height: 32px;
        font-weight: 600;
        text-align: center;
    }

    .text-md-par {
        font-size: 16px;
        line-height: 24px;
        font-weight: 500;
        text-align: center;
    }

    .innerparaghraph1,
    .innerparaghraph2 {
        width: 100%;
        justify-content: center;
        align-items: center;
        align-content: center;
    }

}