:root {
    --primary-color: #00c7c7;
    --dark-bg: #2b2b2b;
    --darker-bg: #242424;
    --text-color: #fff;
    --text-secondary: #999;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-color);
    min-height: 100vh;
}

.container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* Profil Bölümü Stilleri */
.profile-section {
    width: 300px;
    background: var(--darker-bg);
    padding: 30px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.profile-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 20px auto;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

/* Sağ Menü ve İçerik Stilleri */
.content-wrapper {
    margin-left: 300px;
    flex-grow: 1;
    display: flex;
    padding-bottom: 100px;
}

.right-nav {

    width: 60px;
    background: var(--darker-bg);
    position: fixed;
    right: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 45px 0;
    z-index: 100;
}

/* Sayfa İçerikleri */
.pages {
    flex-grow: 1;
    padding: 40px;
    margin-right: 60px;
    margin-bottom: 70px;
    position: relative;
    min-height: 400px;
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .profile-section {
        width: 250px;
    }
    
    .content-wrapper {
        margin-left: 250px;
    }
    
    .pages {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .profile-section {
        position: relative;
        width: 100%;
        height: auto;
        min-height: auto;
        padding: 20px;
    }
    
    .profile-card {
        height: auto;
        gap: 15px;
        padding: 10px 0;
    }
    
    .profile-image {
        width: 150px !important;
        height: 150px !important;
        border-radius: 50% !important;
        flex-shrink: 0;
    }
    
    .content-wrapper {
        margin-left: 0;
        margin-bottom: 60px;
    }
    
    .right-nav {
        bottom: 0;
        top: auto;
        width: 100%;
        height: 60px;
        flex-direction: row;
        justify-content: space-around;
    }
    
    .nav-item {
        padding: 10px;
    }
    
    .nav-item span {
        display: none;
    }
    
    .pages {
        margin-right: 0;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
    
    .download-cv {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .profile-section {
        padding: 15px;
    }
}

/* Mevcut stiller devam ediyor... */
.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 15px 0;
    width: 100%;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.nav-item i {
    font-size: 20px;
}

.nav-item span {
    position: absolute;
    right: 100%;
    background: var(--primary-color);
    padding: 5px 15px;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-right: 10px;
    z-index: 999;
    top: 50%;
    transform: translateY(-50%);
}

.nav-item:hover span {
    opacity: 1;
    visibility: visible;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-color);
}

/* Diğer mevcut stiller... */

.profile-card h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.profile-card .title {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.social-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 16px;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

.download-cv {
    display: inline-block;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-color);
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 16px;
    margin: 20px 0 30px;
}

.download-cv:hover {
    background: var(--primary-color);
}

.copyright {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: auto;
}

/* Admin Panel Stilleri */
.admin-login,
.admin-dashboard {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: var(--darker-bg);
    border-radius: 8px;
}

.admin-login input,
.admin-dashboard input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--text-color);
    border-radius: 4px;
}

.admin-login button,
.admin-dashboard button {
    width: 100%;
    padding: 10px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 10px 0;
}

.error {
    color: #ff4444;
    margin: 10px 0;
}

.success {
    color: #00C851;
    margin: 10px 0;
}

.logout {
    display: inline-block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-top: 20px;
}

.logout:hover {
    color: var(--primary-color);
}

/* Sayfa geçiş animasyonları */
.page {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    position: absolute;
    width: 100%;
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    position: relative;
}

/* Sayfa içerik stilleri */
.home-content {
    margin-top: 30px;
    line-height: 1.6;
}

.about-content {
    margin-top: 20px;
}

.personal-info {
    margin-top: 30px;
}

.info-item {
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.info-item .label {
    min-width: 120px;
    font-weight: bold;
    color: var(--primary-color);
}

.resume-content {
    margin-top: 30px;
}

.education-item {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.education-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.education-item .school {
    font-size: 16px;
    margin-bottom: 5px;
}

.education-item .year {
    color: var(--text-secondary);
    font-size: 14px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.contact-content {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 15px;
}

/* Dil seçici stilleri */
.language-selector {
    position: fixed;
    top: 15px;
    right: 80px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: var(--darker-bg);
    color: var(--text-secondary);
    border: 1px solid var(--primary-color);
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 45px;
    text-align: center;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 199, 199, 0.3);
}

/* Mobil için dil seçici konumu */
@media (max-width: 768px) {
    .language-selector {
        top: 10px;
        right: 20px;
    }
    
    .lang-btn {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 40px;
    }
}

/* Mobil cihazlar için özel ayar */
@media screen and (max-width: 768px) {
    .content-wrapper {
        padding-bottom: 100px;
    }
    
    .pages {
        margin-bottom: 70px;
    }
}

