*:not(i) {
    font-family: 'Livvic', sans-serif;
}

html,
body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    background-color: #000;
}

.scroll-container {
    display: flex;
    height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.scroll-page {
    flex: none;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.7s ease-in-out;
    color: white;
}

.page-1 {
    background-color: #000;
    color: #f72b1c;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);
}

.page-1 h1 {
    font-size: 6rem;
    font-weight: bold;
    text-align: left;
    margin-bottom: 100px;
}

.page-2 {
    background-color: #000;
    color: #fff;
}

.page-3 {
    background-color: #000;
    color: #f72b1c;
}

.scroll-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    height: 48px;
    width: 48px;
    font-size: 28px;
    border-radius: 100px;
    padding: 0px;
    background: red;
    border: red;
    color: white;
    padding-bottom: 10px;
}

.scroll-btn.left {
    left: 10px;
}

.scroll-btn.right {
    right: 10px;
}

.top-navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: transparent !important;
}

.text_zone_main {
    width: 650px;
    color: white !important;
    text-shadow: 10px 10px 0px rgb(20 20 20);
}

.navbar .nav-link {
    color: #fff !important;
}

.navbar .nav-link:hover {
    color: #f72b1c !important;
}

.title_form {
    font-size: 55px;
    font-weight: 600;
}

.red_obj {
    color: #f72b1c !important;
}

.bg_red_obj {
    background: #f72b1c;
    border: #f72b1c;
    width: 50%;
}


.navbar .btn-outline-light:hover {
    background-color: #f72b1c;
    border-color: #f72b1c;
}

.scroll-container-wrapper {
    margin-top: 56px;
}

.input-group input {
    max-width: 300px;
    text-align: center;
    font-size: 1.2rem;
}

.side_text {
    width: auto;
    position: relative;
    right: 15%;
    bottom: 43%;
    color: white;
}

.login_img {
    width: 86%;
    height: 500px;
    border-radius: 20px;
    object-fit: cover;
}

.transform-side-title {
    height: 200px;
    position: absolute;
    transform: rotateZ(-90deg);
    transform-origin: center center;
    font-weight: 700;
    color: #f72b1c;
    margin-top: 10%;
    font-size: 50px;
}

.icon_zone {
    background: #1d1e1b;
    padding: 25px;
    position: absolute;
    border-radius: 100px;
    border: 3px solid black;
    top: -7px;
    height: 85px;
    width: 85px;
    font-size: 22px;
}

.little_title_text {
    font-size: 14px !important;
    display: block;
    padding-top: 70px;
    width: 200px;
}

.form_row_zone {
    margin-bottom: 6%;
    margin-left: 5%;
}

.card_contact {
    background-color: #1d1e1b;
    width: 340px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    margin: 10px;
    text-align: center;
}

.card_contact a {
    color: white;
    text-decoration: none;
}


.card_contact h1 {
    color: white;
    font-size: 35px;
    font-weight: 600;
    text-shadow: 4px 4px 0px #f72b1c;
}

.card_contact h3 {
    color: white;
    font-size: 20px;
    font-weight: 500;
}

.form_col_x {
    width: 360px;
    margin-left: 30px;
    margin-top: 100px;
}

.social_contact a {
    margin: 10px;
    font-size: 20px;
}

.contact_row {
    margin-bottom: 40px;
    padding-left: 104px;


}

.side_zone {
    position: relative;
}


.display_right_contact_card {
    padding: 16px;
    text-align: -webkit-right;
    position: relative;
}

.card_contact p {
    color: darkgray;
    font-size: 17px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .page-1 h1 {
        font-size: 3rem;
    }

    .side_zone {
        display: none;
    }

    .contact_row {
        margin-top: 150px;
        margin-bottom: 40px;
        padding-left: 20px;
        padding-right: 25px;
    }

    .display_right_contact_card {
        padding: 16px;
        text-align:unset;
        position: relative;
    }

    .login_img {
        width: 100%;
        height: 200px;
        border-radius: 20px;
        object-fit: cover;
        display: none;
    }

    .scroll-btn {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        z-index: 999;
        height: 37px;
        width: 37px;
        font-size: 21px;
        border-radius: 100px;
        padding: 0px;
        background: red;
        border: red;
        color: white;
        padding-bottom: 10px;
        opacity: 0.4;
    }

    .title_form {
        font-size: 40px;
        font-weight: 600;
    }


    .little_title_text {
        font-size: 12px !important;
        display: block;
        padding-top: 4px;
        width: 200px;
    }

    .card_contact {
        width: 100%;
        height: 170px;
    }

    .text_zone_main {
        width: auto;
    }

    .form_col_x {
        width: 78%;
        margin-top: -10px;
    }

    .form_row_zone {
        margin-bottom: 70px;
        margin-top: 0px;
    }

    .nav-item {
        font-size: 13px;
    }

}



/* ————— Safari scroll fixleri & layout sabitleme ————— */
html, body {
    height: 100%;
    overflow: hidden; /* Safari titremesini ve çift scroll'u engeller */
}

.scroll-container {
    overflow-x: hidden; /* Safari'de yatay scroll bug'ını önler */
    scroll-behavior: auto; /* JavaScript kontrollü scroll olduğu için auto bırakıldı */
    will-change: transform; /* performans artırımı, titremeyi azaltır */
}

.scroll-page {
    height: 100vh;
    overflow-y: auto;
    overscroll-behavior: none; /* mobile Safari’de scroll bounce’u engeller */
    -webkit-overflow-scrolling: touch; /* iOS uyumu */
}
