html {
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #12181b;
    --card-bg: #1a2226;
    --primary-orange: #ff8441;
    --accent-cyan: #00e5ff;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: rgba(18, 24, 27, 0.95);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #2a353b;
}

header .container {
    max-width: 95%; /* Logoyu ve menüyü kenarlara daha çok yaklaştırır */
    padding: 0 40px; /* Tam yapışmaması için güvenli alan bırakır */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 75px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    position: relative;
    color: var(--text-white);
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-cyan);
}


nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-cyan);
    transition: width 0.3s ease; /* Çizginin uzama hızı */
}

/* Üstüne gelince çizginin uzaması */
nav ul li a:hover::after {
    width: 100%;
}


 
/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('hero-manager.png') center/cover; /* Tasarımdaki arka plan */
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--accent-cyan);
    margin-bottom: 15px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-orange);
    color: #000;
    padding: 12px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
    background: #ff9a63;
}

/* Projeler & Kart Tasarımı */
.projects {
    padding: 60px 0;
}

.projects h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.game-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    border: 1px solid #2a353b;
    position: relative;
}

.game-card::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 6px;
    background: var(--accent-cyan);
}

.game-image {
    flex: 1;
    max-width: 40%;
}

.game-image img {
    width: 100%;
    display: block;
}

.game-info {
    flex: 1;
    padding: 40px;
}

.game-info h3 {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.subtitle {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.badge {
    background: var(--primary-orange);
    color: #000;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-gray);
    border-top: 1px solid #222;
}

/* İletişim Bölümü Tasarımı */
.contact-section {
    padding: 80px 0;
    background-color: #161b22; /* Projeler kartıyla uyumlu koyu gri */
}

.contact-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 50px;
    font-family: 'Orbitron', sans-serif;
}

.contact-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap; /* Mobil uyumluluk için */
}

.contact-card {
    background: var(--bg-dark);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    border: 1px solid #2a353b;
    transition: 0.3s;
}

.contact-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: var(--primary-orange);
    margin-bottom: 10px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.contact-card p, .contact-card a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.1rem;
    word-break: break-word;
}

.contact-card a:hover {
    color: var(--accent-cyan);
}

/* Mobil için Düzenleme */
@media (max-width: 768px) {
    .contact-grid {
        flex-direction: column;
    }
}