/* Temel Stiller */
:root {
    --primary-color: #0ea5e9;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --dark-text: #f8fafc;
    --light-bg: #f8fafc;
    --light-card: #ffffff;
    --light-text: #0f172a;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--dark-text);
    transition: var(--transition);
    overflow-x: hidden;
}

body.light-mode {
    background-color: var(--light-bg);
    color: var(--light-text);
}

/* Partikül Arkaplan */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Navigasyon */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
}

.light-mode .main-nav {
    background-color: rgba(248, 250, 252, 0.9);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.accent {
    color: #f59e0b;
}

.theme-toggle {
    background-color: var(--dark-card);
    width: 50px;
    height: 26px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    padding: 0 3px;
    cursor: pointer;
    transition: var(--transition);
}

.light-mode .theme-toggle {
    background-color: #e2e8f0;
    justify-content: flex-end;
}

.theme-toggle i {
    background-color: var(--dark-text);
    color: var(--dark-bg);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.light-mode .nav-menu a {
    color: var(--light-text);
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Bölümü */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    padding-top: 80px;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.greeting {
    display: block;
    font-size: 1.5rem;
    color: #94a3b8;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    height: 2.5rem;
}

.typing-text {
    color: var(--primary-color);
    font-weight: bold;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
}

.image-container {
    position: relative;
    width: 350px;
    height: 350px;
}

#profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 10s infinite;
    border: 5px solid var(--primary-color);
}

@keyframes morphing {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.image-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--primary-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 20px;
    left: 20px;
    z-index: -1;
    animation: morphing 10s infinite reverse;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 0;
    }
    
    .light-mode .nav-menu {
        background-color: var(--light-bg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: block;
    }
}
