:root {
    --bg-color: #0f172a;
    --bg-darker: #0b1120;
    --text-color: #cbd5e1;
    --heading-color: #f8fafc;
    --accent-color: #0ea5e9;
    --accent-hover: #0284c7;
    --card-bg: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    color: var(--heading-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--heading-color);
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

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

.typing-text {
    font-family: 'Fira Code', monospace;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #94a3b8;
}

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 10px;
}

.btn.primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn.primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn.secondary {
    background-color: transparent;
    border: 2px solid var(--text-color);
    color: var(--text-color);
}

.btn.secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Sections */
.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-darker);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* About */
.about-content p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1);
}

.skill-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    margin-bottom: 10px;
}

.project-info p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #94a3b8;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(14, 165, 233, 0.1);
    color: var(--accent-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--bg-darker);
    padding: 50px 0 20px;
    text-align: center;
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1rem;
    transition: color 0.3s;
}

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

.copyright {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 30px;
}

/* Alt Sayfa Başlıkları (Page Header) */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: var(--bg-color);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-header p {
    color: #94a3b8;
    margin-top: 15px;
    font-size: 1.1rem;
}

/* Blog Sayfası Tasarımı */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-date {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-family: 'Fira Code', monospace;
    display: block;
    margin-bottom: 15px;
}

.blog-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.blog-card p {
    color: #94a3b8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

/* İletişim Sayfası Tasarımı */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.contact-info-box, .contact-form-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-info-box h3 {
    margin-bottom: 20px;
}

.contact-info-box p {
    color: #94a3b8;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.info-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.contact-form .input-group {
    margin-bottom: 20px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--bg-darker);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.w-100 {
    width: 100%;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

/* Mobil Uyumluluk Güncellemesi */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}
