/* Genel Arka Plan ve Yazı Tipi */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    background-color: #18274a; /* Ana arka plan rengi */
}

/* Split Container */
.split-container {
    display: flex;
    width: 100%;
    height: 100vh; /* Tam ekran yüksekliği */
}

/* Sol Bölüm: Arka Plan ve Hover Metni */
.left-section {
    flex: 1;
    background: url('/img/pexels-photo-7526790.jpeg') no-repeat center center;
    background-size: cover;
    position: relative; /* Logo ve mağaza ikonları için gerekli */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    overflow: hidden;
}

    .left-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(24, 39, 74, 0.5); /* Yarı saydam katman */
        transition: background 0.3s ease-in-out;
    }

    .left-section:hover::before {
        background: rgba(24, 39, 74, 0.7);
    }

    .left-section .overlay-text {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(25, 39, 74, 0.85); /* Yarı saydam arka plan */
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
        pointer-events: none;
    }

    .left-section:hover .overlay-text {
        opacity: 1;
    }

    .left-section .overlay-text p {
        font-size: 24px;
        font-weight: bold;
        text-align: center;
        padding: 20px;
        max-width: 80%;
    }

/* Sol Üst Logo */
.left-logo {
    position: absolute;
    top: 20px;
    left: 20px;
}

    .left-logo img {
        width: 150px; /* Logoyu büyüttük */
        height: auto;
    }

/* Mağaza İkonları */
.store-badges {
    position: absolute;
    right: 10px;
    bottom:10px;
    flex-direction: column; /* Logoları dikey olarak sıralar */
    align-items: center; /* Logoları ortalar */
    gap: 10px; /* Logolar arasında boşluk */
}

    .store-badges img {
        width: 120px;
        height: 140px; /* Sabit yükseklik */
        object-fit: contain; /* Resmin orantısını korur */
        transition: transform 0.3s ease-in-out;
    }

        .store-badges img:hover {
            transform: scale(1.05); /* Hover efekti */
        }

/* Sağ Bölüm: Giriş Formu */
.right-section {
    flex: 1;
    background-color: #1e2a38; /* Daha koyu ve kurumsal mavi arka plan */
    background-image: url('/img/pxfuel.jpg'); /* Arka plan resmi */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px; /* Başlık ile form arasında boşluk */
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* Logo Alanı */
.logo {
    margin-bottom: 20px;
}

    .logo img {
        max-width: 150px;
        height: auto;
    }

/* Giriş Formu Stil */
.contact-form {
    width: 100%;
    max-width: 450px; /* Giriş kutusunu büyüttük */
    padding: 50px 40px; /* Daha fazla iç boşluk */
    background: #bbd4dd; /* Daha koyu arka plan rengi ve biraz saydamlık */
    border-radius: 20px; /* Daha yuvarlak köşeler */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6); /* Daha belirgin gölge */
    box-sizing: border-box;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

    .contact-form:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
    }

    /* Başlık Stili */
    .contact-form h2 {
        margin: 0 0 30px 0;
        color: #ffffff;
        font-size: 32px;
        letter-spacing: 1.5px;
        font-weight: 700;
    }

/* Giriş Kutuları */
.input-group {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.contact-form input {
    width: 100%;
    padding: 14px 20px;
    background: #495a6b; /* Orta ton mavi arka plan */
    border: 1.5px solid #595857; /* Koyu gri kenarlık */
    border-radius: 10px;
    font-size: 18px;
    color: #ffffff;
    transition: border-color 0.3s ease-in-out, background 0.3s ease-in-out;
    box-sizing: border-box;
}

    .contact-form input:focus {
        outline: none;
        background: #596a7b; /* Hafif daha açık mavi */
        border-color: #00b4d8; /* Vurgulu mavi */
    }

    .contact-form input::placeholder {
        color: #d3d3d3;
    }

/* Login Butonu */
.btn2 {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    background-color: #18274a; /* Canlı mavi */
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
    box-sizing: border-box;
}

    .btn2:hover {
        background-color: #0077b6; /* Daha koyu mavi */
        transform: translateY(-3px);
    }

/* Button Area Stil */
.btn-area {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

/* Ekstra Bağlantılar */
.extra-links {
    text-align: center;
    margin-top: 20px;
}

    .extra-links a {
        color: #00e5ff; /* Açık mavi */
        font-size: 16px;
        font-weight: bold;
        text-decoration: none;
        transition: color 0.3s ease-in-out;
    }

        .extra-links a:hover {
            color: #90e0ef; /* Daha açık mavi */
        }

/* Hata Mesajı */
.error-message {
    color: #ff6b6b; /* Kırmızı hata mesajı */
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }

    .left-section, .right-section {
        height: 50vh;
    }

    .contact-form {
        max-width: 100%;
    }

    /* Responsive Logo ve Mağaza İkonları */
    .left-logo img {
        width: 80px;
    }

    .store-badges img {
        width: 100px;
    }
}
