:root {
    --primary-color: #000000;     /* Siyah yazılar */
    --secondary-color: #888888;      /* Altın sarısı vurgular */
    --highlight-color: #FFFFFF; 
    --hover-color: #007BFF;
    --footer-bg: #0E0E0E; /* Footer arka plan rengi */
    --text-white: #FFFFFF; /* Beyaz yazılar */
    --text-gray: #888888; /* Gri yazılar */
    --nav-bg: #ffffff;
    --text-primary: #333333;
    --text-hover: #666666;
    --panel-bg: #333333;      /* Gray background for sliding panel */
    --panel-text: #ffffff;

}


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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000000; /* Siyah zemin */
    color: #FFFFFF; /* Beyaz yazılar */
    overflow-x: hidden; /* Yatay taşmaları gizle */
    margin: 0;
}
/* Header - Ana Stiller */

/* Navbar Container */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    position: relative;
}

/* Site Title */
.site-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--highlight-color);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--highlight-color);
    transition: color 0.3s ease;
}

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

/* Hamburger Button */
.hamburger {
    display: none;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem;
    z-index: 1000; /* Ensure button stays above panel */
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;

    }

    /* Sliding Panel Styles */
    .nav-links {
        display: block;
        position: fixed;
        top: 0;
        right: -75%; /* Start off-screen */
        width: 75%;
        height: 100vh;
        background-color: var(--panel-bg);
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        right: 0; /* Slide in from right */
    }

    /* Panel Link Styles */
    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        color: var(--panel-text);
        font-size: 1.1rem;
        display: block;
    }

    /* Overlay when menu is open */
    .nav-links::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }

    .nav-links.active::before {
        opacity: 1;
        visibility: visible;
    }

    /* Hamburger Animation */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--panel-text); /* White when menu is open */
    }

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

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--panel-text); /* White when menu is open */
    }
}
/* Hero Section */
#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Tam ekran yüksekliği */
    padding: clamp(60px, 15vh, 217px) 20px; /* Responsive padding */
    box-sizing: border-box;
}

#hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 8vw, 113.27px);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 auto 20px;
    max-width: 90%; /* Çok geniş ekranlarda kontrolü sağlar */
    text-align: center;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 2vw, 20px);
    margin-top: clamp(25px, 4vw, 50px);
    flex-wrap: wrap; /* Gerektiğinde sarmalama */
    padding: 0 20px;
}

.hero-buttons .btn {
    text-decoration: none;
    font-size: clamp(16px, 2vw, 19.01px);
    font-weight: 600;
    color: var(--highlight-color);
    padding: clamp(12px, 2vw, 15px) clamp(20px, 3vw, 30px);
    border: 2px solid var(--highlight-color);
    border-radius: 39.61px;
    transition: all 0.3s ease-in-out;
    min-width: min(120px, 90vw);
    text-align: center;
}

/* Mobil için özel tasarım (768px ve altı) */
@media (max-width: 768px) {
    #hero {
        min-height: auto; /* Tam ekran yüksekliği yerine içeriğe göre */
        padding: 40px 20px;
        justify-content: flex-start;
    }

    .hero-content {
        width: 100%;
        padding: 20px;
    }

    #hero h2 {
        font-size: 32px; /* Sabit font boyutu */
        text-align: center; /* Sola yaslı */
        margin-bottom: 30px;
        max-width: 100%;
    }

    #hero h2 br {
        display: none; /* Satır sonlarını kaldır */
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        margin-top: 30px;
        padding: 0;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 15px 20px;
        font-size: 16px;
        border-radius: 25px;
    }
}

/* Orta boyutlu ekranlar için ara tasarım (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    #hero {
        padding: 80px 40px;
    }
    
    #hero h2 {
        font-size: 60px;
    }
}

    /* About Section */
    @media screen and (min-width: 1024px) { /* 1024px ve üzeri cihazlar (masaüstü, büyük tablet) için */

        .desktop-content {
            display: block; /* Masaüstü cihazlarda öğe görünür */
        }
        .mobile-content{
            display: none; /* Varsayılan olarak gizli */
        }

        .desktop-content {
            width: 90%; /* Ekranın %90'ı kadar genişlik */
            max-width: 1378px; /* Maksimum genişlik */
            height: auto; /* Dinamik yükseklik */
            margin: 50px auto;
            display: flex;
            flex-wrap: wrap; /* İçeriğin taşmasını engelle */
            gap: 50px;
        }

        /* About Content: Sol ve Sağ Kısımlar */
        .desktop-content {
            display: flex;
            flex-wrap: wrap; /* Mobile uyumlu için alt alta gelmelerini sağlar */
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        /* Sol Kısım: Yazılar */
        .about-text {
            width: 100%; /* Mobilde tam genişlik */
            max-width: 770px; /* Maksimum genişlik */
            font-size: 28px;
            line-height: 1.8;
        }

        .about-text h2 {
            font-size: xx-large;
            font-weight: 600;
            margin-bottom: 20px;
        }

        .about-text p {
            margin-bottom: 15px;
            color: #888888;
        }

        /* About Buttons */
        .about-buttons {
            margin-top: 20px;
            display: flex;
            gap: 15px;
            align-items: center;
            color: #888888;
        }

        .about-buttons .btn {
            padding: 10px 20px;
            border: 2px solid #FFFFFF;
            border-radius: 25px;
            text-decoration: none;
            color: #FFFFFF;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .about-buttons img {
            width: 39px; /* Görsel boyutları */
            height: 38px;
            object-fit: cover; /* Görüntüyü doğru şekilde sığdırır */
            transition: transform 0.3s ease; /* Hover için büyütme efekti */
        }

        .about-buttons img:hover {
            transform: scale(1.1); /* Hover durumunda hafif büyütme */
        }

        .about-buttons .btn:hover {
            background-color: #FFFFFF;
            color: #000000;
        }

        /* Sağ Kısım: Fotoğraf */
        .about-photo {
            width: 100%; /* Ekranın %100'ü kadar genişlik */
            max-width: 542px; /* Maksimum genişlik */
            height: auto;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            margin-top: 20px; /* Fotoğrafın üst kısmına boşluk */
        }

        .about-photo img {
            width: 100%; /* Fotoğrafın genişliği */
            height: 100%; /* Fotoğrafın yüksekliği */
            object-fit: cover; /* Fotoğrafı doğru şekilde sığdır */
            border-radius: 10px;
        }
    }

    /* Mobil ekranlar için (768px ve altı) */
    @media screen and (max-width: 768px) {
        .mobile-content {
            display: block; /* Mobilde göster */
        }

        .desktop-content {
            display: none; /* Mobilde gizle */
        }

        /* Mobil stil kodları */
        .container {
            padding: 20px;
            position: relative;
        }

        .content-wrapper {
            display: block;
            position: relative;
        }

        .image {
            float: left;
            width: 35%;
            max-width: 200px;
            margin-right: 20px;
            margin-bottom: 20px;
        }

        .image img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 8px;
        }

        .text-content {
            overflow: visible;
        }

        .text-content p {
            margin-bottom: 15px;
            line-height: 1.6;
            font-size: 16px;
        }

        .text-content::after {
            content: '';
            display: table;
            clear: both;
        }
                /* About Buttons */
        .about-buttons {
            margin-top: 20px;
            display: flex;
            gap: 15px;
            align-items: center;
            color: #888888;
        }

        .about-buttons .btn {
            padding: 10px 20px;
            border: 2px solid #FFFFFF;
            border-radius: 25px;
            text-decoration: none;
            color: #FFFFFF;
            font-size: 16px;
            transition: all 0.3s ease;
        }

        .about-buttons img {
            width: 39px; /* Görsel boyutları */
            height: 38px;
            object-fit: cover; /* Görüntüyü doğru şekilde sığdırır */
            transition: transform 0.3s ease; /* Hover için büyütme efekti */
        }

        .about-buttons img:hover {
            transform: scale(1.1); /* Hover durumunda hafif büyütme */
        }

        .about-buttons .btn:hover {
            background-color: #FFFFFF;
            color: #000000;
        }
            /* About Buttons */
            .about-buttons {
                margin-top: 20px;
                display: flex;
                gap: 15px;
                align-items: left;
                color: #888888;
            }
    
            .about-buttons .btn {
                padding: 10px 20px;
                border: 2px solid #FFFFFF;
                border-radius: 25px;
                text-decoration: none;
                color: #FFFFFF;
                font-size: 16px;
                transition: all 0.3s ease;
            }
    
            .about-buttons img {
                width: 39px; /* Görsel boyutları */
                height: 38px;
                object-fit: cover; /* Görüntüyü doğru şekilde sığdırır */
                transition: transform 0.3s ease; /* Hover için büyütme efekti */
            }
    
            .about-buttons img:hover {
                transform: scale(1.1); /* Hover durumunda hafif büyütme */
            }
    
            .about-buttons .btn:hover {
                background-color: #FFFFFF;
                color: #000000;
            }    
    }
    



/* Journey Cards Container */
.journey-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    text-align: center;
}
.academic-journey .section-title {
    text-align: center; /* Başlık metnini yatayda ortalar */
}

/* Card Container */
.journey-card {
    perspective: 1000px;
    height: 600px;
    cursor: pointer;
    text-align: center;
}

/* Card Inner Container */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Flip Animation */
.journey-card.flipped .card-inner {
    transform: rotateY(180deg);
}

/* Card Faces Common Styles */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Front Face */
.card-front {
    background-color: rgb(0, 0, 0);
}

.card-front img {
    width: 100%;
    height: 80%;
    object-fit: cover;
}

.card-text {
    padding: 1rem;
}

.card-text p {
    color: var(--highlight-color);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.card-text h3 {
    color: var(--highlight-color);
    margin: 0;
}

/* Back Face */
.card-back {
    background-color: var(--panel-bg);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}


.card-back p {
    color: var(--highlight-color);
    line-height: 1.6;
}

/* Hover Effect */
.journey-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Media Query for Mobile */
@media (max-width: 768px) {
    .journey-cards {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .journey-card {
        height: 400px;
    }
    .card-text p {
        color: var(--highlight-color);
        margin-top: 0.15rem;
        margin-bottom: 0.25rem;
        font-size: medium;
    }
    .card-text h3 {
        color: var(--highlight-color);
        margin: 0;
        font-size: medium;
    }
    .card-back p {
        color: var(--highlight-color);
        line-height: 1.25;
        font-size: small;
    }
}

/* Skills Section */
.skills-section {
    padding: clamp(40px, 5vw, 80px) clamp(20px, 3vw, 27.5px);
    text-align: center;
    width: 100%;
    max-width: 1284px;
    margin: 0 auto;
    color: #FFFFFF;
    box-sizing: border-box;
}

/* Başlık */
.skills-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 47px);
    font-weight: 600;
    color: #888888;
    line-height: 1.5;
    margin-bottom: clamp(10px, 2vw, 20px);
}

.skills-title h2 span {
    color: #FFFFFF;
}

/* Alt Yazılar */
.skills-description p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 2;
    margin-top: clamp(30px, 4vw, 60px);
    margin-bottom: clamp(15px, 2vw, 20px);
    text-align: center;
    color: #FFFFFF;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Tablet Ekranlar */
@media (max-width: 1024px) {
    .skills-section {
        padding: 60px 20px;
    }
}

/* Mobil Ekranlar */
@media (max-width: 768px) {
    .skills-section {
        padding: 40px 15px;
    }

    .skills-description p {
        line-height: 1.8;
        max-width: 100%;
    }
}

.career-section {
    position: relative;
    width: 100%; /* Section genişliği */
    padding: 50px 20px; /* Üstten ve alttan boşluk ekleyin */
    background-color: #000; /* Siyah arka plan */
    color: #fff; /* Beyaz metin */
    text-align: center; /* Metinleri ortala */
    display: flex; /* İçerik için flexbox kullanımı */
    flex-wrap: wrap; /* İçeriğin taşmasını engelle */
    justify-content: space-between; /* Metin ve buton arasında mesafeyi sağla */
    align-items: center; /* Dikey hizalama */
}

.career-content {
    display: flex;
    flex-wrap: wrap; /* İçeriği alt alta alabilir */
    justify-content: space-between; /* Career Text ve Button arası boşluk */
    align-items: center; /* Dikey hizalama */
    width: 100%; /* Tam genişlik */
    margin: 0 auto; /* Ortala */
}

.career-text {
    flex: 1 1 60%; /* Text kısmı %60 genişliğinde */
    text-align: left;
    margin-right: 20px; /* Buton ile metin arasında boşluk */
}

.career-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
}

.career-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #888; /* Gri renk */
}



.contact-btn {
    display: inline-block;
    width: 170px; /* Buton genişliği */
    height: 70px; /* Buton yüksekliği */
    background-color: var(--text-white); /* beyaz arka plan */
    color: var(--primary-color); /* siyah yazı */
    font-family: 'Poppins', sans-serif;
    font-size: 18px; /* Yazı boyutu */
    font-weight: 600;
    text-align: center;
    line-height: 70px; /* Buton içeriğini ortala */
    border-radius: 8px; /* Köşeleri yuvarla */
    text-decoration: none; /* Alt çizgi kaldır */
    transition: background-color 0.3s ease;
    border: none; /* Kenarlık kaldır */
}

.contact-btn:hover {
    background-color: var(--secondary-color); /* Hover durumunda koyu gri */
}

@media (max-width: 768px) {
    .career-section {
        padding: 30px 15px; /* Mobilde padding küçültülür */
    }

    .career-content {
        flex-direction: column; /* İçerik dikey sıralanır */
        align-items: center;
    }

    .career-text {
        width: 100%; /* Metin kısmı tam genişlik */
        text-align: center;
        margin-right: 0; /* Buton ve metin arasındaki mesafe sıfırlanır */
    }

    .career-button {
        width: 100%; /* Buton tam genişlik */
        text-align: center;
        margin-top: 20px; /* Mobilde buton altına boşluk eklenir */
    }


    .contact-btn {
        display: inline-block;
        width: 170px; /* Buton genişliği */
        height: 70px; /* Buton yüksekliği */
        background-color: var(--text-white); /* beyaz arka plan */
        color: var(--primary-color); /* siyah yazı */
        font-family: 'Poppins', sans-serif;
        font-size: 18px; /* Yazı boyutu */
        font-weight: 600;
        text-align: center;
        line-height: 70px; /* Buton içeriğini ortala */
        border-radius: 8px; /* Köşeleri yuvarla */
        text-decoration: none; /* Alt çizgi kaldır */
        transition: background-color 0.3s ease;
        border: none; /* Kenarlık kaldır */
    }

    .contact-btn:hover {
        background-color: var(--secondary-color); /* Hover durumunda koyu gri */
    }
}


/* Footer Genel */
.footer {
    background-color: var(--footer-bg);
    color: var(--text-white);
    display: flex;
    justify-content: space-between; /* Sol, orta ve sağ hizalama */
    align-items: flex-start;
    padding: 20px 50px;
    width: 100%;
}

/* Sol Bölüm: İsim */
.footer-left {
    flex: 1; /* Sol alan genişliğini belirler */
}

.footer-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
}

/* Orta Bölüm: Information */
.footer-center {
    flex: 2; /* Orta alan genişliği */
    text-align: center;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 10px;
}

.footer-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-item {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 5px;
}

/* Sağ Bölüm: Social Media */
.footer-right {
    flex: 1; /* Sağ alan genişliği */
    text-align: right;
}

.footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-link {
    font-size: 15px;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--text-white);
}
/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    .footer {
        flex-direction: column;
        padding: 20px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        flex: none;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-right {
        margin-bottom: 0;
    }

    .footer-name {
        font-size: 18px;
    }

    .footer-title {
        font-size: 16px;
    }

    .info-item,
    .social-link {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 15px;
    }

    .footer-name {
        font-size: 16px;
    }

    .footer-title {
        font-size: 15px;
    }

    .info-item,
    .social-link {
        font-size: 13px;
    }
}
/* Scroll Button */
.scroll-button {
    position: fixed;
    bottom: 20px; /* Ekranın altından 20px yukarıda */
    left: 50%; /* Ekranın ortasında */
    transform: translateX(-50%); /* Tam ortalama */
    width: 50px; /* Buton genişliği */
    height: 50px; /* Buton yüksekliği */
    background-color: var(--secondary-color); /* Buton arka plan rengi */
    color: #FFFFFF; /* Yazı rengi */
    border: none; /* Kenar çizgisi yok */
    border-radius: 50%; /* Yuvarlak şekil */
    font-size: 24px; /* Ok boyutu */
    text-align: center; /* Yazıyı ortala */
    line-height: 50px; /* Yazıyı dikey ortala */
    cursor: pointer; /* Tıklanabilir işaretçi */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Hafif gölge efekti */
    display: none; /* Başlangıçta gizlenmiş */
    z-index: 1000; /* Diğer öğelerin üstünde */
    opacity: 0; /* Başlangıçta görünmez */
    transition: opacity 0.5s ease-in-out; /* Yavaşça görünürlük değişimi */
}

/* Scroll Button Görünürlük */
.scroll-button.show {
    display: block;
    opacity: 1; /* Görünür yap */
}

/* Custom Scrollbar for Webkit Browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000000;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
    border: 3px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Custom Scrollbar for Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #313030 #000000;
}

/* Hide scrollbar for mobile devices while maintaining functionality */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 0;
        background: transparent;
    }
    
    * {
        scrollbar-width: none;
    }
}