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

:root {
    --accent-blue: #4169e1;
}

/* Genel ayarlar ve iOS düzeltmeleri */
html, body {
    color-scheme: only dark;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    text-rendering: optimizeLegibility;
    background-color: #000 !important;
    color: #fff !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background: linear-gradient(180deg, #000000 0%, #000000 85%, #090618 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Blur efektli arka plan daireleri */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--accent-blue);
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
}

body::before {
    top: -100px;
    right: -100px;
}

body::after {
    bottom: -100px;
    left: -100px;
}

/* Her şey net ve görünür kalsın */
body, p, h1, h2, h3, h4, h5, h6, a, span, div, li, ul {
    color: #ffffff !important;
    background-color: transparent !important;
}

.container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    z-index: 1000;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

nav ul li {
    margin: 0 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
    color: var(--accent-blue);
}

.page {
    display: none;
    padding-top: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.page.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

h1 {
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    color: var(--accent-blue);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: var(--accent-blue);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--accent-blue);
}

.logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.progress-container {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 10px;
    display: none;
}

.progress-bar {
    height: 100%;
    background-color: var(--accent-blue);
    width: 0;
    transition: width 1s linear;
}

.time-info {
    display: none;
    justify-content: space-between;
    width: 100%;
    font-size: 0.8rem;
    color: #b3b3b3;
    margin-top: 5px;
}

.timestamp {
    margin-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

.weather-info {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #b3b3b3;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
    animation-delay: calc(var(--index) * 0.1s);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 20px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-number {
    font-size: 1rem;
    color: #666;
}

.project-description {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.tech-stack {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.project-button {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: fit-content;
    backdrop-filter: blur(10px);
}

.project-button:hover {
    background: var(--accent-blue) !important;
    border-color: var(--accent-blue) !important;
    color: #fff !important;
}

.blog-content {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    animation: fadeInUp 0.5s forwards;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #fff;
    backdrop-filter: blur(10px);
}

.skill-item i {
    margin-right: 8px;
    color: var(--accent-blue);
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }

    .music-icon {
        width: 40px;
        height: 40px;
    }
}

#success-message {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 5px;
    color: #00ff00;
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
    }
