:root{
    --c1: #021526;
    --c2: #03346E;
    --c3: #6EACDA;
    --c4: #a89310;
}

html {
    scroll-behavior: smooth; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
}

body {
    background-color: #f0f0f0;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #000000;
    color: var(--c2);
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 2rem;
    color: white;
    font-weight: 100;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: var(--c4);
    text-decoration: none;
    font-weight: 100;
    font-size: 1.3rem;
    white-space: nowrap;
}

nav ul li a:hover {
    color: #21a1f1;
}

.section-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px; 
    background-color: #000; 
    color: #ffffff; 
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    font-size: 1.5rem;
    z-index: 1001;
    transition: opacity 0.3s;
    opacity: 0;
    padding-left: 70px; 
}

section {
    padding: 80px 20px;
}

#about {
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#about .text-content {
    width: 50%; 
}

#about h2 {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    font-weight: 400;
}

#about p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 100;
    text-align: left;
    font-size: 21px;
    margin-top: 20px;
    line-height: 1.6;
}

#about .image-content {
    width: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
}

#about .image-content img {
    max-width: 100%;
    height: auto;
}

#about2{
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#about2 .text-content {
    width: 50%; 
}

#about2 h2 {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    font-weight: 400;
}

#about2 p {
    text-align: left;
    font-size: 26px;
    margin-top: 20px;
    line-height: 1.6;
    font-weight: 100;
}

#about2 .image-content {
    width: 50%; 
    display: flex;
    justify-content: center;
    align-items: center;
}

#about2 .image-content img {
    max-width: 100%;
    height: auto;
}

#projects {
    height: 2000px;
    background: rgb(10,38,71);
    background: linear-gradient(0deg, rgba(10,38,71,1) 40%, rgba(0,0,0,1) 100%);
    display: flex; 
    justify-content: center;
    align-items: center;
}

#projects h2 {
    font-size: 50px;
    line-height: 3;
    font-weight: 500;
    font-family: 'Homemade Apple', cursive;
    color: #2C74B3;
    margin: 0;
}

#contact{
    /* height: 100px; */
    color: #000000;
}

footer {
    /* background-color: #ffffff; */
    color: #000000;
    text-align: center;
    padding: 20px;
    /* margin-top: 10px; */
}

footer p {
    font-size: 0.9rem;
}

/* Custom Cursor - Global */
* {
    cursor: none !important;
}

.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    mix-blend-mode: difference;
    backdrop-filter: blur(2px);
}

.cursor.hover {
    transform: scale(2);
    border-color: rgba(255, 255, 255, 1);
    border-width: 2px;
}

.cursor.click {
    transform: scale(0.8);
    border-width: 3px;
}

header {
    cursor: none;
}

nav ul li a {
    cursor: none;
    transition: all 0.3s ease;
}

a, button, [role="button"] {
    cursor: none;
}

/* Mobil responsive tasarım */
@media (max-width: 768px) {
    /* Mobilde cursor'u kapat */
    * {
        cursor: auto !important;
    }
    
    .cursor {
        display: none !important;
    }

    header {
        flex-direction: column;
        padding: 15px;
        cursor: auto;
    }

    header h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    /* Mobil navbar - scrollbar gizlendi */
    nav {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox için */
        -ms-overflow-style: none; /* Internet Explorer ve Edge için */
    }

    /* Webkit tabanlı tarayıcılar için scrollbar gizleme */
    nav::-webkit-scrollbar {
        display: none;
    }

    nav ul {
        display: flex;
        flex-direction: row;
        width: max-content;
        min-width: 100%;
        padding: 0 10px;
        gap: 0;
    }

    nav ul li {
        flex-shrink: 0;
        margin: 0 10px;
    }

    nav ul li a {
        font-size: 1rem;
        padding: 8px 12px;
        display: block;
        border-radius: 4px;
        transition: background-color 0.3s ease;
        cursor: pointer;
    }

    nav ul li a:hover {
        background-color: rgba(33, 161, 241, 0.1);
    }

    .section-indicator {
        padding-left: 20px;
        font-size: 1.2rem;
    }

    #about, #about2 {
        flex-direction: column;
        padding: 40px 20px;
    }

    /* About section - mobilde resim altta */
    #about .text-content, #about .image-content {
        width: 100%;
        margin-bottom: 30px;
    }

    /* About2 section - mobilde yazı üstte, resim altta */
    #about2 {
        flex-direction: column-reverse;
    }

    #about2 .text-content, #about2 .image-content {
        width: 100%;
        margin-bottom: 30px;
    }

    #about p, #about2 p {
        font-size: 16px;
    }

    #projects h2 {
        font-size: 30px;
        padding: 0 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.3rem;
    }

    nav ul li {
        margin: 0 8px;
    }

    nav ul li a {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    #about p, #about2 p {
        font-size: 14px;
    }

    #projects h2 {
        font-size: 24px;
    }
}
