/* ====== DİNAMİK İMLEÇ STİLLERİ ====== */
body, a, button, input[type="checkbox"] {
        cursor: none;
}

#custom-cursor {
        position: fixed; 
        width: 8px;
        height: 8px;
        background-color: #3a7bd5;
        border-radius: 50%;
        z-index: 10000; 
        pointer-events: none; 
        transform: translate(-50%, -50%); 
        transition: transform 0.1s ease-out; 
}

#cursor-aura {
        position: fixed;
        width: 40px;
        height: 40px;
        border: 2px solid #3a7bd5;
        border-radius: 50%;
        z-index: 10000;
        pointer-events: none;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease-out; 
}

#cursor-aura.grow {
        transform: translate(-50%, -50%) scale(1.8); 
        background-color: rgba(58, 123, 213, 0.2); 
        border-color: transparent; 
}

@media only screen and (max-width: 767px) {
    #cursor-aura,
    #custom-cursor {
        display: none !important;
    }
}
           * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Open Sans', sans-serif;
            line-height: 1.6;
            background-color: var(--bg-color-light); 
            color: var(--text-color-light); 
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        body.dark-mode {
            --bg-color-light: #1a1a2e; 
            --text-color-light: #e0e0e0; 
            --header-bg-light: #2c2c4d;
            --nav-bg-light: #3a3a5e;
            --nav-link-color-light: #e0e0e0;
            --nav-link-hover-light: #8e8eef;
            --container-bg-light: #2c2c4d;
            --border-color-light: #50507a;
            --highlight-bg-light: #3a3a5e;
            --highlight-border-light: #8e8eef;
            --profile-border-light: #8e8eef;
            --footer-bg-light: #2c2c4d;
            --gradient-start: #2c2c4d;
            --gradient-end: #3a3a5e;
        }

        body:not(.dark-mode) {
            --bg-color-light: #f8f9fa; 
            --text-color-light: #343a40; 
            --header-bg-light: #ffffff;
            --nav-bg-light: #ffffff;
            --nav-link-color-light: #495057;
            --nav-link-hover-light: #007bff;
            --container-bg-light: #ffffff;
            --border-color-light: #e9ecef;
            --highlight-bg-light: #f1f3f5;
            --highlight-border-light: #007bff;
            --profile-border-light: #007bff;
            --footer-bg-light: #343a40;
            --gradient-start: #6dd5ed;
            --gradient-end: #2193b0;
        }

        .container {
            max-width: 1100px;
            margin: auto;
            overflow: hidden;
            padding: 0 20px;
        }

        nav {
            background-color: var(--nav-bg-light);
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            padding: 15px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        nav .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        nav .logo a {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 1.8em;
            color: var(--nav-link-hover-light); 
            text-decoration: none;
            padding-right: 20px;
        }
        nav ul {
            list-style: none;
            display: flex;
            margin: 0;
            padding: 0;
        }
        nav ul li {
            margin-left: 25px;
        }
        nav ul li a {
            color: var(--nav-link-color-light);
            text-decoration: none;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 1.05em;
            padding: 5px 0;
            position: relative;
            transition: color 0.3s ease;
        }
        nav ul li a:hover,
        nav ul li a.active { 
            color: var(--nav-link-hover-light);
        }
        nav ul li a::after { 
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            background-color: var(--nav-link-hover-light);
            bottom: -5px;
            left: 0;
            transition: width 0.3s ease;
        }
        nav ul li a:hover::after,
        nav ul li a.active::after {
            width: 100%;
        }

        .controls {
            display: flex;
            align-items: center;
            gap: 20px;
        }
        .lang-switch, .theme-switch {
            display: flex;
            align-items: center;
        }
        .switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
        }
        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 24px;
        }
        .slider:before {
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }
        input:checked + .slider {
            background-color: #2196F3;
        }
        input:focus + .slider {
            box-shadow: 0 0 1px #2196F3;
        }
        input:checked + .slider:before {
            transform: translateX(26px);
        }
        .switch-label {
            margin-left: 10px;
            margin-right: 5px;
            font-weight: 600;
            color: var(--text-color-light);
        }
        .lang-switch .label-tr, .lang-switch .label-en {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            color: var(--nav-link-color-light);
            transition: color 0.3s ease;
        }
        .lang-switch input:checked ~ .label-tr { color: var(--nav-link-color-light); }
        .lang-switch input:not(:checked) ~ .label-en { color: var(--nav-link-color-light); }
        .lang-switch input:checked ~ .label-en { color: var(--nav-link-hover-light); }
        .lang-switch input:not(:checked) ~ .label-tr { color: var(--nav-link-hover-light); }


        .theme-switch .icon {
            font-size: 1.2em; 
            color: var(--text-color-light);
            transition: color 0.3s ease;
        }
        .theme-switch input:checked ~ .icon.moon { color: var(--nav-link-hover-light); }
        .theme-switch input:not(:checked) ~ .icon.sun { color: var(--nav-link-hover-light); }
        
        .hero {
            background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
            color: #fff;
            text-align: center;
            padding: 50px 0;
            font-family: 'Montserrat', sans-serif;
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .hero h1 {
            font-size: 3em;
            margin-bottom: 10px;
        }
        .hero p {
            font-size: 1.2em;
            opacity: 0.9;
        }

        .main-content {
            padding: 40px 0;
            background-color: var(--container-bg-light);
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            margin-top: 40px;
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
        }
        .profile-picture {
            flex: 1;
            min-width: 280px;
            text-align: center;
            padding: 0 20px;
        }
        .profile-picture img {
            max-width: 100%;
            width: 250px; 
            height: 250px; 
            object-fit: cover; 
            border-radius: 50%;
            border: 6px solid var(--profile-border-light);
            box-shadow: 0 0 20px rgba(0,0,0,0.15);
        }
        .profile-picture h3 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 1.8em;
            margin-top: 25px;
            color: var(--text-color-light);
        }
        .about-text {
            flex: 2;
            min-width: 400px;
            padding: 0 20px;
        }
        .about-text h2 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            font-size: 2.2em;
            color: var(--nav-link-hover-light);
            border-bottom: 2px solid var(--border-color-light);
            padding-bottom: 15px;
            margin-bottom: 30px;
        }
        .about-text p {
            margin-bottom: 20px;
            font-size: 1.05em;
            color: var(--text-color-light);
        }
        .highlights ul {
            list-style: none;
            padding: 0;
        }
        .highlights ul li {
            background: var(--highlight-bg-light);
            margin-bottom: 10px;
            padding: 12px 18px;
            border-left: 5px solid var(--highlight-border-light);
            border-radius: 6px;
            font-size: 1.05em;
            color: var(--text-color-light);
            transition: transform 0.2s ease;
        }
        .highlights ul li:hover {
            transform: translateX(5px);
        }

        footer {
            text-align: center;
            padding: 25px;
            background: var(--footer-bg-light);
            color: #ccc;
            margin-top: 50px;
            border-top-left-radius: 12px;
            border-top-right-radius: 12px;
        }
        footer p {
            margin: 0;
            font-size: 0.9em;
        }

        @media (max-width: 992px) {
            nav .logo a {
                font-size: 1.5em;
            }
            nav ul li {
                margin-left: 15px;
            }
            nav ul li a {
                font-size: 0.95em;
            }
            .main-content {
                gap: 30px;
            }
            .profile-picture, .about-text {
                flex-basis: 100%;
                text-align: center;
                padding: 0 15px;
            }
            .profile-picture img {
                width: 200px;
                height: 200px;
            }
            .about-text h2 {
                font-size: 1.8em;
            }
            .hero h1 {
                font-size: 2.5em;
            }
            .hero p {
                font-size: 1em;
            }
            .controls {
                gap: 15px;
            }
        }

        @media (max-width: 768px) {
            nav {
                flex-direction: column; 
                padding: 10px 0;
            }
            nav .container {
                flex-direction: column;
            }
            nav .logo {
                margin-bottom: 15px;
            }
            nav ul {
                flex-wrap: wrap;
                justify-content: center;
                margin-bottom: 15px;
            }
            nav ul li {
                margin: 5px 10px;
            }
            .controls {
                margin-top: 10px;
            }
            .main-content {
                margin-top: 20px;
            }
            .profile-picture img {
                width: 180px;
                height: 180px;
            }
        }

/* =================================== */
/* ====== YUKARI ÇIK BUTONU ====== */
/* =================================== */
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 50%;
    display: none; 
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}
#scrollTopBtn.show {
    display: flex;
    opacity: 1;
}
#scrollTopBtn:hover { transform: scale(1.1); }

/* =================================== */
/* ====== DİL DEĞİŞTİRME BUTONLARI ===== */
/* =================================== */
.language-switcher {
    display: flex;
    background-color: rgba(128, 128, 128, 0.2);
    border-radius: 20px;
    padding: 4px;
    margin-left: 1rem; 
}

.lang-btn {
    background-color: transparent;
    border: none;
    color: var(--text-color-light);
    padding: 6px 12px;
    cursor: pointer;
    font-weight: 600;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background-color: var(--primary-color);
    color: white;
}

 /* =================================== */
/* ========== HAMBURGER BUTON ========= */
/* =================================== */
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
            background: none;
            border: none;
            padding: 10px;
            z-index: 1001;
        }

        .hamburger span {
            width: 25px;
            height: 3px;
            background: var(--hamburger-icon-color, #087ACC);
            margin: 3px 0;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        body.dark-theme .hamburger span {
            background: var(--hamburger-icon-color-dark, #fff); 
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

/* =================================== */
/* ============ MOBİL MENÜ =========== */
/* =================================== */

        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 300px;
            height: 100vh;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            backdrop-filter: blur(20px);
            display: flex;
            flex-direction: column;
            padding-top: 100px;
            transition: right 0.3s ease;
            box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
            z-index: 1000; 
            overflow-y: auto; 
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu-item {
            padding: 20px 30px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mobile-menu-item a {
            color: rgb(255, 255, 255);
            text-decoration: none;
            font-size: 1.2rem;
            font-weight: 500;
            display: block;
            transition: all 0.3s ease;
        }

        .mobile-menu-item:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateX(10px);
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 999;
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

            .hamburger {
                display: flex;
            }

            .content h1 {
                font-size: 2rem;
            }

            .content p {
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .mobile-menu {
                width: 100%;
                right: -100%;
            }
            
            .navbar {
                padding: 0 10px;
            }
        }

        html {
            scroll-behavior: smooth;
        }

        .mobile-menu::-webkit-scrollbar {
            width: 5px;
        }

        .mobile-menu::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
        }

        .mobile-menu::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.3);
            border-radius: 10px;
        }

    @media (max-width: 768px) {
        .menu-items {
            display: none;
        }
    }

/* ================================= */
/* ============ FOOTER ============ */
/* =============================== */
        footer {
            padding: 20px;
            margin-top: 20px;
            color: #fff;
            background-color: #333;
            text-align: center;
        }

/* ========================================= */
/* ============ İLETİŞİM FORMU ============ */
/* ======================================= */
        .contact-section {
            padding: 40px 0;
            background-color: var(--bg-color-light); 
            color: var(--text-color-light); 
            margin-top: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        .contact-section h2 {
            text-align: center;
            margin-bottom: 30px;
            color: #333;
        }
        .contact-form {
            max-width: 600px;
            margin: auto;
            padding: 0 20px;
        }
        .contact-form label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
        }
        .contact-form input[type="text"],
        .contact-form input[type="email"],
        .contact-form textarea {
            width: 100%;
            padding: 10px;
            margin-bottom: 20px;
            border: 1px solid #ddd;
            border-radius: 4px;
            box-sizing: border-box; 
        }
        .contact-form textarea {
            resize: vertical; 
            min-height: 120px;
        }
        .contact-form button {
            display: block;
            width: 100%;
            padding: 12px;
            background: #77aaff;
            color: #fff;
            border: 0;
            border-radius: 4px;
            cursor: pointer;
            font-size: 18px;
        }
        .contact-form button:hover {
            background: #5588dd;
        }