/* Font imports */
@font-face {
    font-family: 'Hourglass';
    src: url('fonts/Hourglass of Shine.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    padding: 20px 40px;
    position: relative;
}

/* Navigation */
nav {
    display: flex;
    justify-content: flex-end;
}

.resume {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 25px;
    line-height: 1.21em;
    text-transform: capitalize;
}

/* Main content */
main {
    margin-top: 60px;
}

h1 {
    font-family: 'Hourglass', cursive;
    font-weight: normal;
    font-size: 120px;
    line-height: 1.1em;
    max-width: 100%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.intro {
    margin-top: 20px;
    font-size: 32px;
    line-height: 1.5em;
    max-width: 1000px;
}

.footnote {
    position: absolute;
    bottom: 73px;
    font-size: 20px;
    line-height: 1.21em;
}

.footnote p {
    display: inline-block;
}

footer {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.225em;
    text-transform: uppercase;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer p {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

footer p:hover {
    opacity: 1;
}

/* Social Links */
.social-links {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link {
    display: flex;
    align-items: center;
    padding: 16px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 28px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-text {
    margin-left: 8px;
    font-size: 16px;
    display: none;
}

.social-link:hover .social-text {
    display: inline-block;
}

/* Responsive styles */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    main {
        margin-top: 40px;
    }

    h1 {
        font-size: 64px;
        margin-bottom: 25px;
    }
    
    .intro {
        font-size: 22px;
        max-width: 600px;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        padding: 14px;
    }

    .social-link i {
        font-size: 24px;
        width: 24px;
        height: 24px;
    }
}

/* Çakışma durumunda ortalama düzeni */
.centered-layout .social-links {
    bottom: 70px;
    right: 50%;
    transform: translateX(50%);
    gap: 8px;
    justify-content: center;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.centered-layout footer {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}

@media (max-width: 480px) {
    body {
        padding: 15px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    main {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0;
        padding: 20px 0;
    }

    h1 {
        font-size: 11vw;
        margin-bottom: 4vh;
        line-height: 1em;
        text-align: center;
    }
    
    .intro {
        font-size: 4.5vw;
        max-width: 100%;
        margin: 0;
        padding: 0 10px;
        text-align: center;
        line-height: 1.4;
    }

    /* Mobilde sosyal medya ve copyright düzeni */
    .social-links {
        bottom: 60px;
        right: 50%;
        transform: translateX(50%);
        gap: 8px;
        justify-content: center;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .social-link {
        padding: 10px;
    }

    .social-link i {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }

    footer {
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        text-align: center;
    }

    footer p {
        font-size: 12px;
        display: inline-block;
    }
}

/* Çok küçük ekranlar için ek düzenlemeler */
@media (max-width: 360px) {
    body {
        padding: 10px;
    }

    main {
        padding: 15px 0;
    }

    h1 {
        font-size: 10vw;
        margin-bottom: 3vh;
    }

    .intro {
        font-size: 4.2vw;
        line-height: 1.3;
        padding: 0 8px;
    }

    .social-links {
        bottom: 50px;
        gap: 6px;
    }

    .social-link {
        padding: 8px;
    }

    .social-link i {
        font-size: 16px;
        width: 16px;
        height: 16px;
    }

    footer {
        bottom: 10px;
    }

    footer p {
        font-size: 11px;
    }
}