/* ========================================================================= */
/* TEMEL STİL DOSYASI (style.css)                                            */
/* Bu dosya projenin genel iskeletini, renklerini ve temel bileşenlerini     */
/* yönetir. Buradaki değişiklikler tüm siteyi etkileyecektir.                */
/* ========================================================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* --- Değişkenler (Tüm Projeyi Buradan Yönetin) --- */
:root {
    /* Ana Renkler */
    --primary-blue: #008cff;
    --accent-green: #00dd92;

    /* Metin Renkleri */
    --text-light: #ffffff;
    --text-dark: #333333;

    /* Arka Plan ve Panel Renkleri */
    --gradient-bg: linear-gradient(135deg, var(--accent-green), var(--primary-blue));
    --panel-bg: rgba(255, 255, 255, 0.15);
    --panel-blur: 10px;
    --light-panel-bg: rgba(255, 255, 255, 0.85); /* Daha az şeffaf paneller için */
    --input-bg-light: rgba(245, 245, 245, 0.85);

    /* Durum Renkleri */
    --error-red: #ff4b5c;
    --danger-red: #dc3545;
    --success-green: #28a745;
    --info-yellow: #ffd43b;

    /* Kenarlık (Border) Renkleri */
    --light-border: rgba(255, 255, 255, 0.18);
    --separator-border-color: rgba(255, 255, 255, 0.2);

    /* Boyutlar */
    --header-height: 90px;
}

/* --- Genel Sıfırlama ve Temel Ayarlar --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    background: var(--gradient-bg);
    background-attachment: fixed; /* Arka planın kayarken sabit kalması için */
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Navbar / Üst Menü --- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 32px;
    height: var(--header-height);
    backdrop-filter: blur(var(--panel-blur));
    background-color: var(--panel-bg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.logo-wrap {
    display: flex;
    align-items: center;
}

.logo {
    height: 64px;
    max-height: calc(var(--header-height) - 20px);
}

.top-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex: 1;
}

.top-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.top-nav a:hover {
    color: var(--accent-green);
}

.top-nav i { /* Lucide ikonları için temel boyut */
    width: 22px;
    height: 22px;
}


/* --- Genel Panel ve Konteyner Yapısı --- */
.panel {
    background-color: var(--panel-bg);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--light-border);
    backdrop-filter: blur(var(--panel-blur));
    color: var(--text-light); /* Panellerde varsayılan metin rengi açık */
}

.page-layout {
    padding: 30px 20px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

/* --- Genel Form Stilleri --- */
.form-group {
    margin-bottom: 12px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    outline: none;
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-blue);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(0, 140, 255, 0.4);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* --- Genel Buton Stilleri --- */
.form-submit-button {
    background: linear-gradient(to right, var(--accent-green), var(--primary-blue));
    padding: 10px 20px;
    color: white;
    font-size: 16px;
    border-radius: 16px;
    font-weight: 600;
    border: none;
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.form-submit-button:hover {
    background: linear-gradient(to right, var(--primary-blue), var(--accent-green));
    transform: scale(1.02);
}

/* --- Genel Mesaj Stilleri (Hata, Başarı vb.) --- */
.message-area {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    display: none;
}
.message-area.success { display: block; background-color: rgba(40, 167, 69, 0.2); color: var(--success-green); border: 1px solid var(--success-green);}
.message-area.error { display: block; background-color: rgba(220, 53, 69, 0.2); color: var(--danger-red); border: 1px solid var(--danger-red);}
.message-area.info { display: block; background-color: rgba(255, 212, 59, 0.2); color: var(--info-yellow); border: 1px solid var(--info-yellow);}
.hidden { display: none !important; }

/* --- Genel Modal Stilleri --- */
.modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-wrapper.visible {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background-color: var(--panel-bg);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(var(--panel-blur));
    width: 90%;
    max-width: 500px;
    position: relative;
    color: var(--text-light);
}
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}
.close-btn:hover {
    color: var(--error-red);
}


/* --- Genel Responsive Ayarlar --- */
@media (max-width: 992px) {
    .top-nav {
        gap: 20px;
    }
    .top-nav a {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    .top-nav {
        flex-wrap: wrap;
        gap: 15px;
    }
    .page-layout {
        padding: 20px 15px;
    }
}