/* ------- font ------- */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins&display=swap");
/* ------- custom properties ------- */
:root {
    --clr-primary: 0, 70%, 50%;
    --clr-primary-dark: 260, 98%, 69%;
    --clr-white: 0, 0%, 100%;
    --clr-black: 0, 0%, 0%;
    --clr-dark: 0, 0%, 18%;
    --clr-highlight: 0, 100%, 50%, 0.06;
    --clr-warning: 0, 100%, 50%;
    --body-font: "Montserrat", sans-serif;
}

/* ------- CSS reset ------- */
*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    text-size-adjust: none;
}

body {
    background-color: var(--clr-white);
    font-family: var(--body-font);
    font-style: normal;
    line-height: normal;
}

img {
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    background: none;
}

ol,
ul {
    list-style: none;
}

/* ------- colors ------- */
.bg-black {
    background-color: hsl(var(--clr-black));
}

.bg-white {
    background-color: hsl(var(--clr-white));
}

.text-black {
    color: hsl(var(--clr-black));
}

.text-dark {
    color: hsl(var(--clr-dark));
}

.text-white {
    color: hsl(var(--clr-white));
}

/* --------- components --------- */
.container {
    display: flex;
    min-height: 100vh;
}

    .container section {
        width: 50%;
        flex: 1 1;
    }

@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
    }
}

.swiper-slide {
    opacity: 0 !important;
    transition: 0.3s;
}

.swiper-slide-active {
    opacity: 1 !important;
}

.swiper-slide > .hero-super {
    transform: translateY(-30px);
    opacity: 0;
    transition-duration: 0.8s;
}

.swiper-slide-active > .hero-super {
    transform: none;
    opacity: 1;
}

.swiper-slide > .hero-img {
    transition-duration: 0.8s;
    transform: scale(1.1);
    opacity: 0;
}

.swiper-slide-active > .hero-img {
    opacity: 1;
    transform: scale(1);
}

.hero {
    position: relative;
}

    .hero .overlay-black {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: hsl(var(--clr-black), 0.75);
        z-index: 3;
    }

    .hero .logo {
        position: absolute;
        top: 40px;
        left: 40px;
        width: 250px;
        z-index: 3;
    }

.hero-img {
    object-fit: cover;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .hero-img {
        height: 350px;
    }
}

.hero-super {
    position: absolute;
    bottom: 120px;
    left: 72px;
    color: hsl(var(--clr-white));
    font-size: 44px;
    font-weight: 600;
    line-height: normal;
    z-index: 3;
    transition-delay: 0.2s;
}

@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {

    .hero-super {
        font-size: 33px;
    }
}


@media screen and (max-width: 992px) {
    .hero-super {
        font-size: 36px;
    }
}

@media screen and (max-width: 768px) {
    .hero-super {
        font-size: 32px;
    }
}

.hero .nav-carousel {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
    transform: scale(1);
    z-index: 3;
}

    .hero .nav-carousel .button-prev, .hero .nav-carousel .button-next {
        transition: transform 0.3s ease-in-out;
    }

        .hero .nav-carousel .button-prev:hover, .hero .nav-carousel .button-next:hover {
            transform: scale(1.1);
        }

    .hero .nav-carousel .pagination > .swiper-pagination-bullet {
        width: 16px;
        height: 16px;
        background-color: hsl(var(--clr-white), 0.5);
        border-radius: 50%;
        transition: all 0.3s ease-in-out;
    }

    .hero .nav-carousel .pagination > .swiper-pagination-bullet-active {
        background-color: hsl(var(--clr-white));
        width: 48px;
        border-radius: 16px;
    }

        .hero .nav-carousel .pagination > .swiper-pagination-bullet:hover, .hero .nav-carousel .pagination > .swiper-pagination-bullet-active:hover {
            background-color: hsl(var(--clr-white));
        }

.sign-up {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 64px;
}

@media screen and (max-width: 768px) {
    .sign-up {
        padding: 32px 24px;
    }
}


@media (max-width: 991px) {
    .no100vh {
        height: max-content !important;
    }

    .geciciBilgilendirme {
        top: inherit !important;
        bottom: 1rem !important;
        right: inherit !important;
        width: 100% !important;
    }

    .hero {
        padding-bottom: 9rem;
        position: relative;
    }

    .hero-super {
        font-size: 20px !important;
    }

    .hero .nav-carousel .pagination > .swiper-pagination-bullet {
        display: none;
    }
}

@keyframes opacity {

    from {
        opacity: 0;
    }

    to {
        opacity 1;
    }
}

@keyframes alert {

    0% {
        transform: rotate(0deg);
    }

    30% {
        transform: rotate(11deg) scale(1.10);
    }

    60% {
        transform: rotate(-11deg) scale(0.90);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

.sign-up h1 {
    color: hsl(var(--clr-black));
    font-size: 51px;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

    .sign-up h1 span {
        color: hsl(var(--clr-primary));
    }

.sign-up h2 {
    color: hsl(var(--clr-dark));
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    width: 90%;
    margin-bottom: 52px;
}

    .sign-up h2 .highlight {
        padding: 0 4px;
        font-weight: 500;
        background: linear-gradient(to top, hsl(var(--clr-highlight)) 50%, transparent 50%);
    }

.sign-up__form {
    width: 100%;
    max-width: 416px;
    margin-bottom: 24px;
}

.sign-up__form-control {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.sign-up__form label {
    color: hsl(var(--clr-black));
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

    .sign-up__form label span {
        color: hsl(var(--clr-warning));
    }

.sign-up__form input {
    padding: 12px 16px;
    border: 1px solid hsl(var(--clr-dark), 50%);
}

    .sign-up__form input[type=password] {
        font-family: Verdana;
        letter-spacing: 0.125em;
    }

    .sign-up__form input::placeholder {
        font-size: 16px;
        color: hsl(var(--clr-dark), 50%);
    }

    .sign-up__form input:focus-visible {
        outline-color: hsl(var(--clr-primary));
    }

.sign-up__form button {
    width: 100%;
    display: inline-block;
    margin-top: 8px;
    padding: 16px 16px;
    background-color: hsl(var(--clr-primary));
    color: hsl(var(--clr-white));
    border: 0px solid hsl(var(--clr-black));
    text-align: center;
    transition: all 0.3s ease-in-out;
}

    .sign-up__form button:hover {
        background: hsl(var(--clr-black));
    }

.sign-up h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 416px;
    color: hsl(var(--clr-dark));
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 24px;
}

    .sign-up h3::after, .sign-up h3::before {
        content: " ";
        display: inline-block;
        width: 30%;
        height: 1px;
        background-color: hsl(var(--clr-dark), 20%);
    }

.sign-up__social {
    width: 100%;
    max-width: 416px;
    display: flex;
    gap: 20px;
}

.sign-up__social-button {
    padding: 12px 16px;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid hsl(var(--clr-dark), 15%);
    font-family: "Poppins", sans-serif;
    transition: border-color 0.3s ease-in-out;
}

    .sign-up__social-button:hover {
        border: 1px solid hsl(var(--clr-dark), 30%);
    }

    .sign-up__social-button img {
        width: 24px;
    }
