/* Kagan Samet Durmus Portfolyo Stilleri */

/* Genel Ayarlar */
:root {
    --bg-color: #0b1210;
    --text-color: #d1d9d6;
    --accent-color: #20c997;
    --secondary-color: #16221f;
    --card-text: #aebdb8;
    --nav-bg: rgba(11, 18, 16, 0.95);
    --shadow-color: rgba(0, 0, 0, 0.2);
    scroll-padding-top: 100px;
}

html {
    scroll-padding-top: 100px;
}

/* Light Mode Degiskenleri */
body.light-mode {
    --bg-color: #f0f4f8;
    --text-color: #2d3436;
    --accent-color: #00b894;
    /* Biraz daha koyu bir yesil */
    --secondary-color: #ffffff;
    --card-text: #636e72;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Scroll Animasyonlari */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    background-color: var(--nav-bg);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(32, 201, 151, 0.1);
    height: 90px;
    transition: background-color 0.3s;
}

.logo-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    height: 100%;
    margin-right: 0;
}

.logo-img {
    height: 70px;
    width: auto;
    border-radius: 5px;
    border: none;
    padding: 0;
    background-color: transparent;
    transition: transform 0.3s;
    object-fit: contain;
}

.logo-img:hover {
    transform: scale(1.05);
}

nav {
    display: flex;
    align-items: center;
    height: 100%;
    flex: 1;
    margin: 0 40px;
}

nav ul {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    gap: 15px;
    align-items: center;
}

nav ul li a {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav ul li a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(32, 201, 151, 0.3);
}

/* Icons Container Theme Ve Lang */
.nav-extras {
    display: flex;
    align-items: center;
    gap: 25px;
    /* Increased gap */
    margin-left: 0;
}

/* Dil Secici Stilleri */
.lang-switcher {
    display: flex;
    gap: 15px;
    /* Increased gap */
    align-items: center;
}

.lang-btn {
    border: 1px solid var(--accent-color);
    padding: 8px 15px;
    /* Increased padding */
    border-radius: 4px;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
    /* Increased font size */
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.lang-btn:hover,
.lang-btn.active {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

/* Tema Degistirme Butonu */
#theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    /* Increased icon size */
    cursor: pointer;
    transition: color 0.3s;
    padding: 5px;
}

#theme-toggle:hover {
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--accent-color);
}

/* Ortak Bolum Stilleri */
section {
    padding: 100px 10%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.page-main {
    display: block;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    width: 100%;
    color: var(--text-color);
    /* Updated for light mode compatibility */
    position: relative;
    transition: color 0.3s;
}

/* Light mode specific override if needed generally handled by var but headers were hardcoded */
body.light-mode .section-title,
body.light-mode .home-content h1,
body.light-mode .schedule-course {
    color: #2d3436;
}

body.light-mode .home-content p,
body.light-mode .home-content .subtitle,
body.light-mode .about-text p,
body.light-mode footer {
    color: #636e72;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: var(--card-text);
}

.breadcrumbs a {
    color: var(--accent-color);
    font-weight: 600;
}

.section-intro {
    width: 100%;
    max-width: 760px;
    margin: -30px auto 40px;
    text-align: center;
    color: var(--card-text);
    font-size: 1.05rem;
    line-height: 1.7;
}

.content-callout {
    width: 100%;
    max-width: 760px;
    margin: 40px auto 0;
    padding: 24px;
    border: 1px solid rgba(32, 201, 151, 0.18);
    border-radius: 14px;
    background: rgba(32, 201, 151, 0.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.content-callout--center {
    text-align: center;
}

.content-callout p {
    margin: 0 0 16px;
    color: var(--text-color);
}

.text-link,
.card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--accent-color);
    border-radius: 999px;
    color: var(--accent-color);
    font-weight: 600;
    background: transparent;
}

.text-link:hover,
.card-link:hover {
    background-color: rgba(32, 201, 151, 0.1);
}

/* Anasayfa Hero */
#home {
    justify-content: space-between;
    padding-top: 130px;
}

.home-content {
    max-width: 600px;
    z-index: 1;
}

.home-content .intro {
    font-size: 1.1rem;
    font-family: 'Courier New', Courier, monospace;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

.home-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 800;
    color: #e6f1ff;
    /* Only valid in dark mode overridden above for light */
    transition: color 0.3s;
}

.home-content .subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8892b0;
    margin-bottom: 25px;
    line-height: 1.2;
    transition: color 0.3s;
}

.home-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #8892b0;
    max-width: 540px;
    line-height: 1.6;
    transition: color 0.3s;
}

.social-icons {
    margin-bottom: 40px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    margin-right: 20px;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    background: rgba(32, 201, 151, 0.05);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(32, 201, 151, 0.2);
}

.btn-primary {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-color);
    padding: 15px 40px;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: rgba(32, 201, 151, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.profile-img-wrapper {
    position: relative;
    z-index: 1;
}

.profile-img-container {
    width: 350px;
    height: 350px;
    position: relative;
    border-radius: 10px;
    background-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(32, 201, 151, 0.15);
}

.profile-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    position: relative;
    bottom: 15px;
    right: 15px;
    transition: 0.3s;
}

.profile-img-container:hover img {
    bottom: 10px;
    right: 10px;
}

/* Hakkimda */
#about {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    text-align: center;
}

.about-content h2::after {
    margin: 10px auto 0;
}

.about-text p {
    margin-bottom: 20px;
    color: #b0c4de;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.about-text ul {
    justify-content: center;
    text-align: left;
    display: inline-grid;
    width: 100%;
    max-width: 600px;
}

/* Yetenekler */
#skills {
    flex-direction: column;
    justify-content: center;
}

.skills-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.skill-card {
    background-color: var(--secondary-color);
    color: var(--card-text);
    padding: 40px 30px;
    border-radius: 5px;
    width: 45%;
    min-width: 300px;
    text-align: center;
    transition: transform 0.3s, background-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid transparent;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.skill-card:hover {
    transform: translateY(-7px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(32, 201, 151, 0.1);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--accent-color);
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-color);
    transition: color 0.3s;
}

.skill-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--card-text);
}

/* Projelerim */
#projects {
    flex-direction: column;
    justify-content: center;
}

.projects-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.project-card {
    background-color: var(--secondary-color);
    border: 1px solid rgba(32, 201, 151, 0.1);
    border-radius: 10px;
    padding: 30px;
    width: 30%;
    min-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(32, 201, 151, 0.1);
    border-color: var(--accent-color);
}

.project-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.project-card p {
    font-size: 0.95rem;
    color: var(--card-text);
    line-height: 1.6;
}

.project-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.project-copy p {
    margin-bottom: 0;
}

.project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(32, 201, 151, 0.12);
    flex-wrap: wrap;
}

.project-meta span {
    color: var(--accent-color);
    font-weight: 600;
}

/* Haftalik Ders Programi */
#schedule {
    flex-direction: column;
    justify-content: center;
}

.table-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px var(--shadow-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    color: var(--card-text);
    font-size: 0.95rem;
}

thead tr {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    text-align: left;
}

th,
td {
    padding: 20px 15px;
    border: 1px solid rgba(32, 201, 151, 0.1);
    vertical-align: top;
}

tbody tr:hover {
    background-color: rgba(32, 201, 151, 0.03);
}

.schedule-item {
    margin-bottom: 15px;
}

.schedule-item:last-child {
    margin-bottom: 0;
}

.schedule-time {
    display: block;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.schedule-course {
    font-weight: 500;
    color: #e6f1ff;
    /* Dark mode default */
    line-height: 1.4;
    transition: color 0.3s;
}

/* Iletisim */
#contact {
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: transparent;
    padding: 0;
}

.input-group {
    display: flex;
    gap: 20px;
}

.input-group input {
    width: 50%;
}

input,
textarea {
    padding: 15px;
    background-color: rgba(22, 34, 31, 0.8);
    border: 1px solid #2a3f39;
    border-radius: 4px;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    width: 100%;
    transition: 0.3s;
}

body.light-mode input,
body.light-mode textarea {
    background-color: #ffffff;
    border-color: #dfe6e9;
    color: #2d3436;
}

textarea {
    height: 150px;
    resize: none;
}

input:focus,
textarea:focus {
    border-color: var(--accent-color);
    background-color: rgba(22, 34, 31, 1);
    box-shadow: 0 0 10px rgba(32, 201, 151, 0.1);
}

body.light-mode input:focus,
body.light-mode textarea:focus {
    background-color: #ffffff;
}

.submit-btn {
    background-color: transparent;
    color: var(--accent-color);
    padding: 15px;
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
    width: 100%;
}

.submit-btn:hover {
    background-color: rgba(32, 201, 151, 0.1);
}

/* YUKARI CIK BUTONU */
#scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 5px;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#scroll-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

#scroll-top-btn:hover {
    transform: translateY(-5px);
}

/* FOOTER */
footer {
    background-color: #080f0d;
    padding: 30px;
    text-align: center;
    color: #8892b0;
    font-size: 0.9rem;
    border-top: 1px solid #16221f;
    transition: background-color 0.3s, color 0.3s;
}

body.light-mode footer {
    background-color: #dfe6e9;
    border-top-color: #b2bec3;
}

/* Sertifikalar Yeni Eklendi */
#certificates {
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-color);
    /* Same as body to keep flow or secondary for contrast Lets stick to bg */
}

.certificates-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.certificate-card {
    background-color: var(--secondary-color);
    border: 1px solid rgba(32, 201, 151, 0.1);
    border-radius: 10px;
    padding: 16px;
    width: 30%;
    min-width: 320px;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
}

.certificate-image-wrapper {
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: opacity 0.3s;
}

.certificate-image-wrapper:hover {
    opacity: 0.9;
}

.certificate-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.certificate-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(32, 201, 151, 0.1);
}

body.light-mode .certificate-card {
    background-color: #ffffff;
    border-color: #dfe6e9;
}

.certificate-caption {
    width: 100%;
    margin-top: 14px;
    margin-bottom: 18px;
    color: var(--card-text);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
}



/* Tablet ve Genis Ekran Duzenlemesi */
@media (max-width: 1200px) {

    /* mobile menuyu zorla cunku TR RU icerik sigmiyor */
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
        /* JS ile açılacak */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: auto;
        background-color: var(--nav-bg);
        justify-content: center;
        padding: 30px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    nav ul {
        flex-direction: column;
        gap: 30px;
        margin: 0;
    }

    nav ul li a {
        font-size: 1.2rem;
    }

    /* Nav extras menu icine alinabilir ama simdilik headerda kalsin sadece padding ayari */
    .nav-extras {
        margin-left: auto;
        /* Sağa yasla */
        margin-right: 50px;
        /* Toggle ile çakışmasın */
    }
}

body.light-mode nav {
    background-color: var(--bg-color);
    border-top-color: rgba(0, 0, 0, 0.1);
}

/* RESPONSIVE MOBIL */
@media (max-width: 1200px) {
    header {
        padding: 15px 30px;
        height: 90px;
    }

    .logo-img {
        height: 60px;
    }

    section {
        padding: 100px 5%;
    }

    .home-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 1200px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: auto;
        background-color: var(--bg-color);
        padding: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
        text-align: center;
        box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    }

    body.light-mode nav {
        background-color: var(--bg-color);
        border-top-color: rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .nav-extras {
        margin-top: 20px;
        justify-content: center;
    }

    section {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    #home {
        padding-top: 120px;
        gap: 50px;
    }

    /* Moved to max width for better laptop form layout */

    .input-group input {
        width: 100%;
    }
}

/* FIX MOBILE HEADER LAYOUT */
@media (max-width: 768px) {
    header {
        padding: 10px 20px;
        height: 70px;
    }

    .logo-img {
        height: 50px;
    }

    /* Flex Reordering */
    .logo-container {
        order: 1;
        flex: 1;
        /* Allow logo to take space if needed or just be natural */
    }

    .nav-extras {
        order: 2;
        margin-left: 0;
        margin-top: 0;
        /* Reset margin inherited from tablet query to fix alignment */
        margin-right: 15px;
        gap: 0;
        /* Reset gap */
    }

    /* Hide Header Language Switcher on Mobile */
    .nav-extras .lang-switcher {
        display: none;
    }

    .menu-toggle {
        order: 3;
        font-size: 1.5rem;
    }
}

/* Base style for mobile only items hidden on desktop */
.mobile-only {
    display: none !important;
}

@media (max-width: 1200px) {
    .mobile-only {
        display: block !important;
        /* Show in mobile menu */
        border-top: 1px solid rgba(32, 201, 151, 0.1);
        padding-top: 15px;
        margin-top: 10px;
    }

    .mobile-lang-wrapper {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .mobile-lang-btn {
        color: var(--card-text);
        font-weight: bold;
        padding: 5px 10px;
        border: 1px solid var(--card-text);
        border-radius: 4px;
        transition: 0.3s;
    }

    .mobile-lang-btn.active,
    .mobile-lang-btn:hover {
        color: var(--bg-color);
        background-color: var(--accent-color);
        border-color: var(--accent-color);
    }
}

/* Yeni Form Tasarimi Dark Green Style */

.form-section {
    background-color: var(--secondary-color);
    border: 1px solid rgba(32, 201, 151, 0.2);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.form-section-title {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(32, 201, 151, 0.2);
    padding-bottom: 10px;
    font-weight: 700;
}

.input-wrapper {
    width: 100%;
    margin-bottom: 15px;
    text-align: left;
}

.input-wrapper label {
    display: block;
    color: var(--text-color);
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Updated Input Styles to include Date and Select */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(11, 18, 16, 0.6);
    border: 1px solid #2a3f39;
    border-radius: 6px;
    color: var(--text-color);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
    color-scheme: dark;
    /* Fix date picker in dark mode */
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(32, 201, 151, 0.15);
}

/* Radio and Checkbox Groups */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: row;
    /* Force row */
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 5px;
    width: 100%;
}

/* Ensure input group behaves correctly */
.input-group {
    display: flex;
    gap: 20px;
    width: 100%;
}

/* Override breakpoint for form only if needed OR fix the general rule */
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
        gap: 15px;
    }
}

.radio-label,
.check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--card-text);
    cursor: pointer;
    transition: color 0.2s;
}

.radio-label:hover,
.check-label:hover {
    color: var(--accent-color);
}

/* Custom Accent Styling for Radio Checkbox */
input[type="radio"],
input[type="checkbox"] {
    accent-color: var(--accent-color);
    width: 18px;
    height: 18px;
    cursor: pointer;
    background-color: rgba(11, 18, 16, 0.6);
}

/* Light Mode Adjustments for Form */
body.light-mode .form-section {
    background-color: #ffffff;
    border-color: #dfe6e9;
}

body.light-mode input,
body.light-mode select,
body.light-mode textarea {
    background-color: #f9f9f9;
    border-color: #dfe6e9;
    color: #2d3436;
}

body.light-mode input:focus,
body.light-mode select:focus,
body.light-mode textarea:focus {
    background-color: #fff;
}

/* Egitim Education Bolumu */
#education {
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-color);
    /* Maintain flow */
}

.education-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.education-card {
    background-color: var(--secondary-color);
    border-left: 5px solid var(--accent-color);
    padding: 30px;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 6px var(--shadow-color);
}

.education-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(32, 201, 151, 0.1);
}

.edu-icon {
    font-size: 2rem;
    color: var(--accent-color);
    background: rgba(32, 201, 151, 0.1);
    padding: 15px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 60px;
    height: 60px;
}

.edu-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.edu-dept {
    font-size: 1rem;
    color: var(--card-text);
    margin-bottom: 10px;
    font-weight: 500;
}

.edu-date {
    font-size: 0.9rem;
    color: #8892b0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Light Mode for Education */
body.light-mode .education-card {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .education-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .education-card:hover {
        transform: translateY(-5px);
        /* Vertical hover on mobile */
    }

    .breadcrumbs {
        flex-wrap: wrap;
        font-size: 0.85rem;
    }

    .section-intro {
        margin: -20px auto 32px;
        font-size: 1rem;
    }

    .content-callout {
        padding: 20px;
    }

    .skill-card,
    .project-card,
    .certificate-card {
        width: 100%;
        min-width: 0;
    }

    .project-meta {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* Refactoring: Phase 2 - Removed Inline Styles */

.cv-main-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: var(--text-color);
}

.about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.about-list li {
    color: #b0c4de;
    font-size: 0.9rem;
}

.project-link {
    color: var(--accent-color);
    font-weight: 600;
}

.section-description {
    text-align: center;
    color: #b0c4de;
    max-width: 700px;
    margin: -40px auto 40px auto;
}

.section-description.contact-desc {
    max-width: 600px;
}

.table-container {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    color: var(--text-color);
}

.input-subject {
    margin-bottom: 15px;
}

.submit-btn-full {
    width: 100%;
    margin-top: 20px;
}

/* Phase 3 Accessibility Fix: Darker accent color for light mode */
body.light-mode {
    --accent-color: #008f72; /* Improved contrast, original was #00b894 */
}
/* Ensure link text contrast is good */
body.light-mode a.highlight,
body.light-mode .section-title::after,
body.light-mode .nav-extras .lang-btn.active,
body.light-mode .nav-extras .lang-btn:hover {
    color: #ffffff; /* White text on dark green accent bg is always good */
    background-color: #008f72;
    border-color: #008f72;
}
/* Ensure regular links use the dark accent */
body.light-mode a:hover,
body.light-mode .project-link,
body.light-mode .skill-icon,
body.light-mode .project-icon {
    color: #008f72;
}

/* SEO Refactor: Hub and Case Study Layouts */
.hub-section {
    min-height: auto;
}

.section-title--compact {
    margin-bottom: 20px;
}

.hero-actions,
.callout-actions,
.project-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-actions {
    justify-content: flex-start;
}

.page-kicker {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    color: var(--accent-color);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.projects-container--wide .project-card,
.case-study-panel {
    width: 45%;
}

.proof-card p {
    margin-bottom: 20px;
}

.project-link-muted {
    color: var(--card-text);
    font-weight: 600;
}

.case-study-page .content-callout {
    margin-bottom: 32px;
}

.case-study-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.case-study-panel {
    min-width: 320px;
}

.case-study-panel h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 18px;
    color: var(--text-color);
}

.case-study-panel ul {
    list-style: disc;
    padding-left: 22px;
    color: var(--card-text);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.case-study-panel li {
    margin-left: 4px;
}

.case-study-panel p,
.case-study-panel li {
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .hero-actions,
    .callout-actions {
        justify-content: center;
    }

    .hero-actions {
        width: 100%;
    }

    .projects-container--wide .project-card,
    .case-study-panel {
        width: 100%;
        min-width: 0;
    }
}
