:root {
    --primary-color: #ffd700;
    --background-dark: #1a1a1a;
    --card-dark: #2a2a2a;
    --text-light: #ffffff;
    --text-gray: #888888;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: #121212;
    font-family: 'Arial', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
}

#mouseMoveCanvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.container {
    position: relative;
    z-index: 1;
    background-color: transparent;
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.main-content {
    position: relative;
    z-index: 1;
    background-color: transparent;
}

/* Sidebar Styles */
.sidebar {
    width: 300px;
    border-radius: 15px;
    padding: 2rem;
    position: sticky;
    top: 2rem;
    height: fit-content;
    z-index: 1;
    background: transparent;
    background: rgba(45, 45, 45, 0.95); /* Ana içerikle aynı ton */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px;
    position: relative;
    z-index: 1;
}

.profile-section {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid #FFD700; /* Altın sarısı çerçeve */
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.profile-section h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.title {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.contact-section {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

.contact-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    width: 20px;
}

.contact-item a {
    text-decoration: none;
    color: var(--text-light);
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

/* Main Content Styles */
.main-content {
    flex: 1;
}

/* Tab Navigation Styles */
.tab-nav {
    background-color: var(--card-dark);
    padding: 1rem 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1rem;
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    cursor: pointer;
    transition: color 0.3s;
}

.tab-btn.active {
    color: var(--primary-color);
}

/* Tab Content Styles */
.tab-content {
    display: none;
    background-color: var(--card-dark);
    padding: 2rem;
    border-radius: 15px;
}

.tab-content.active {
    display: block;
}

/* Resume Styles */
.resume-section {
    margin-bottom: 3rem;
}

.timeline-item {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--primary-color);
}

.timeline-item h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.company {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.skills {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Skills Styles */
.skills-grid {
    display: grid;
    gap: 1.5rem;
}

.skill-item {
    width: 100%;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.skill-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

#about {
    background-color: var(--card-dark);
    padding: 2rem;
    border-radius: 15px;
}

.underline {
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem 0 2rem;
}

.about-text {
    margin-bottom: 3rem;
}

.section-title {
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.1);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: static;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .tab-nav {
        padding: 1rem;
    }

    .tab-btn {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Certificate Styles */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.certificate-card {
    background: #2d2d2d;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: start;
    gap: 15px;
    transition: transform 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
}

.certificate-icon {
    font-size: 24px;
    min-width: 40px;
}

.certificate-content {
    flex-grow: 1;
}

.certificate-content h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #ffffff;
}

.certificate-content p {
    margin: 5px 0;
    font-size: 14px;
    color: #888;
}

.certificate-details {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

.certificate-issuer {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.certificate-date {
    color: var(--text-gray);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Styles */
.blog-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: none;
    background: #2d2d2d;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: #FFD700;
    color: #000;
}

.filter-btn:hover {
    background: #FFD700;
    color: #000;
    transform: translateY(-2px);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.blog-card {
    background: #2d2d2d;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #2d2d2d;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background-color: #2d2d2d; /* Resim yüklenene kadar arka plan rengi */
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-image::after {
    opacity: 1;
}

.blog-content {
    padding: 20px;
}

.blog-tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.tag {
    background: #FFD700;
    color: #000;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.date {
    color: #888;
    font-size: 12px;
}

.blog-content h3 {
    margin: 10px 0;
    font-size: 18px;
    color: #fff;
    line-height: 1.4;
}

.blog-content p {
    color: #888;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.read-more {
    color: #FFD700;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: #fff;
}

.read-more i {
    font-size: 14px;
}

.medium-feed {
    margin-top: 30px;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #FFD700;
}