@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --gsf-purple: #8a5ea4;
    --gsf-dark: #6a4085;
    --soft-bg: #f5f7fa;
    --text-main: #2d3436;
    --text-light: #636e72;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 16px rgba(0,0,0,0.1);
    --radius: 12px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--soft-bg);
    color: var(--text-main);
    margin: 0; padding: 0;
    min-height: 100vh;
    display: flex; flex-direction: column;
}

/* --- FORM ELEMANLARI --- */
/* BURAYA input[type="email"] EKLENDİ */
input[type="text"], input[type="password"], input[type="date"], input[type="datetime-local"], 
input[type="email"], select, textarea {
    width: 100%; padding: 12px 15px; margin-bottom: 15px;
    border: 1px solid #dfe6e9; border-radius: 8px;
    font-family: inherit; font-size: 0.95rem; color: #333;
    transition: 0.2s all; background: #fff;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--gsf-purple); outline: none;
    box-shadow: 0 0 0 3px rgba(138, 94, 164, 0.1);
}

/* --- BUTONLAR --- */
button, .btn-primary, input[type="submit"] {
    background-color: var(--gsf-purple); color: #fff; border: none;
    padding: 10px 20px; border-radius: 8px; cursor: pointer;
    font-size: 0.9rem; font-weight: 500; transition: 0.2s ease;
    text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    line-height: 1.2;
}
button:hover, .btn-primary:hover, input[type="submit"]:hover {
    background-color: var(--gsf-dark); transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(138, 94, 164, 0.3);
}
.btn-small { padding: 6px 12px; font-size: 0.8rem; }

/* --- HEADER --- */
.main-header {
    background: #ffffff; box-shadow: var(--shadow-sm);
    position: sticky; top: 0; z-index: 1000; padding: 0 20px;
}
.header-inner {
    max-width: 1200px; margin: 0 auto; height: 70px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo-area { display: flex; align-items: center; text-decoration: none; gap: 12px; }
.logo-text h1 { margin: 0; font-size: 1.1rem; color: var(--gsf-purple); font-weight: 700; }
.logo-text span { font-size: 0.75rem; color: var(--text-light); }

/* Navigasyon (Masaüstü) */
.nav-menu { display: flex; gap: 10px; align-items: center; }
.nav-item {
    text-decoration: none; color: var(--text-light); font-weight: 500; font-size: 0.9rem;
    padding: 8px 16px; border-radius: 20px; transition: all 0.2s ease;
    display: flex; align-items: center; gap: 6px;
}
.nav-item:hover { background: #f0f2f5; color: var(--gsf-purple); }

/* HAMBURGER BUTONU: Masaüstünde ZORLA Gizle */
.menu-toggle { display: none !important; font-size: 1.5rem; cursor: pointer; color: var(--text-main); background: none; border: none; padding: 5px; }

/* --- ORTAK CONTAINER --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 30px 20px; }
.card-box { background: white; padding: 25px; border-radius: 12px; box-shadow: var(--shadow-sm); margin-bottom: 20px; }

/* --- DİĞER BİLEŞENLER --- */
.center-wrapper { flex: 1; display: flex; justify-content: center; align-items: center; padding: 20px; }
.center-box { width: 100%; max-width: 480px; background: white; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.kvkk-box { height: 180px; overflow-y: scroll; background: #f8f9fa; padding: 15px; border: 1px solid #dfe6e9; border-radius: 8px; font-size: 0.85rem; color: #555; margin-bottom: 20px; -webkit-overflow-scrolling: touch; }
.netflix-scroll { display: flex; gap: 15px; overflow-x: auto; padding: 10px 5px; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.netflix-scroll::-webkit-scrollbar { display: none; }
.survey-card { flex: 0 0 240px; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); border: 1px solid #f0f0f0; transition: 0.2s; }
.survey-card:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* --- GİRİŞ EKRANI İYİLEŞTİRMELERİ --- */
.login-form-grid { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.btn-full { width: 100%; padding: 14px; font-size: 1rem; display: flex; justify-content: center; align-items: center; }
.btn-outline { background-color: transparent; border: 2px solid #dfe6e9; color: #636e72; width: 100%; padding: 12px; font-weight: bold; text-align: center; text-decoration: none; border-radius: 8px; transition: all 0.2s ease; display: block; }
.btn-outline:hover { border-color: var(--gsf-purple); color: var(--gsf-purple); background-color: #f8f0fc; }

/* --- MODAL --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9999; display: none; justify-content: center; align-items: center; }
.modal-content { background: white; padding: 25px; border-radius: 16px; width: 90%; max-width: 500px; position: relative; max-height: 90vh; overflow-y: auto; }

/* =========================================
   MOBİL VE TABLET UYUMLULUĞU (< 768px)
   ========================================= */
@media (max-width: 768px) {
    .header-inner { height: 60px; }
    .logo-text span { display: none; }
    
    /* Hamburgeri SADECE Mobilde Göster */
    .menu-toggle { display: block !important; }
    
    .nav-menu {
        display: none; flex-direction: column; position: absolute;
        top: 60px; left: 0; width: 100%; background: white;
        border-bottom: 1px solid #eee; padding: 10px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); z-index: 999;
    }
    .nav-menu.active { display: flex; animation: slideDown 0.3s ease; }
    @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
    .nav-item { width: 100%; padding: 15px 20px; border-radius: 0; border-bottom: 1px solid #f9f9f9; }
}

/* =========================================
   MOBİL ÖZEL (< 600px)
   ========================================= */
@media (max-width: 600px) {
    .center-wrapper { padding: 20px 20px 140px 20px; align-items: flex-start; overflow-y: auto; display: block; }
    .center-box { padding: 10px; box-shadow: none; background: transparent; width: 100%; max-width: 100%; }
    .container { padding: 15px 10px; }
    .kvkk-box { max-height: 35vh; }
    
    .mobile-fixed-bottom {
        position: fixed; bottom: 0; left: 0; width: 100%;
        background: white; padding: 15px 20px;
        border-top: 1px solid #eee; box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
        z-index: 99999; padding-bottom: calc(15px + env(safe-area-inset-bottom));
        display: flex; flex-direction: column; gap: 10px;
    }
    .mobile-fixed-bottom div { margin-top: 0 !important; }
    .checkbox-wrapper { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; }
    input[type="checkbox"] { width: 24px; height: 24px; min-width: 24px; margin: 0; accent-color: var(--gsf-purple); }
    .btn-primary { width: 100%; padding: 16px; font-size: 1.1rem; }
    footer { display: none; }
}