﻿@font-face {
    font-family: 'Red Hat Display';
    src: url('../../fonts/RedHatDisplay-VariableFont_wght.woff2') format('woff2');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic Pro';
    src: url('../../fonts/CenturyGothicPro-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Century Gothic Pro';
    src: url('../../fonts/CenturyGothicPro-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* GENERAL */
body, html {
    height: 100%;
    margin: 0;
    font-family: "Red Hat Display", "Segoe UI", Roboto, Arial, sans-serif;
    box-sizing: border-box;
}

/* LAYOUT */
.login-layout {
    height: 100dvh;
    display: flex;
    overflow: hidden;
}

/* LEFT CONTAINER */
.login-left {
    width: 39%;
    height: 100%;
    background: #b42323;
    color: #fff;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between;*/
    /* min-height: 100vh;*/
    padding: clamp(14px, 2.4vw, 28px);
    box-sizing: border-box;
    overflow: hidden;
    /*padding-top: 28px;
    padding-bottom: 24px;*/
}

/* LOGO-WRAP */
.logo-wrap {
    margin-top: 3rem;
}

.login-logo {
    display: block;
    width: clamp(160px, 18vw, 271px);
    height: auto;
    margin: 0;
    padding-top: clamp(18px, 4vh, 48px);
    align-self: flex-start;
}

.form-area {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 0;
    height: auto;
    overflow: hidden;
}

/* FORM-WRAP */
.login-form-wrap {
    width: min(423px, 90%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    justify-content: center;
    padding-top: 6px;
    padding-bottom: clamp(28px, 6vh, 80px);
    box-sizing: border-box;
    /*max-height: calc(100vh - 160px);*/
    overflow: visible;
}

.greeting {
    width: 100%;
    align-self: flex-start;
    margin-bottom: 40px;
}

.greeting-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px 0;
    line-height: 1;
}

.greeting-text {
    font-size: 40px;
    font-weight: 300;
    letter-spacing: 0.1px;
    color: #fff;
}

.greeting-wave {
    font-size: 30px;
    line-height: 1;
    /*display: inline-block;*/
}

.greeting-wave {
    font-size: 35px;
    display: inline-block;
    transform-origin: 70% 70%;
    animation: wave 1.6s infinite;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(14deg);
    }

    40% {
        transform: rotate(-8deg);
    }

    60% {
        transform: rotate(14deg);
    }

    100% {
        transform: rotate(0deg);
    }
}


/* INPUTS */
.login-input {
    width: 100%;
    height: clamp(44px, 5.5vh, 63px);
    border-radius: 8px;
    padding: 0 14px;
    background: #f1f3f4;
    border: 1px solid rgba(0,0,0,0.06);
    color: #222;
    box-shadow: none;
    font-size: 0.95rem;
    /* width: 100%;  */
}

    .login-input::placeholder {
        color: rgba(0,0,0,0.35);
    }

.login-input-label {
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.25rem;
    display: block;
    font-size: 16px;
}

/* FORGOT LINK */
.forgot-link {
     position: static;
    text-align: right;
    margin-top: 10px;
    font-size: 16px;
    height: 30px;
}

    .forgot-link a {
        color: rgba(255,255,255,0.85);
        text-decoration: none;
    }

        .forgot-link a:hover {
            text-decoration: underline;
        }

        .forgot-link a:empty {
            display: none;
        }


/* BUTTONS */
.login-btn {
    background: #000;
    color: #fff;
    border-radius: 8px;
    width: 100%;
    height: clamp(44px, 6vh, 63px);
    font-weight: 600;
    border: none;
    font-size: 1rem;
    transition: all 0.2s ease;
    /*width: 100%;*/
}

    .login-btn:hover,
    .login-btn:focus {
        background: #111; /* siyahın koyu tonu */
        color: #fff;
        transform: translateY(-2px);
    }

.password-wrap {
    position: relative;
}

.password-eye {
    position: absolute;
    right: 15px;
    top: 30%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #000000;
    font-size: 23px;
    transition: color 0.2s ease;
    z-index: 5;
}

    .password-eye:hover {
        color: #b42323;
        /*#D3D3D3*/
    }

.support-btn {
    background: #3578ff;
    color: #fff;
    border-radius: 8px;
    width: clamp(200px, 35vw, 256px);
    height: clamp(38px, 5vh, 44px);
    margin: 18px auto 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .support-btn:hover,
    .support-btn:focus {
        background: #2f68e0; /* mavinin koyu tonu */
        color: #fff;
        transform: translateY(-2px);
    }



/* KVKK  */
.kvkk-note {
    color: #fff !important;
    margin-top: 12px;
    margin-bottom: 8px;
    text-align: center;
    font-size: 14px;
}

.kvkk-link {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

    .kvkk-link:hover {
        color: #ffd1d1;
    }

.kvkk-title {
    font-size: larger;
    font-weight: bold;
}

.kvkk-sub-title {
    font-weight: bold;
    font-size: medium;
}

.kvkk-sub-list {
    list-style-type: decimal;
}



/* BADGES */
.app-badge {
    background: #fff;
    color: #333;
    border-radius: 10px;
    padding: 6px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*gap: 4px; */
    text-decoration: none;
    width: 140px;
    height: 36px;
    box-sizing: border-box;
    transition: background 200ms ease, color 200ms ease, transform 120ms ease;
    -webkit-tap-highlight-color: transparent;
}


    .app-badge .badge-top {
        font-size: 9px;
        color: #666;
        line-height: 1;
        margin: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-left: 10px;
    }


    .app-badge .badge-bottom {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }


    .app-badge img,
    .app-badge svg {
        height: 18px;
        width: auto;
        display: block;
    }

.badge-label {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.app-badge:hover,
.app-badge:focus {
    background: #3578ff;
    color: #ffffff;
    transform: translateY(-1px);
    outline: none;
}

    .app-badge:hover .badge-top,
    .app-badge:hover .badge-label,
    .app-badge:focus .badge-top,
    .app-badge:focus .badge-label {
        color: #fff;
    }

.badge-top-appstore {
    margin-left: 20px !important;
}

.app-badge:focus {
    box-shadow: 0 0 0 4px rgba(47,104,224,0.18);
}

.badge-section {
    margin-top: auto;
    /*padding-bottom: clamp(12px, 2.6vh, 24px);*/
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.download-title {
    color: #ffffff; 
    margin-bottom: 0.5rem;
    font-size:16px;
}


/*.metek-logo {
    max-width: 120px;
    opacity: 0.95;
    margin-top: 8px;
}
*/

/* RIGHT CONTAINER */
.login-right {
    min-height: 100vh;
    /*height: 100%;*/
    width: 65%;
    background: #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 50px;
    overflow: hidden;
}


.metek-bottom {
    position: absolute;
    right: 18px;
    bottom: 10px;
    width: 120px;
    /*opacity: 0.98;*/
    z-index: 7;
}

    .metek-bottom img {
        width: 100%;
        cursor: pointer;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

        .metek-bottom img:hover {
            transform: scale(1.05);
            opacity: 0.9;
        }

/* PAGE TURN */
.page-turn {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 220px;
    pointer-events: none;
    z-index: 6;
}

    .page-turn img {
        width: 100%;
        display: block;
    }

/* CONTACT ROW  */
.contact-row {
    position: absolute;
    bottom: 18px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-evenly; /*space-evenly*/
    align-items: center;
    /* padding: 0 100px;*/
    flex-wrap: wrap;
    gap: 20px;
    padding-left: 20px;
    padding-right: 240px;
    color: #b42323;
    font-size: 14px;
    z-index: 5;
}

    .contact-row .icon-sml {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    /*white-space: nowrap;*/
}


    .contact-item a {
        color: #b42323 !important;
        text-decoration: none;
        font-size: medium;
        font-weight: 500;
    }

        .contact-item a:hover {
            color: #8f1c1c;
            text-decoration: underline;
        }

.contact-item-phone {
    margin-right: 0;
}
/* CAROUSEL CONTROLS */
.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    opacity: 0.9;
    transition: background 0.2s ease;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(0);
}

/* hover state */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: #b42323;
}

    .carousel-control-prev:hover .carousel-control-prev-icon,
    .carousel-control-next:hover .carousel-control-next-icon {
        filter: brightness(0) invert(1);
    }

/* SLIDE BACKGROUND */
.login-right::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    left: 50%;
    top: 15%;
    transform: translateX(-50%);
    background-image: url("../LoginImages/slide-circle.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.95;
    pointer-events: none;
    z-index: 1;
}

.no-image .login-right::before {
    background-image: radial-gradient(circle at center, rgba(244,182,182,0.45) 0%, rgba(244,182,182,0.28) 45%, rgba(244,182,182,0.12) 70%, transparent 80%);
}

#loginCarousel {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
}

.carousel-fade .carousel-item {
    transition: opacity 1.5s ease-in-out;
}

.hero-slide {
    width: 100%;
    max-width: 820px;
    height: 100%;
    margin: auto;
    position: relative;
    text-align: center;
    z-index: 2;
}

/* HERO TEXT */

.hero-text {
    position: absolute;
    top: clamp(40px, 8vh, 80px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 4;
}


.hero-image {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 630px;
    max-height: clamp(300px, 55vh, 600px);
    object-fit: contain;
    pointer-events: none;
    z-index: 3;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
}

/* OUTLINE TITLE */
.hero-title {
    font-family: 'Century Gothic Pro',"Red Hat Display", "Segoe UI", Roboto, Arial, sans-serif;
    font-size: clamp(36px, 3vw, 60px);
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: clamp(1px, 0.15vw, 1.8px) rgb(0 0 0 / 40%);
    margin: 0;
    /*letter-spacing: 1px;*/
}

.hero-sub {
    color: #b42323;
    font-family: 'Century Gothic Pro', "Red Hat Display", "Segoe UI", Roboto, Arial, sans-serif;
    font-size: clamp(26px, 1.2vw, 36px);
    font-weight: 400;
    margin: 0 0 18px 0;
}

/*@media (max-width: 992px) {
    .login-left {
        width: 46%;
        padding: 28px;
    }

    .login-right {
        width: 54%;
        padding: 24px;
    }

    .hero-title {
        font-size: 36px;
    }
}*/

/* RESPONSIVE */
@media (max-width: 768px) {

    .login-layout {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .login-left {
        width: 100%;
        padding: 22px;
        min-height: 100vh;
    }

    .login-right {
        width: 100%;
        padding: 18px;
        order: 2;
        display: none;
    }

    .contact-row {
        flex-direction: column;
        gap: 10px;
        padding: 0 20px;
    }

    .logo-wrap {
        margin-top: clamp(40px, 8vh, 90px);
    }

    .page-turn {
        width: 140px;
    }

    .metek-bottom {
        bottom: 90px;
        width: 90px;
    }
}


@media (max-height: 768px) {
    .hero-text {
        top: 50px;
    }

    .hero-image {
        top: 60%;
        max-height: 50vh;
        max-width: 70vh;
    }

    .login-logo {
        width: 200px;
        padding-top: 10px;
    }

    .greeting-text {
        font-size: 36px;
        margin-top: 5rem;
    }

    .greeting-wave {
        margin-top: 5rem;
        font-size: 32px;
    }

    .login-form-wrap {
        padding-bottom: 10px;
    }

    .badge-section {
        padding-bottom: 8px;
    }

    .logo-wrap {
        margin-top: 3rem;
    }
}


@media (max-height: 640px) {

    .login-form-wrap {
        width: min(380px, 92%);
        margin: 0 auto;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .greeting-text {
        font-size: 30px;
        margin-top: 9rem;
    }

    .greeting-wave {
        margin-top: 9rem;
        font-size: 26px;
    }

    .login-input {
        height: 44px;
    }

    .login-btn {
        height: 46px;
        font-size: .95rem;
    }

    .support-btn {
        width: 200px;
        height: 36px;
        margin-top: 10px;
    }

    .kvkk-note {
        margin-top: 8px;
        margin-bottom: 6px;
        font-size: 12px;
    }

    .badge-section {
        margin-top: 10px;
        margin-bottom: 12px;
    }

    .app-badge {
        width: 110px;
        height: 32px;
    }

    .download-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .hero-image {
        max-height: calc(100vh - 260px);
        max-width: 460px;
    }

    .logo-wrap {
        margin-top: 3rem;
    }
}
