@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: #080808;
    --second-bg-color: #131313;
    --text-color: #fff;
    --main-color: #39ff14; /* Neon Yeşil */
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: rgba(8, 8, 8, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 700;
    cursor: default;
    text-shadow: 0 0 10px var(--main-color);
}

.navbar a {
    font-size: 1.7rem;
    color: var(--text-color);
    margin-left: 4rem;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
    text-shadow: 0 0 10px var(--main-color);
}

#lang-btn {
    margin-left: 3rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 2px solid var(--main-color);
    color: var(--text-color);
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: .3s;
}

#lang-btn:hover {
    background: var(--main-color);
    color: var(--bg-color);
    box-shadow: 0 0 10px var(--main-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

/* Genel Section Ayarı - Boşluklar Azaltıldı */
section {
    min-height: auto; /* İçerik kadar yükseklik */
    padding: 8rem 9% 4rem; /* Üst ve alt boşluklar kısıldı */
}

/* Home Section - Ekranı Kaplasın */
.home {
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-content {
    max-width: 60rem;
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 2rem;
}

span.multiple-text {
    color: var(--main-color);
    text-shadow: 0 0 10px var(--main-color);
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-content p {
    font-size: 1.6rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 20px var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 10px var(--main-color);
    font-size: 1.6rem;
    color: var(--second-bg-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
}

.btn:hover {
    box-shadow: none;
}

.home-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.glowing-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 5px solid var(--main-color);
    box-shadow: 0 0 50px var(--main-color), inset 0 0 50px var(--main-color);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 4s ease-in-out infinite;
}

.glowing-circle i {
    font-size: 150px;
    color: var(--main-color);
    text-shadow: 0 0 20px var(--main-color);
}

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

/* About Section */
.about {
    background: var(--second-bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-bottom: 6rem;
}

.heading {
    text-align: center;
    font-size: 4.5rem;
    margin-bottom: 2rem;
}

.heading span {
    color: var(--main-color);
    text-shadow: 0 0 10px var(--main-color);
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 2.6rem;
    margin-bottom: 2rem;
    color: var(--main-color);
}

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
    line-height: 1.6;
}

/* Skills Section */
.skills {
    background: var(--bg-color);
    padding-bottom: 6rem;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-box {
    background: var(--second-bg-color);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(57, 255, 20, 0.1);
    transition: .4s;
}

.skill-box:hover {
    border-color: var(--main-color);
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.skill-box i {
    font-size: 4rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.skill-box span {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
}

/* Portfolio Section */
.portfolio {
    background: var(--second-bg-color);
    padding-bottom: 8rem;
}

.portfolio-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.portfolio-box {
    background: var(--bg-color);
    border-radius: 2rem;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: .5s ease;
}

.portfolio-box:hover {
    border-color: var(--main-color);
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.2);
}

.portfolio-box i {
    font-size: 5rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.portfolio-box h3 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.portfolio-box p {
    font-size: 1.4rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.tech-stack {
    font-size: 1.2rem;
    color: var(--main-color);
    font-weight: bold;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: var(--bg-color);
}

.footer-text p {
    font-size: 1.6rem;
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-color);
    border-radius: .8rem;
    transition: .5s ease;
}

.footer-iconTop a:hover {
    box-shadow: 0 0 10px var(--main-color);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--second-bg-color);
}

/* Responsive */
@media (max-width: 1200px) {
    html { font-size: 55%; }
}

@media (max-width: 991px) {
    .header { padding: 2rem 3%; }
    section { padding: 8rem 3% 4rem; }
    .portfolio-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    #menu-icon { display: block; cursor: pointer; }
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0,0,0,.2);
        display: none;
        flex-direction: column;
    }
    .navbar.active { display: flex; }
    .navbar a { display: block; font-size: 2rem; margin: 3rem 0; }
    .home { flex-direction: column; }
    .home-img { margin-top: 4rem; }
    .portfolio-container { grid-template-columns: 1fr; }
}