/* Temel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    height: 100vh;
    margin: 0;
}

.footer {
    text-align: center;
}

header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    display: block;
    letter-spacing: 1px;
}

.logo span {
    color: #3498db;
    font-size: 0.9rem;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #3498db;
}

section {
    padding: 100px 8%;
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    width: 50%;
    height: 3px;
    background: #3498db;
    position: absolute;
    bottom: -10px;
    left: 0;
}

#anasayfa {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/1.png');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    transform: scale(1.05);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: bold;
    animation: ultraSoftPulse 4s ease-in-out infinite;
}

@keyframes ultraSoftPulse {
    0%, 100% {
        color: #2c3e50;
        text-shadow: 0 0 0px rgba(255, 0, 0, 0);
    }
    50% {
        color: #e74c3c;
        text-shadow: 0 0 8px rgba(231, 76, 60, 0.3);
    }
}

.hero-content p {
    font-size: 1.2rem;
    color: #7f8c8d;
}

.btn-incele {
    display: inline-block;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
    margin-top: 40px;
}

.project-card {
    text-decoration: none;
    color: #333;
    text-align: center;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.project-info h3 {
    margin-top: 15px;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 900px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .project-grid {
        grid-template-columns: 1fr;
    }
}

.project-detail-container {
    max-width: 1100px;
    margin: 120px auto 50px;
    padding: 0 20px;
}

.project-header {
    text-align: center;
    margin-bottom: 40px;
}

.project-header h1 {
    font-size: 2.5rem;
    color: #333;
}

.project-category {
    color: #888;
    font-weight: 300;
}

.project-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.project-main-image {
    flex: 2;
}

.project-main-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.project-description {
    flex: 1;
    background: #fdfdfd;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #eee;
}

.project-description h2 {
    margin-bottom: 15px;
}

.tools-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.tools-list li {
    background: #eee;
    display: inline-block;
    padding: 5px 15px;
    margin: 5px 5px 5px 0;
    border-radius: 20px;
    font-size: 0.9rem;
}

.btn-back {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.btn-back:hover {
    color: #000;
}

@media (max-width: 800px) {
    .project-content {
        flex-direction: column;
    }
}


.social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-social {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.2s, opacity 0.2s;
}

.btn-social:hover {
    transform: translateY(-3px);
    background: #111;
    color: #fff;
}

.btn-linkedin {
    background: #0077b5;
    color: #fff;
}

.btn-behance {
    background: #1769ff;
    color: #fff;
}

.btn-github {
    background: #0077b5;
    color: #fff;
}

.btn-mail {
    background: #0077b5;
    color: #fff;
}


.btn-visit {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.3s, transform 0.2s;
}

.btn-visit:hover {
    background: #111;
    transform: translateY(-3px);
}


/* menu kodları 

/* Masaüstünde Hamburgeri Gizle */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #333;
    transition: 0.3s;
    border-radius: 2px;
}

/* Mobil Görünüm (768px ve altı) */
@media (max-width: 768px) {
    .hamburger { display: flex; }

    header nav {
        position: fixed;
        right: -100%;
        top: 0;
        width: 75%;
        height: 100vh;
        background: #fff;
        z-index: 1000;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex !important; /* Gizli olsa bile yapıyı bozma */
        flex-direction: column;
        justify-content: center;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    header nav.active { right: 0; }

    header nav ul {
        flex-direction: column;
        text-align: center;
        padding: 0;
    }

    header nav ul li {
        margin: 20px 0;
        margin-left: 0;
    }

    header nav ul li a { font-size: 1.4rem; }

    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        display: none;
        z-index: 999;
        backdrop-filter: blur(3px);
    }

    .menu-overlay.active { display: block; }

    /* Hamburger Animasyonu */
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}