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

:root {
    --bg-dark: #12141b;
    --bg-card: #1f2330;
    --text-primary: #ffffff;
    --text-secondary: #b5b9c4;
    --accent: #f4c430;
    --border: #303545;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: radial-gradient(circle at top, #21263a 0, #12141b 45%, #05060a 100%);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 11, 18, 0.9);
    backdrop-filter: blur(14px);
    padding: 1rem 2rem;
    z-index: 1000;
    border-bottom: 1px solid #ffffff1a;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.25s;
    position: relative;
    font-size: 0.95rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    padding-top: 110px;
    position: relative;
    overflow: hidden;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 8rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 110px);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(244, 196, 48, 0.15);
    border: 1px solid rgba(244, 196, 48, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeUp 0.7s ease-out 0.1s both;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(3rem, 6vw + 1rem, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeUp 0.7s ease-out 0.4s both;
}

.title-line {
    display: block;
    animation: fadeUp 0.7s ease-out both;
}

.title-line:first-child {
    animation-delay: 0.2s;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--accent), #ffd54a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.3s;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeUp 0.7s ease-out 0.5s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.7s ease-out 0.3s both;
    margin-top: 2.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent), #ffd54a);
    color: #111318;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(244, 196, 48, 0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: fit-content;
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(244, 196, 48, 0.4);
}

.btn-primary svg {
    transition: transform 0.3s;
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: fit-content;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}


.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Sections */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.section-header {
    margin-bottom: 2rem;
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

/* About Section */
.about-section {
    position: relative;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.section-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.5;
    letter-spacing: 0.1em;
}

.about-section {
    position: relative;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
}

.about-portrait {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover .about-portrait {
    transform: scale(1.05);
}

.about-image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 196, 48, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.about-image:hover .about-image-glow {
    opacity: 1;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-intro {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.2;
}

.highlight-text {
    background: linear-gradient(135deg, var(--accent), #ffd54a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    color: var(--text-secondary);
}

.about-description strong {
    color: var(--accent);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.about-company {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.1), rgba(244, 196, 48, 0.05));
    border: 1px solid rgba(244, 196, 48, 0.3);
    border-radius: 16px;
    margin-top: 1rem;
}

.company-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.company-badge svg {
    width: 18px;
    height: 18px;
}

.company-info h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.company-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.about-stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), #ffd54a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #ffd54a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.highlight-card:hover::before {
    transform: scaleX(1);
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(244, 196, 48, 0.2);
    border-color: rgba(244, 196, 48, 0.4);
}

.highlight-icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.2), rgba(244, 196, 48, 0.1));
    border: 1px solid rgba(244, 196, 48, 0.3);
    border-radius: 16px;
    flex-shrink: 0;
    color: var(--accent);
}

.highlight-content h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.highlight-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.experience-section {
    margin-top: 3rem;
}

.experience-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.experience-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #ffd54a);
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(244, 196, 48, 0.25);
    border-color: rgba(244, 196, 48, 0.5);
}

.experience-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.experience-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.2), rgba(244, 196, 48, 0.1));
    border: 1px solid rgba(244, 196, 48, 0.3);
    border-radius: 18px;
    flex-shrink: 0;
    color: var(--accent);
}

.experience-title-group h3 {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.company-name {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.experience-period {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(244, 196, 48, 0.15);
    border: 1px solid rgba(244, 196, 48, 0.3);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
}

.experience-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
}

.experience-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.skill-badge {
    padding: 0.5rem 1rem;
    background: rgba(244, 196, 48, 0.1);
    border: 1px solid rgba(244, 196, 48, 0.3);
    border-radius: 20px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
}

.skill-badge:hover {
    background: rgba(244, 196, 48, 0.2);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* CV Section */
.cv-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.6);
    max-width: 900px;
    margin: 0 auto;
}

.cv-viewer {
    background: #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cv-viewer-toolbar {
    background: #d0d0d0;
    border-bottom: 1px solid #b0b0b0;
    padding: 0.4rem 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #333;
    min-height: 32px;
}

.cv-toolbar-left,
.cv-toolbar-center {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cv-toolbar-icon {
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    transition: background 0.2s;
    font-size: 0.85rem;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
}

.cv-toolbar-icon:hover {
    background: rgba(0, 0, 0, 0.1);
}

.cv-zoom {
    padding: 0 0.4rem;
    font-size: 0.75rem;
    color: #333;
}

.cv-page-info {
    padding: 0 0.4rem;
    font-size: 0.75rem;
    color: #333;
}

.cv-viewer-content {
    display: flex;
    background: #f5f5f5;
    min-height: 500px;
}

.cv-sidebar {
    width: 50px;
    background: #e0e0e0;
    padding: 0.8rem 0.4rem;
    border-right: 1px solid #c0c0c0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cv-thumbnail {
    width: 35px;
    height: 45px;
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.cv-thumbnail:hover {
    border-color: #999;
}

.cv-preview-wrapper {
    flex: 1;
    background: #f5f5f5;
    padding: 1rem;
    overflow: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.cv-preview {
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    height: 500px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cv-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* PDF yüklenemezse alternatif mesaj */
.cv-preview::before {
    content: "CV PDF dosyası yükleniyor...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 0.9rem;
    display: none;
}

.cv-preview:empty::before {
    display: block;
}

.btn-cv {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--accent);
    color: #111318;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cv:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.55);
}

/* Skills Section */
.skills-section {
    position: relative;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skills-category::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #ffd54a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.skills-category:hover::before {
    transform: scaleX(1);
}

.skills-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(244, 196, 48, 0.25);
    border-color: rgba(244, 196, 48, 0.5);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.category-icon {
    display: none;
}

.category-header h3 {
    color: var(--accent);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.skill-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.skill-level {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-dark);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #ffd54a);
    border-radius: 10px;
    position: relative;
    transition: width 1s ease-out;
    animation: progressAnimation 1.5s ease-out;
}

.skill-progress::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes progressAnimation {
    from {
        width: 0;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Projects Section */
.projects-section {
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(244, 196, 48, 0.2);
    border-color: rgba(244, 196, 48, 0.5);
}

.project-card:hover::before {
    opacity: 1;
}

.project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #292d3a, #1f2330);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.project-card:hover .project-image::before {
    opacity: 1;
}

.project-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tech-tag {
    padding: 0.4rem 0.9rem;
    background: rgba(244, 196, 48, 0.2);
    border: 1px solid rgba(244, 196, 48, 0.5);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    backdrop-filter: blur(10px);
}

.project-content {
    padding: 1.75rem;
    position: relative;
    z-index: 2;
}

.project-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    transition: color 0.3s;
    letter-spacing: -0.01em;
}

.project-card:hover .project-content h3 {
    color: var(--accent);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.7;
    min-height: 60px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border: 2px solid var(--border);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), #ffd54a);
    transition: left 0.3s;
    z-index: -1;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: #111318;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 196, 48, 0.3);
}

.btn-outline:hover::before {
    left: 0;
}

/* Project Details */
.project-detail {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    margin-top: 3rem;
    scroll-margin-top: 100px;
    display: none; /* Başta gizli */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Sadece tıklanan (#proje1, #proje2...) detay bloğunu göster */
.project-detail:target {
    display: block;
    animation: fadeUp 0.5s ease-out both;
}

.project-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-detail-header h3 {
    font-size: 1.6rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.3rem 0.8rem;
    background: rgba(244, 196, 48, 0.15);
    border: 1px solid var(--accent);
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--accent);
}

.project-detail-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-gallery img {
    width: 100%;
    height: auto;
    min-height: 300px;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-card);
}

.project-gallery .placeholder {
    background: #292d3a;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border-radius: 8px;
}

.back-link {
    text-align: right;
    margin-top: 1rem;
}

.back-link a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
}

.back-link a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #0a0b10 0%, #1a1d28 50%, #0a0b10 100%);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(244, 196, 48, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.contact-section .section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    text-align: center;
}

.contact-main {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 1.5rem;
}

.contact-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.contact-item-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #ffd54a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.contact-item-card:hover::before {
    transform: scaleX(1);
}

.contact-item-card:hover {
    transform: translateY(-5px);
    border-color: rgba(244, 196, 48, 0.5);
    box-shadow: 0 12px 40px rgba(244, 196, 48, 0.2);
}

.contact-icon-wrapper {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.2), rgba(244, 196, 48, 0.1));
    border: 1px solid rgba(244, 196, 48, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.contact-icon-wrapper svg {
    width: 20px;
    height: 20px;
    transition: transform 0.4s;
}

.contact-item-card:hover .contact-icon-wrapper {
    background: linear-gradient(135deg, rgba(244, 196, 48, 0.3), rgba(244, 196, 48, 0.2));
    border-color: rgba(244, 196, 48, 0.5);
    transform: scale(1.05) rotate(5deg);
}

.contact-item-card:hover .contact-icon-wrapper svg {
    transform: scale(1.1);
}

.contact-item-content {
    flex: 1;
}

.contact-item-content h3 {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 0.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.contact-item-content a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    font-weight: 500;
}

.contact-item-content a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.contact-item-content p {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

.social-media-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    text-align: center;
}

.social-media-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #ffd54a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.social-media-section:hover::before {
    transform: scaleX(1);
}

.social-media-section h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.social-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-width: 2px;
}

.social-btn.github:hover {
    border-color: #fff;
    background: linear-gradient(135deg, #24292e, #2d3339);
    color: #fff;
    box-shadow: 0 8px 24px rgba(36, 41, 46, 0.5);
}

.social-btn.linkedin:hover {
    border-color: #0077b5;
    background: linear-gradient(135deg, #0077b5, #005885);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 119, 181, 0.5);
}

.social-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.4s;
}

.social-btn:hover svg {
    transform: scale(1.15) rotate(5deg);
}


/* Footer */
.footer {
    background: #05060a;
    border-top: 1px solid var(--border);
    padding: 2rem;
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .menu-icon {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 11, 18, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1rem;
    }

    .nav-links a::after {
        display: none;
    }

    .menu-toggle:checked ~ .nav-links {
        right: 0;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-intro {
        font-size: 2rem;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .project-gallery img {
        height: auto;
        min-height: 250px;
        max-height: 350px;
        object-fit: contain;
        object-position: center;
    }

    .cv-viewer-content {
        flex-direction: column;
    }

    .cv-sidebar {
        width: 100%;
        flex-direction: row;
        padding: 0.5rem;
        justify-content: center;
        border-right: none;
        border-bottom: 1px solid #c0c0c0;
    }

    .cv-thumbnail {
        margin-bottom: 0;
        margin-right: 0.5rem;
    }

    .cv-preview {
        height: 200px;
    }

    .cv-viewer-toolbar {
        flex-wrap: wrap;
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .cv-container {
        padding: 1.5rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .about-highlights {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .highlight-card {
        padding: 1.5rem;
        gap: 1.25rem;
    }
    
    .highlight-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .highlight-content h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .highlight-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .experience-card {
        position: static;
        padding: 2rem;
    }

    .experience-header {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-main {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .contact-item-card {
        padding: 1rem;
        gap: 1rem;
    }
    
    .contact-icon-wrapper {
        width: 44px;
        height: 44px;
    }
    
    .contact-icon-wrapper svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-item-content h3 {
        font-size: 0.9rem;
    }
    
    .contact-item-content a,
    .contact-item-content p {
        font-size: 0.85rem;
    }
    
    .social-media-section {
        padding: 1.5rem;
    }
    
    .social-media-section h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .social-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .social-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    .project-image {
        height: 180px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-content {
        padding: 1.5rem;
    }

    .project-content h3 {
        font-size: 1.2rem;
    }

    .project-content p {
        font-size: 0.9rem;
        min-height: auto;
    }

    .project-overlay {
        opacity: 1;
        background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    }

    .skills-category {
        padding: 1.5rem;
    }

    .category-header {
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }

    .category-icon {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }

    .category-header h3 {
        font-size: 1.2rem;
    }

    .skills-list {
        gap: 1rem;
    }

    .about-company {
        padding: 1.25rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .nav-links {
        width: 100%;
        right: -100%;
    }

    .project-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .project-gallery img {
        height: auto;
        min-height: 250px;
        max-height: 350px;
        object-fit: contain;
        object-position: center;
    }

}


