* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 🔹 ARKA PLAN – foto.webp + mor-siyah geçiş */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: 
        linear-gradient(to bottom, rgba(46, 0, 79, 0.8), rgba(0, 0, 0, 0.95)),
        url('foto.webp') no-repeat center center/cover;
    background-attachment: fixed;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* 🔹 HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background: rgba(255, 255, 255, 0.12); /* soft beyaz arka plan */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 100;
    height: 70px; /* header yüksekliği */
}

/* 🔹 ANA BAŞLIK */
.header-text {
    text-align: left;
    margin: 0;
}

.header-text h1 {
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.8px;
    background: linear-gradient(90deg, #ffffff, #b388ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 🔹 NAVBAR */
.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.2); /* soft beyaz kutucuk */
    border-radius: 20px;
}

.nav-container a {
    font-size: 16px;
    padding: 6px 15px;
    border-radius: 15px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.nav-container a:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #b3e5fc;
    transform: scale(1.05);
}

/* 🔹 GİRİŞ PANELİ */
.glass-container {
    position: relative;
    width: 380px;
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4);
    z-index: 10;
    overflow: hidden;
    margin-top: 230px;
}

.glass-container h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.input-group {
    position: relative;
    margin-bottom: 30px;
}

.input-group input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    outline: none;
    border-radius: 35px;
    font-size: 16px;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: 0;
    left: 15px;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    color: #fff;
}

/* 🔹 Beni Hatırla ve Parolamı Unuttum? */
.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    color: #ffffff;
}

.remember-forgot label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.remember-forgot input {
    margin-right: 8px;
    accent-color: #ffffff;
}

.remember-forgot a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.remember-forgot a:hover {
    text-decoration: underline;
    color: #b3e5fc;
}

/* 🔹 “Hesabınız yok mu?” kısmı */
.register-link {
    text-align: center;
    margin-top: 25px;
    color: #ffffff;
    font-size: 14px;
}

.register-link a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
    color: #b3e5fc;
}

/* 🔹 Giriş butonu */
.login-btn {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 35px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* 🔹 INFO SECTION */
.info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 200px; /* kutular arası boşluk sabitlendi */
    padding: 80px 0;
    background: transparent;
    position: relative;
}

/* 🔹 OFFSET KUTUCUKLAR İÇİN HEADER ÜSTÜNE BINMEMESİ */
.info-section::before {
    content: "";
    display: block;
    height: 70px;      /* header yüksekliği */
    margin-top: -70px; /* scroll sonrası doğru pozisyon */
    visibility: hidden;
}

.info-box {
    background: rgba(30, 0, 50, 0.6);
    backdrop-filter: blur(10px);
    padding: 30px 60px;
    border-radius: 25px;
    width: 350px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(150, 0, 255, 0.5);
}

.info-box h3 {
    font-size: 22px;
    color: #7dd3fc;
    margin-bottom: 10px;
}

.info-box p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

/* 🔹 Responsive */
@media (max-width: 768px) {
    .glass-container {
        width: 90%;
        margin-top: 160px;
        padding: 30px;
    }

    .nav-container {
        gap: 10px;
        padding: 5px 10px;
    }

    .info-box {
        width: 80%;
        padding: 25px;
    }

    .header-text h1 {
        font-size: 24px;
    }
}
html {
    scroll-behavior: smooth;
}
