/* Navbar Stilleri */
.main-navbar {
    background: rgba(26, 11, 46, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(138, 43, 226, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.4),
                 0 0 20px rgba(138, 43, 226, 0.3),
                 0 0 30px rgba(138, 43, 226, 0.2);
}

.navbar-logo i {
    color: #8A2BE2;
}

.navbar-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toggle-icon span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: 0.3s ease;
}

.navbar-menu {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.menu-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.menu-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem;
    transition: 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-link:hover,
.menu-link.active {
    color: #ffffff;
}

.menu-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #8A2BE2, #FF1493);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.4),
                0 0 20px rgba(138, 43, 226, 0.3),
                0 0 30px rgba(138, 43, 226, 0.2);
}

.profile-link,
.logout-link {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.2);
}

.profile-link:hover,
.logout-link:hover {
    background: rgba(26, 11, 46, 0.8);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.4),
                0 0 20px rgba(138, 43, 226, 0.3),
                0 0 30px rgba(138, 43, 226, 0.2);
}

        /* Mobil & Tablet Görünüm */
        @media (max-width: 1199px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(26, 11, 46, 0.8);
        padding: 1rem;
        z-index: 100;
    }

    .navbar-menu.show {
        display: block;
    }

    .menu-links {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Toggle button active durumu için */
.navbar-toggle.active .toggle-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggle.active .toggle-icon span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active .toggle-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menü açıkken scroll'u engelle */
body.menu-open {
    overflow: hidden;
}

.registration-form-container {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(138, 43, 226, 0.2);
    width: 94%;
    max-width: 480px;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: var(--neon-purple);
    margin-top: 4rem;
}

.registration-form-container:hover {
    box-shadow: var(--neon-pink);
    transform: translateY(-2px);
}

.close-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px; /* 18px'den 20px'e çıkarıldı */
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    z-index: 2;
    width: 32px; /* 28px'den 32px'e çıkarıldı */
    height: 32px; /* 28px'den 32px'e çıkarıldı */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-icon:hover {
    color: var(--accent-pink);
    text-shadow: var(--neon-pink);
    background: rgba(255, 20, 147, 0.1);
}

h1 {
    color: var(--text-primary);
    text-align: center;
    margin: 0 0 1.5rem 0;
    font-size: 1.9rem; /* 1.7rem'den 1.9rem'e çıkarıldı */
    font-weight: 600;
    text-shadow: var(--neon-purple);
    letter-spacing: 0.5px;
}

.common-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.2rem; /* 0.8rem 1rem'den büyütüldü */
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem; /* 0.15rem'den 0.2rem'e çıkarıldı */
}

.field-group.full-width {
    grid-column: span 2;
}

label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.92rem; /* 0.85rem'den 0.92rem'e çıkarıldı */
    margin-bottom: 0.15rem;
    letter-spacing: 0.2px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(138, 43, 226, 0.25);
    border-radius: 8px;
    padding: 0.5rem 0.8rem; /* Padding artırıldı */
    color: var(--text-primary);
    transition: var(--transition-fast);
    font-size: 0.95rem; /* 0.92rem'den 0.95rem'e çıkarıldı */
    height: 2.1rem; /* 1.8rem'den 2.1rem'e çıkarıldı */
    width: 100%;
    box-sizing: border-box;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover {
    border-color: rgba(138, 43, 226, 0.4);
    background: rgba(255, 255, 255, 0.09);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: var(--accent-purple);
    box-shadow: var(--neon-purple);
    outline: none;
    background: rgba(255, 255, 255, 0.11);
}

input[type="file"] {
    background: transparent;
    border: 1px dashed rgba(138, 43, 226, 0.3);
    padding: 0.6rem; /* 0.5rem'den 0.6rem'e çıkarıldı */
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem; /* 0.85rem'den 0.9rem'e çıkarıldı */
    cursor: pointer;
    transition: var(--transition-fast);
}

input[type="file"]:hover {
    border-color: rgba(138, 43, 226, 0.5);
    background: rgba(138, 43, 226, 0.05);
}

input[type="file"]::-webkit-file-upload-button {
    background: var(--gradient-purple);
    border: none;
    color: var(--text-primary);
    padding: 0.4rem 0.8rem; /* Padding artırıldı */
    border-radius: 6px;
    cursor: pointer;
    margin-right: 0.8rem;
    transition: var(--transition-fast);
    font-size: 0.9rem; /* 0.85rem'den 0.9rem'e çıkarıldı */
}

input[type="file"]::-webkit-file-upload-button:hover {
    box-shadow: var(--neon-purple);
    transform: translateY(-1px);
}

button[type="submit"] {
    background: var(--gradient-accent);
    color: var(--text-primary);
    border: none;
    padding: 0.8rem; /* 0.7rem'den 0.8rem'e çıkarıldı */
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem; /* 0.95rem'den 1rem'e çıkarıldı */
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-top: 1.2rem;
    width: 100%;
    box-shadow: var(--neon-purple);
    letter-spacing: 0.3px;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--neon-pink);
}

button[type="submit"]:active {
    transform: translateY(0);
}

.login-link {
    text-align: center;
    margin-top: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.9rem; /* 0.85rem'den 0.9rem'e çıkarıldı */
}

.login-link a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 500;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

.login-link a:hover {
    color: var(--accent-pink);
    text-shadow: var(--neon-pink);
    background: rgba(255, 20, 147, 0.1);
}

.alert-message {
    display: none;
    padding: 0.8rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem; /* 0.85rem'den 0.9rem'e çıkarıldı */
    transition: var(--transition-fast);
    letter-spacing: 0.2px;
}

.alert-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

.alert-message.success {
    background: rgba(46, 213, 115, 0.15);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: #2ed573;
}

.alert-message.error {
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Mevcut CSS'lerinizi koruyarak, floating input için yeni stiller ekliyorum */

.floating-input {
    position: relative;
    width: 100%;
    margin-bottom: 0.5rem;
}

.floating-input input {
    width: 100%;
    padding: 1.2rem 0.8rem 0.5rem; /* padding-top artırıldı */
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(138, 43, 226, 0.25);
    border-radius: 8px;
    color: var(--text-primary);
    transition: var(--transition-fast);
    font-size: 0.95rem;
    height: 3.5rem; /* 3rem'den 3.5rem'e çıkarıldı */
    box-sizing: border-box;
}

.floating-input label {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    padding: 0 0.2rem;
    color: var(--text-secondary);
    transition: 0.2s ease all;
    pointer-events: none;
    font-size: 0.92rem;
    font-weight: 500;
}

.floating-input input:focus ~ label,
.floating-input input:not(:placeholder-shown) ~ label {
    top: 0.5rem;
    transform: translateY(0);
    font-size: 0.75rem;
    color: var(--accent-purple);
}

.floating-input input:focus {
    border-color: var(--accent-purple);
    box-shadow: var(--neon-purple);
    outline: none;
    background: rgba(255, 255, 255, 0.11);
}

.floating-input input:hover {
    border-color: rgba(138, 43, 226, 0.4);
    background: rgba(255, 255, 255, 0.09);
}

/* File input için özel stil */
.floating-input.file-input {
    grid-column: span 2;
}

.floating-input.file-input input {
    padding: 1.8rem 0.8rem 0.5rem; 
    background: transparent;
    border: 1px dashed rgba(138, 43, 226, 0.3);
    height: 4.2rem; 
}

.floating-input.file-input label {
    top: 0.5rem;
    transform: translateY(0);
    font-size: 0.75rem;
}

.terms-checkbox {
    margin: 1.5rem 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
    color: var(--text-secondary);
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-purple);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(255, 255, 255, 0.2);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--accent-purple);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.terms-text {
    line-height: 1.4;
}

.terms-text a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-text a:hover {
    color: var(--accent-pink);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 15, 45, 0.97), rgba(50, 20, 70, 0.97));
    margin: 5% auto;
    padding: 0;
    width: 70%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
    animation: modalFade 0.3s ease-out;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.8rem;
    background: linear-gradient(120deg, var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-body {
    padding: 2rem;
    color: var(--text-secondary);
}

.close-modal {
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--accent-purple);
    transform: rotate(90deg);
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobil Görünüm İyileştirmeleri */
@media (max-width: 768px) {
    body {
        padding: 0;
        margin: 0;
    }

    .registration-form-container {
        width: 92%;
        margin: 80px auto 1rem auto;
        padding: 1.2rem;
        border-radius: 12px;
    }

    .common-fields {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .field-group.full-width {
        grid-column: 1;
    }

    h1 {
        font-size: 1rem;
    }

    .floating-input {
        margin-bottom: 0.7rem;
        padding: 0.2rem;
    }

    .floating-input input {
        height: 2rem;
        font-size: 0.85rem;
        padding: 0.1rem 0.1rem 0.1rem;
    }

    .floating-input label {
        font-size: 0.75rem;
        top: 50%;
    }

    .floating-input input:focus ~ label,
    .floating-input input:not(:placeholder-shown) ~ label {
        top: 10%;
        font-size: 0.6rem;
    }

    .floating-input.file-input input {
        height: 3rem;
        padding: 1.2rem 0.8rem 0.3rem;
    }

    .floating-input.file-input label {
        top: 20%;
    }

    .terms-checkbox {
        margin: 1rem 0;
    }

    .checkbox-container {
        font-size: 0.8rem;
        padding-left: 28px;
    }

    .checkmark {
        height: 18px;
        width: 18px;
        top: 2px;
    }

    button[type="submit"] {
        padding: 0.8rem;
        margin-top: 1rem;
        font-size: 1rem;
        height: 2.8rem;
    }

    .modal-content {
        width: 92%;
        margin: 5% auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-body {
        padding: 1rem;
        font-size: 0.85rem;
    }

    .close-modal {
        font-size: 1.5rem;
    }

    .alert-message {
        font-size: 0.85rem;
        padding: 0.8rem;
        margin-top: 0.8rem;
    }
}

/* Küçük mobil cihazlar için özel ayarlar */
@media (max-width: 480px) {
    .registration-form-container {
        width: 94%;
        margin: 70px auto 1rem auto;
        padding: 1rem;
    }

    h1 {
        font-size: 1.3rem;
    }

    .floating-input input {
        height: 2.8rem;
        font-size: 0.9rem;
    }

    .floating-input.file-input input {
        height: 3rem;
    }

    .terms-checkbox {
        margin: 0.8rem 0;
    }

    .checkbox-container {
        font-size: 0.75rem;
        padding-left: 25px;
    }

    .checkmark {
        height: 16px;
        width: 16px;
    }

    button[type="submit"] {
        height: 2.6rem;
        font-size: 0.95rem;
    }

    .modal-content {
        width: 100%;
        margin: 0;
        height: 100vh;
        border-radius: 0;
    }
}

/* iPhone SE ve benzeri çok küçük ekranlar için */
@media (max-width: 375px) {
    .registration-form-container {
        width: 96%;
        margin: 65px auto 0.8rem auto;
        padding: 0.8rem;
    }

    h1 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .floating-input input {
        height: 2.6rem;
        font-size: 0.85rem;
    }

    .floating-input label {
        font-size: 0.8rem;
    }


    .terms-text {
        font-size: 0.7rem;
    }

    button[type="submit"] {
        height: 2.4rem;
        font-size: 0.9rem;
    }
}

/* Yatay mod için özel ayarlar */
@media (max-height: 600px) and (orientation: landscape) {
    .registration-form-container {
        margin: 70px auto 0.8rem auto;
        max-height: 85vh;
        overflow-y: auto;
    }

    .common-fields {
        gap: 0.6rem;
    }

    .floating-input {
        margin-bottom: 0.4rem;
    }
}

/* Dokunmatik cihazlar için hover efektlerini düzenleme */
@media (hover: none) {
    .menu-link:hover {
        background: none;
    }

    button[type="submit"]:hover {
        transform: none;
    }

    .floating-input input:hover {
        border-color: rgba(138, 43, 226, 0.25);
    }

    .close-icon:hover,
    .modal-close:hover {
        transform: none;
    }
}

/* Tablet Görünüm Düzeltmeleri */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .registration-form-container {
        width: 85%;
        max-width: 600px;
        margin: 90px auto 2rem auto;
        padding: 2rem;
        border-radius: 16px;
    }

    .common-fields {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .field-group.full-width {
        grid-column: span 2;
    }

    h1 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .floating-input {
        margin-bottom: 1rem;
    }

    .floating-input input {
        height: 3rem;
        font-size: 0.95rem;
        padding: 0.8rem;
    }

    .floating-input label {
        font-size: 0.85rem;
    }

    .floating-input.file-input input {
        height: 3.5rem;
        padding: 1.5rem 1rem 0.5rem;
    }

    .terms-checkbox {
        margin: 1.2rem 0;
    }

    .checkbox-container {
        font-size: 0.9rem;
        padding-left: 32px;
    }

    .checkmark {
        height: 22px;
        width: 22px;
    }

    button[type="submit"] {
        padding: 1rem;
        margin-top: 1.2rem;
        font-size: 1.05rem;
        height: 3.2rem;
    }

    .modal-content {
        width: 85%;
        max-width: 700px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .modal-body {
        font-size: 0.95rem;
        padding: 1.5rem;
    }

    .alert-message {
        font-size: 0.9rem;
        padding: 1rem;
    }
}

:root {
    /* Ana Renkler */
    --primary-dark: #0f0514;
    --secondary-dark: #1a0b2e;
    --accent-purple: #8A2BE2;
    --accent-pink: #FF1493;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(26, 11, 46, 0.8);
    
    /* Neon Efektleri */
    --neon-purple: 0 0 10px rgba(138, 43, 226, 0.4),
                0 0 20px rgba(138, 43, 226, 0.3),
                0 0 30px rgba(138, 43, 226, 0.2);
    --neon-pink: 0 0 10px rgba(255, 20, 147, 0.4),
                0 0 20px rgba(255, 20, 147, 0.3),
                0 0 30px rgba(255, 20, 147, 0.2);
    
    /* Gradyanlar */
    --gradient-primary: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    --gradient-purple: linear-gradient(135deg, #8A2BE2, #4B0082);
    --gradient-accent: linear-gradient(45deg, var(--accent-purple), var(--accent-pink));
    
    /* Geçişler */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        body {
            margin: 0;
            font-family: 'Poppins', sans-serif;
            background: var(--gradient-primary);
            color: var(--text-primary);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 1rem;
        }
