        :root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --primary-light: #818cf8;
            --secondary: #f59e0b;
            --secondary-light: #fbbf24;
            --dark: #0f172a;
            --darker: #020617;
            --light: #f8fafc;
            --text: #334155;
            --text-light: #64748b;
            --border: #e2e8f0;
            --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
            --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
            --gradient-section: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        }

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

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text);
            background: var(--light);
            overflow-x: hidden;
        }

        h1, h2, h3, h4, h5 {
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1rem;
        }

        h1 {
            font-size: 3.5rem;
            color: var(--dark);
            letter-spacing: -0.025em;
        }

        h2 {
            font-size: 2.5rem;
            color: var(--dark);
            position: relative;
            display: inline-block;
        }

        .section-dark h2 {
            color: white;
        }

        h2:after {
            content: '';
            position: absolute;
            width: 60%;
            height: 4px;
            background: var(--gradient);
            bottom: -10px;
            left: 0;
            border-radius: 10px;
        }

        .section-dark h2:after {
            background: var(--gradient-primary);
        }

        section {
            padding: 100px 0;
        }

        .section-dark {
            background: var(--gradient-section);
            color: white;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 14px 32px;
            background: var(--gradient-primary);
            color: white;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .btn:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0%;
            height: 100%;
            background: var(--gradient);
            transition: var(--transition);
            z-index: -1;
        }

        .btn:hover:before {
            width: 100%;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        .btn-secondary {
            background: var(--secondary);
            color: var(--dark);
        }

        .btn-secondary:hover {
            background: var(--secondary-light);
        }

        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            padding: 15px 0;
            transition: var(--transition);
            background: rgba(15, 23, 42, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(99, 102, 241, 0.2);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        header.scrolled {
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
            padding: 12px 0;
            background: rgba(15, 23, 42, 0.98);
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: white;
            text-decoration: none;
            display: flex;
            align-items: center;
            font-family: 'Courier New', monospace;
            background: linear-gradient(45deg, #fff, #a5b4fc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            padding: 5px 0;
            position: relative;
        }

        .logo:before {
            content: '>';
            color: #f59e0b;
            margin-right: 5px;
            font-weight: normal;
        }

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

        .nav-links li {
            position: relative;
        }

        .nav-links a {
            color: #cbd5e1;
            text-decoration: none;
            font-weight: 600;
            position: relative;
            padding: 8px 0;
            transition: var(--transition);
            font-size: 0.95rem;
            font-family: 'Courier New', monospace;
        }

        .nav-links a:before {
            content: '// ';
            color: #f59e0b;
            opacity: 0;
            transition: var(--transition);
        }

        .nav-links a:hover:before {
            opacity: 1;
        }

        .nav-links a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--gradient-primary);
            bottom: 0;
            left: 0;
            transition: var(--transition);
            border-radius: 2px;
        }

        .nav-links a:hover {
            color: white;
        }

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

        .language-switcher {
            display: flex;
            gap: 5px;
            margin-left: 2rem;
        }

        .lang-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            padding: 8px 12px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.8rem;
            font-weight: 600;
            transition: var(--transition);
        }

        .lang-btn:hover, .lang-btn.active {
            background: var(--primary);
            border-color: var(--primary);
            transform: translateY(-2px);
        }

        .hamburger {
            display: none;
            cursor: pointer;
            flex-direction: column;
            width: 30px;
            height: 21px;
            justify-content: space-between;
        }

        .hamburger span {
            display: block;
            height: 3px;
            width: 100%;
            background: white;
            border-radius: 3px;
            transition: var(--transition);
        }

        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            background: var(--gradient-hero);
            padding-top: 80px;
        }

        .hero-content {
            max-width: 800px;
            z-index: 2;
            position: relative;
            color: white;
        }

        .hero-content h1 {
            font-size: 4rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            background: linear-gradient(45deg, #fff, #a5b4fc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: fadeInUp 1s ease;
        }

        .hero-content .subtitle {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #cbd5e1;
            animation: fadeInUp 1s ease 0.2s both;
        }

        .hero-content p {
            font-size: 1.2rem;
            margin-bottom: 2.5rem;
            color: #94a3b8;
            line-height: 1.8;
            animation: fadeInUp 1s ease 0.4s both;
        }

        .hero-btns {
            display: flex;
            gap: 20px;
            animation: fadeInUp 1s ease 0.6s both;
        }

        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 1;
        }

        .floating-element {
            position: absolute;
            background: rgba(99, 102, 241, 0.1);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        .floating-element:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }

        .floating-element:nth-child(2) {
            width: 120px;
            height: 120px;
            top: 60%;
            left: 80%;
            animation-delay: 2s;
        }

        .floating-element:nth-child(3) {
            width: 60px;
            height: 60px;
            top: 80%;
            left: 20%;
            animation-delay: 4s;
        }

        .code-background {
            position: absolute;
            bottom: 50px;
            right: 0;
            width: 50%;
            height: auto;
            background: rgba(30, 41, 59, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1;
            padding: 20px;
        }

        .code-container {
            background: rgba(15, 23, 42, 0.9);
            padding: 25px;
            border-radius: 15px;
            border: 1px solid rgba(99, 102, 241, 0.3);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            max-width: 450px;
            width: 100%;
        }

        .code-line {
            color: #94a3b8;
            font-family: 'Courier New', monospace;
            margin-bottom: 8px;
            font-size: 0.9rem;
            opacity: 0;
            transform: translateX(-20px);
        }

        .code-keyword {
            color: #f59e0b;
        }

        .code-function {
            color: #6366f1;
        }

        .code-string {
            color: #10b981;
        }

        .code-comment {
            color: #64748b;
        }

        .about {
            background: white;
            position: relative;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .about-text h2 {
            margin-bottom: 1.5rem;
        }

        .about-text p {
            margin-bottom: 1.5rem;
            color: var(--text-light);
        }

        .about-stats {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 2rem;
        }

        .stat {
            text-align: center;
            padding: 25px 20px;
            border-radius: 12px;
            background: white;
            box-shadow: var(--shadow);
            transition: var(--transition);
            border: 1px solid var(--border);
            position: relative;
            overflow: hidden;
        }

        .stat:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--gradient);
        }

        .stat:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .stat i {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .stat h3 {
            font-size: 2rem;
            color: var(--dark);
            margin-bottom: 5px;
        }

        .stat p {
            color: var(--text-light);
            font-size: 0.9rem;
        }

        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .skill-category {
            padding: 30px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: var(--transition);
        }

        .skill-category:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.1);
        }

        .skill-category h3 {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            color: white;
        }

        .skill-category h3 i {
            margin-right: 10px;
            color: var(--secondary);
        }

        .skill-list {
            list-style: none;
        }

        .skill-list li {
            margin-bottom: 12px;
            display: flex;
            align-items: center;
        }

        .skill-list li:before {
            content: '▹';
            color: var(--primary);
            margin-right: 10px;
            font-size: 1.1rem;
        }

        .experience {
            background: white;
            position: relative;
        }

        .experience-container {
            position: relative;
            max-width: 1000px;
            margin: 50px auto 0;
        }

        .experience-timeline {
            position: relative;
        }

        .experience-timeline:before {
            content: '';
            position: absolute;
            left: 30px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: var(--gradient);
        }

        .experience-item {
            position: relative;
            margin-bottom: 50px;
            padding-left: 80px;
            cursor: pointer;
        }

        .experience-icon {
            position: absolute;
            left: 0;
            top: 0;
            width: 60px;
            height: 60px;
            background: var(--gradient-primary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            box-shadow: var(--shadow);
            z-index: 2;
            transition: var(--transition);
        }

        .experience-item:hover .experience-icon {
            transform: scale(1.1);
            box-shadow: var(--shadow-lg);
        }

        .experience-content {
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
            transition: var(--transition);
            position: relative;
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 30px;
            align-items: start;
        }

        .experience-content:before {
            content: '';
            position: absolute;
            left: -10px;
            top: 20px;
            width: 20px;
            height: 20px;
            background: white;
            transform: rotate(45deg);
            border-left: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
        }

        .experience-content:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .experience-header {
            display: flex;
            justify-content: between;
            align-items: flex-start;
            margin-bottom: 15px;
            flex-wrap: wrap;
            gap: 15px;
        }

        .experience-title {
            flex: 1;
            min-width: 300px;
        }

        .experience-title h3 {
            color: var(--dark);
            margin-bottom: 5px;
            font-size: 1.3rem;
        }

        .experience-title h4 {
            color: var(--primary);
            font-weight: 500;
            margin-bottom: 0;
        }

        .experience-date {
            background: rgba(99, 102, 241, 0.1);
            color: var(--primary);
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .experience-preview {
            width: 100%;
            height: 150px;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
        }

        .experience-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .experience-item:hover .experience-preview img {
            transform: scale(1.05);
        }

        .experience-description {
            color: var(--text-light);
            margin-bottom: 20px;
            line-height: 1.7;
            grid-column: 1 / -1;
        }

        .experience-skills {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            grid-column: 1 / -1;
        }

        .skill-tag {
            background: rgba(99, 102, 241, 0.1);
            color: var(--primary);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            transition: var(--transition);
        }

        .skill-tag:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
        }

        .portfolio-filters {
            display: flex;
            justify-content: center;
            margin-bottom: 40px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .filter-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 10px 22px;
            cursor: pointer;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.8);
            transition: var(--transition);
            border-radius: 20px;
            font-weight: 500;
        }

        .filter-btn.active, .filter-btn:hover {
            color: white;
            background: var(--primary);
            border-color: var(--primary);
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
        }

        .portfolio-item {
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            cursor: pointer;
        }

        .portfolio-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            background: rgba(255, 255, 255, 0.1);
        }

        .portfolio-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: var(--transition);
        }

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

        .portfolio-info {
            padding: 25px;
        }

        .portfolio-info h3 {
            color: white;
            margin-bottom: 10px;
        }

        .portfolio-info p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 2000;
            overflow-y: auto;
            padding: 20px;
        }

        .modal-content {
            background: white;
            border-radius: 12px;
            max-width: 1000px;
            margin: 50px auto;
            display: flex;
            overflow: hidden;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            animation: modalFadeIn 0.5s ease;
        }

        .modal-image {
            flex: 1;
            max-width: 50%;
        }

        .modal-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .modal-info {
            flex: 1;
            padding: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .modal-info h2 {
            margin-bottom: 15px;
            color: var(--dark);
        }

        .modal-info p {
            color: var(--text-light);
            margin-bottom: 20px;
            line-height: 1.7;
        }

        .modal-technologies {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
        }

        .modal-technology {
            background: rgba(99, 102, 241, 0.1);
            color: var(--primary);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }

        .modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.2rem;
            transition: var(--transition);
        }

        .modal-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }

        .contact {
            background: white;
        }

        .contact h2 {
            text-align: center;
        }

        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            margin-top: 50px;
        }

        .contact-info h3 {
            color: var(--dark);
            margin-bottom: 20px;
        }

        .contact-info p {
            color: var(--text-light);
            margin-bottom: 30px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
        }

        .contact-item i {
            font-size: 1.3rem;
            color: var(--primary);
            margin-right: 15px;
            width: 50px;
            height: 50px;
            background: rgba(99, 102, 241, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .contact-form {
            background: white;
            padding: 40px;
            border-radius: 12px;
            box-shadow: var(--shadow);
            border: 1px solid var(--border);
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-control {
            width: 100%;
            padding: 14px 18px;
            border: 1px solid var(--border);
            border-radius: 8px;
            font-size: 1rem;
            transition: var(--transition);
            font-family: 'Inter', sans-serif;
        }

        .form-control:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }

        footer {
            background: var(--gradient-section);
            color: white;
            padding: 60px 0 30px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-about h3 {
            color: white;
            margin-bottom: 20px;
        }

        .footer-about p {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 20px;
        }

        .footer-links h4, .footer-contact h4 {
            color: white;
            margin-bottom: 20px;
            position: relative;
        }

        .footer-links h4:after, .footer-contact h4:after {
            content: '';
            position: absolute;
            width: 40px;
            height: 3px;
            background: var(--primary);
            bottom: -8px;
            left: 0;
            border-radius: 10px;
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--primary-light);
            padding-left: 5px;
        }

        .footer-contact p {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }

        .footer-contact i {
            margin-right: 10px;
            color: var(--primary);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border-radius: 50%;
            text-decoration: none;
            transition: var(--transition);
        }

        .social-links a:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float {
            0% {
                transform: translateY(0px) rotate(0deg);
            }
            50% {
                transform: translateY(-20px) rotate(180deg);
            }
            100% {
                transform: translateY(0px) rotate(360deg);
            }
        }

        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--gradient-primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            opacity: 0;
            visibility: hidden;
            z-index: 999;
            box-shadow: var(--shadow);
        }

        .scroll-top.active {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

   @media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .about-content, .contact-container {
        grid-template-columns: 1fr;
    }
    
    /* HERO BÖLÜMÜ MOBİL DÜZENLEMESİ */
    .hero {
        display: block !important;
        padding-bottom: 50px;
    }
    
    .hero .container {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .hero-content {
        order: 1 !important;
        max-width: 100% !important;
        margin-bottom: 40px !important;
    }
    
    .code-background {
        order: 2 !important;
        position: relative !important;
        width: 100% !important;
        bottom: 0 !important;
        margin-top: 0 !important;
        background: transparent !important;
        padding: 0 !important;
    }
    
    .code-container {
        max-width: 100%;
        margin: 0 auto;
    }
    /* HERO BÖLÜMÜ MOBİL DÜZENLEMESİ SONU */
    
    .modal-content {
        flex-direction: column;
        max-width: 90%;
    }
    
    .modal-image {
        max-width: 100%;
        max-height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .experience-timeline:before {
        left: 25px;
    }

    .experience-item {
        padding-left: 70px;
    }

    .experience-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

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

    .experience-content {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .language-switcher {
        margin-left: 1rem;
    }
}

 @media (max-width: 768px) {
    .nav-links {
        position: fixed;
        background: rgba(15, 23, 42, 0.98);
        height: 100vh;
        width: 100%;
        top: 0;
        left: -100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 999;
        box-shadow: var(--shadow-lg);
        backdrop-filter: blur(20px);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: flex;
        z-index: 1000;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
    }

    .experience-header {
        flex-direction: column;
    }

    .experience-title {
        min-width: auto;
    }

    .experience-timeline:before {
        left: 20px;
    }

    .experience-item {
        padding-left: 60px;
    }

    .experience-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .experience-content {
        padding: 20px;
    }

    .portfolio-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .language-switcher {
        margin-left: 0.5rem;
    }
}

 @media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .modal-info {
        padding: 20px;
    }

    .experience-timeline:before {
        display: none;
    }

    .experience-item {
        padding-left: 0;
    }

    .experience-icon {
        position: relative;
        margin-bottom: 15px;
    }

    .code-container {
        padding: 20px;
    }

    .code-line {
        font-size: 0.8rem;
    }

    .hero {
        padding-top: 100px; /* 70px yerine 100px */
    }
}


/* Mobil düzen için yardımcı sınıf */
.hero.mobile-layout {
    display: block !important;
    padding-bottom: 50px;
}

.hero.mobile-layout .container {
    display: flex !important;
    flex-direction: column !important;
}

.hero.mobile-layout .hero-content {
    order: 1 !important;
    max-width: 100% !important;
    margin-bottom: 40px !important;
}

.hero.mobile-layout .code-background {
    order: 2 !important;
    position: relative !important;
    width: 100% !important;
    bottom: 0 !important;
    margin-top: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Geliştirici modu için - sorunu tespit etmek için */
.debug-layout::before {
    content: 'Mobil Düzen Aktif';
    position: fixed;
    top: 10px;
    left: 10px;
    background: red;
    color: white;
    padding: 5px;
    z-index: 9999;
    font-size: 12px;
}

@media (max-width: 992px) {
    .debug-layout::before {
        content: 'Mobil Düzen - 992px altı';
        background: green;
    }
}