:root {
    --bg-color: #12181F;
    --card-color: #1A2C3A;
    --text-color: #E2E8F0;
    --heading-color: #FFFFFF;
    --primary-gradient: linear-gradient(90deg, #00CFB4, #00A7C5);
    --primary-color-start: #00CFB4;
    --font-family: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
}
h1, h2, h3, h4 { color: var(--heading-color); font-weight: 600; line-height: 1.3; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.section-title, h2 { font-size: clamp(2rem, 4vw, 2.5rem); text-align: center; margin-bottom: 4rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
section { padding: 100px 20px; position: relative; overflow: hidden; }
.container { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
a { text-decoration: none; color: var(--primary-color-start); transition: color 0.3s ease; }
a:hover { color: #00A7C5; }
ul { list-style: none; }
header {
    position: fixed;
    width: 100%;
    padding: 1rem 20px;
    top: 0;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease;
}
header.scrolled {
    background-color: rgba(18, 24, 31, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 20px;
}
nav {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo { font-size: 1.8rem; font-weight: 700; color: var(--heading-color); }
nav ul { display: flex; gap: 2.5rem; }
nav ul li a { color: var(--text-color); font-weight: 400; font-size: 1rem; }
#home { min-height: 100vh; display: flex; align-items: center; max-width: 1100px; margin: 0 auto;}
.home-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 3rem;
    width: 100%;
}
@media (min-width: 992px) { .home-container { grid-template-columns: 1.5fr 1fr; } }
.home-content { max-width: 600px; }
.home-blob-container { display: flex; justify-content: center; align-items: center; }
.blob {
    width: 400px;
    height: 400px;
    background-image: url('images/arhan.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    box-shadow: 0 0 50px rgba(0, 207, 180, 0.4);
}
@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.intro-quote { font-size: 1.2rem; margin: 1.5rem 0 2.5rem; color: var(--text-color); }
.btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}
.btn-primary { background: var(--primary-gradient); color: #12181F; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0, 207, 180, 0.3); }

/* --- HAKKIMDA --- */
#hakkimda { background-color: var(--card-color); }
.hakkimda-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 992px) { .hakkimda-grid { grid-template-columns: 1fr 2fr; } }
.hakkimda-quote {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--heading-color);
    border-left: 4px solid var(--primary-color-start);
    padding-left: 2rem;
    font-style: italic;
}
.hakkimda-text .section-title { text-align: left; margin-bottom: 2rem; }
.hakkimda-text p { margin-bottom: 1.5rem; color: var(--text-color); max-width: 650px; }


/* --- YETKİNLİKLER --- */
#competencies { background-color: var(--bg-color); }
.competencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.competency-card {
    background: var(--card-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #2d3748;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.competency-card:hover { transform: translateY(-8px); border-color: var(--primary-color-start); }
.competency-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color-start);
}
.competency-card h4 { margin-bottom: 0.5rem; color: var(--heading-color); }

/* --- PROJELER --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 340px);
    gap: 2rem;
    justify-content: center;
}
.project-card {
    background-color: var(--card-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #2d3748;
    transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
}
.project-card:hover { transform: translateY(-8px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.project-image-container { height: 220px; overflow: hidden; }
.project-image-container img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.project-card:hover .project-image-container img { transform: scale(1.05); }
.project-content { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.project-content h4 { color: var(--heading-color); margin-bottom: 0.75rem; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.tech-tags span { background-color: #2d3748; color: var(--text-color); padding: 0.25rem 0.75rem; border-radius: 15px; font-size: 0.8rem; font-weight: 500; }
.project-description { font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }
.project-details-btn {
    background: none;
    border: 1px solid var(--primary-color-start);
    color: var(--primary-color-start);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.3s ease;
    margin-top: auto;
}
.project-details-btn:hover { background-color: var(--primary-color-start); color: var(--bg-color); }

/* --- ÖDÜLLER VE SERTİFİKALAR --- */
/* style.css dosyanızda bu bölümü bulun ve aşağıdakiyle değiştirin */

/* --- ÖDÜLLER VE SERTİFİKALAR (DÜZELTİLMİŞ) --- */
#achievements { background-color: var(--bg-color); }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: flex-start; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.achievements-column h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color-start);
    margin-bottom: 2rem;
    border-bottom: 2px solid #2d3748;
    padding-bottom: 1rem;
}
.achievements-column ul li {
    background-color: var(--card-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #2d3748;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 1rem 1.5rem;
}
.achievements-column ul li:hover {
    transform: translateX(5px);
    border-color: var(--primary-color-start);
}
.achievements-column ul li a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    margin: -1rem -1.5rem;
    padding: 1rem 1.5rem;
    transition: color 0.3s ease;
}
.achievements-column ul li a:hover {
    color: var(--primary-color-start);
}

/* --- İLETİŞİM --- */
#iletisim { background-color: var(--card-color); }
.contact-form-container form .form-group { margin-bottom: 1.5rem; }
.contact-form-container input, .contact-form-container textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--bg-color);
    border: 1px solid #2d3748;
    color: var(--text-color);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.contact-form-container input:focus, .contact-form-container textarea:focus { outline: none; border-color: var(--primary-color-start); }
.contact-info-container h4 { color: var(--heading-color); font-size: 1.5rem; margin-bottom: 1rem; }
.contact-info-container p { margin-bottom: 2rem; }
.contact-info-container .contact-links { display: flex; flex-direction: column; gap: 1rem; font-weight: 600; font-size: 1.1rem; }

/* --- FOOTER --- */
footer { background-color: #0E131A; border-top: 1px solid #2d3748; text-align: center; padding: 2rem 0; }
footer p { color: #8a96a3; }

.modal-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none; align-items: center; justify-content: center;
    z-index: 2000; opacity: 0; transition: opacity 0.4s ease;
}
.modal-container.show { display: flex; opacity: 1; }
.modal-content {
    background-color: var(--card-color); padding: 2.5rem; border-radius: 12px;
    max-width: 800px; width: 90%; max-height: 90vh; overflow-y: auto;
    position: relative; transform: scale(0.95); transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.modal-container.show .modal-content { transform: scale(1); }
.modal-close-btn {
    position: absolute; top: 1rem; right: 1.5rem; background: none; border: none;
    color: var(--text-color); font-size: 2.5rem; cursor: pointer; line-height: 1;
}
.modal-image-gallery img { width: 100%; border-radius: 8px; margin-bottom: 1.5rem; }
#modal-title { color: var(--primary-color-start); margin-bottom: 1rem; }
#modal-description { line-height: 1.8; }


.hidden { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 991px) {
    nav ul { display: none; }
    .home-container { text-align: center; }
    .home-content { order: 2; }
    .home-blob-container { order: 1; margin-bottom: 2rem; }
    .blob { width: 300px; height: 300px; }
    .hakkimda-quote { font-size: 1.5rem; }
}
@media (max-width: 767px) {
    .grid-2, .hakkimda-grid { grid-template-columns: 1fr; }
    .hakkimda-quote { border-left-width: 3px; padding-left: 1.5rem; text-align: center; }
    .hakkimda-text .section-title { text-align: center; }
    .hakkimda-text p { text-align: center; }
}