html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background-color: #f4f7f9;
    color: #333;
}

/* Header & Navigasyon */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: transparent;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
}

.logo img {
    height: 100px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 5px;
    align-items: center;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-text {
    background: transparent;
    border: none;
    padding: 12px 20px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-text:hover {
    color: #1a252f;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(44, 62, 80, 0.2);
}

.btn-primary:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(44, 62, 80, 0.3);
}

/* Main Layout */
main {
    margin-top: 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 120vh;
    background-image: url('./assets/hero_bg.webp');
    background-size: cover;
    background-position: center 65%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding: 180px 5% 0 5%;
    box-sizing: border-box;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #1a252f;
    text-shadow: none;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #2c3e50;
    text-shadow: none;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Register Section Update */
#register-section {
    padding: 120px 20px 40px 20px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    align-items: center;
    background-image: linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.65)), url('./assets/hero_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    box-sizing: border-box;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-container {
    width: 100%;
    max-width: 600px;
}

.dashboard-container {
    width: 100%;
    max-width: 950px;
}

.form-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

h2 { margin-bottom: 5px; color: #1a1a1a; }
h3 { 
    margin-top: 30px; 
    font-size: 1.1rem; 
    color: #2c3e50; 
    border-bottom: 2px solid #eee;
    padding-bottom: 8px;
}

.input-group {
    margin-top: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #2c3e50;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: #3498db;
}

input[readonly] {
    background: #f1f5f9 !important;
    color: #94a3b8;
    cursor: not-allowed;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 35px;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #1a252f;
}

.btn-secondary {
    background: #e2e8f0;
    color: #2c3e50;
    border: none;
    padding: 0 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #cbd5e1;
}

.btn-danger {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-danger:hover {
    background: #c0392b;
}

.status-message {
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}

/* Success Section */
#success-section {
    padding: 120px 20px 40px 20px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    align-items: center;
    background-image: linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.65)), url('./assets/hero_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    box-sizing: border-box;
}

/* Dashboard Layout */
#dashboard-section {
    padding: 120px 20px 40px 20px;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    align-items: flex-start;
    background-image: linear-gradient(rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0.65)), url('./assets/hero_bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    box-sizing: border-box;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.dashboard-panel {
    background: rgba(255, 255, 255, 0.65);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* =========================================
   Splash Screen (Login Panel)
   ========================================= */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
    box-sizing: border-box;
}

.modern-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    padding: 35px 30px;
    text-align: left;
}

.login-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
}

.dark-text {
    color: #1a252f;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 800;
}

.modern-glass .subtitle {
    color: #7f8c8d;
    margin-top: 5px;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.btn-close-dark {
    background: transparent;
    border: none;
    color: #95a5a6;
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 0;
    margin-top: -5px;
}

.btn-close-dark:hover {
    color: #e74c3c;
}

.login-links {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.login-links a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.login-links a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* Responsive Tasarım (Mobil & Tablet) */
@media (max-width: 768px) {
    .hero {
        padding: 220px 20px 0 20px;
    }
    .main-header {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    .logo img {
        height: 70px;
    }
    .nav-links {
        width: auto;
        justify-content: center;
        flex-wrap: nowrap;
    }
    .btn-text, .btn-primary {
        padding: 10px 18px;
        font-size: 0.95rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    .btn-large {
        width: 100%;
        box-sizing: border-box;
    }
    .form-card {
        padding: 20px;
    }
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
    }
}