:root {
    /* Premium Kurumsal Palet: Antrasit ve Titanyum Tonları */
    --bg-dark: #131316; /* Zifiri siyah değil, çok koyu mat gri (Antrasit) */
    --surface: #1a1a1e; /* Kart zeminleri için bir tık açık gri */
    --surface-hover: #27272c; /* Kart hover efekti */
    --accent: #a1a1aa; /* Ana ikon rengi (Gümüş) */
    --accent-glow: #e4e4e7; /* Parlama efektleri (Platin) */
    --text-primary: #ffffff;
    --text-muted: #8d8d95; /* Yazılar için elit, tok bir gri */
    --border-color: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    font-family: 'Outfit', sans-serif; 
    background-color: var(--bg-dark); 
    
    /* Arka planda köşelerden vuran çok hafif beyaz/gümüş ışıklar */
    background-image: 
        radial-gradient(at 0% 0%, rgba(255, 255, 255, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(255, 255, 255, 0.02) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary); 
    line-height: 1.6; 
    overflow-x: hidden; 
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Merkezdeki Aurora Işığı (Artık gümüş/beyaz tonda hafifçe parlıyor) */
.hero-glow {
    position: absolute;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 40%, transparent 70%);
    top: -200px; left: 50%;
    transform: translateX(-50%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

/* --- BÖLÜNMÜŞ NAVBAR (TÜM SAYFALAR İÇİN ORTAK SABİT KOD) --- */
#navbar {
    position: fixed; width: 100%; top: 0;
    padding: 1.5rem 0; z-index: 1000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#navbar.scrolled {
    padding: 1rem 0; background: rgba(19, 19, 22, 0.9); 
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container { 
    display: grid; 
    /* 1fr yerine minmax(0, 1fr) yazıyoruz. Bu sayede yazılar ne kadar uzun olursa olsun sağ ve sol ızgara milimi milimine eşit kalır, logoyu itemez! */
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); 
    align-items: center; 
}

/* --- 3. ALTERNATİF: ÇİZGİ AYRAÇLI --- */
.logo {
    font-size: 1.8rem;
    letter-spacing: 1px;
    justify-self: center; /* SADECE BUNU EKLEDİK: Logoyu kendi alanının tam merkezine kilitler */
}
.logo a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 900;
    display: flex;
    align-items: center;
}
.logo span {
    font-weight: 300;
    color: #ffffff;
    border-left: 2px solid rgba(255, 255, 255, 0.4); /* Araya hafif saydam dikey çizgi */
    padding-left: 8px; /* Çizgiden sonraki boşluk */
    margin-left: 8px;  /* Çizgiden önceki boşluk */
}
/* Linkler arası boşluğu her iki sayfada da sabitledik */
.nav-left, .nav-right { display: flex; gap: 3rem; }
.nav-left { justify-content: flex-end; padding-right: 4rem; }
.nav-right { justify-content: flex-start; padding-left: 4rem; }

/* Font boyutu ve ailesi kesin olarak kilitlendi */
.nav-left a, .nav-right a { 
    font-family: 'Outfit', sans-serif;
    color: #8d8d95; 
    text-decoration: none; 
    font-size: 1.05rem; 
    font-weight: 500; 
    letter-spacing: 0.3px;
    transition: all 0.3s ease; 
}

/* Aktif olan ve üzerine gelinen linkin kalınlığı (700) eşitlendi */
.nav-left a:hover, .nav-right a:hover,
.nav-left a.active, .nav-right a.active { 
    color: #ffffff; 
    font-weight: 700; 
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2); 
}

@media (max-width: 850px) {
    .nav-container { display: flex; justify-content: space-between; }
    .nav-left, .nav-right { display: none; } 
}

/* --- MERKEZ ODAKLI HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
}

.hero-container {
    display: flex;
    justify-content: center; 
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}

/* Kurumsal Rozet */
.modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-glow);
    margin-bottom: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.modern-badge .dot {
    width: 8px; height: 8px;
    background-color: var(--accent-glow);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem); 
    line-height: 1.1; 
    letter-spacing: -0.03em; 
    font-weight: 800; 
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* Titanyum Gradient */
.text-gradient {
    background: linear-gradient(90deg, #71717a, #e4e4e7, #a1a1aa); 
    -webkit-background-clip: text;
    background-clip: text; 
    color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 3.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.hero-btns { display: flex; gap: 1.5rem; justify-content: center; }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 1.1rem 2.2rem;
    border-radius: 12px; 
    font-size: 1rem; font-weight: 600;
    text-decoration: none; transition: all 0.3s ease;
}

.btn-primary { 
    background: var(--text-primary); color: #000000; 
    box-shadow: 0 0 20px rgba(255,255,255,0.05);
}
.btn-primary:hover { background: #d4d4d8; transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,255,255,0.1); }

.btn-secondary { color: #ffffff; border: 1px solid var(--border-color); background: rgba(255,255,255,0.02); }
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255, 255, 255, 0.3); }

/* --- SERVICES SECTION --- */
.services { padding: 8rem 0; }
.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr; 
    gap: 6rem;
    align-items: flex-start;
}
@media (max-width: 992px) {
    .services-wrapper { grid-template-columns: 1fr; gap: 4rem; }
}

.services-header { position: sticky; top: 150px; }
.section-title { font-size: 3.5rem; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem; color: #fff; font-weight: 800;}
.section-desc { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; }
.link-arrow {
    color: var(--accent-glow); text-decoration: none; font-weight: 500;
    display: inline-flex; align-items: center; gap: 8px; transition: gap 0.3s ease;
}
.link-arrow:hover { gap: 15px; }

/* Servis Kartları */
.services-list { display: flex; flex-direction: column; gap: 1.5rem; }
.service-card {
    background: var(--surface); border: 1px solid var(--border-color);
    padding: 3rem; border-radius: 1.5rem; display: flex; gap: 2rem; transition: all 0.4s ease;
}
@media (max-width: 600px) { .service-card { flex-direction: column; gap: 1.5rem; padding: 2rem; } }
.service-card:hover {
    transform: translateX(10px); 
    background: var(--surface-hover); border-color: rgba(255, 255, 255, 0.15);
}

/* İkon arka planları gri/beyaz tona çekildi */
.s-icon {
    width: 64px; height: 64px; flex-shrink: 0; background: rgba(255, 255, 255, 0.04);
    border-radius: 1rem; display: flex; align-items: center; justify-content: center;
    color: var(--accent-glow); font-size: 1.5rem; border: 1px solid rgba(255, 255, 255, 0.08);
}
.s-content h3 { font-size: 1.5rem; margin-bottom: 0.8rem; letter-spacing: -0.5px; color: #fff; font-weight: 600;}
.s-content p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; font-weight: 400; }

/* --- FOOTER --- */
.main-footer { padding: 6rem 0 2rem; border-top: 1px solid var(--border-color); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-top { grid-template-columns: 1fr; } }
.footer-col.brand-col p { color: var(--text-muted); font-size: 0.9rem; margin-top: 1rem; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul li a, .footer-col ul li.location { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--text-primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border-color); }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-social a:hover { color: var(--text-primary); }

/* --- ORTAK ANİMASYON --- */
.fade-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* --- MOBİL HAMBURGER BUTONU (Masaüstünde Gizli) --- */
.hamburger-btn {
    display: none; 
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 10000;
    position: absolute; /* Logoya göre tam sağ üste yapışır */
    right: 20px;
}

.hamburger-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Çarpı (X) Olma Animasyonu */
.hamburger-btn.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- MOBİL SİDEBAR TASARIMI --- */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%; /* Başlangıçta ekranın sağından dışarıda gizli */
    width: 250px; /* Sidebar genişliği */
    height: 100vh; /* Tam ekran boyu */
    background-color: #121215; /* Ajansın o tok siyah/gri arka planı */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    box-shadow: -5px 0 20px rgba(0,0,0,0.5); /* Sola doğru tatlı bir gölge */
    transition: right 0.4s ease;
    z-index: 9999; 
}

.mobile-sidebar a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-sidebar a:hover {
    color: #a3a3a3; /* O efsanevi açık gri hover */
}

/* Butona basılınca eklenecek class (Menüyü ekrana sokar) */
.mobile-sidebar.active {
    right: 0;
}

/* --- TELEFON VE TABLET UYUMLULUĞU --- */
@media screen and (max-width: 768px) {
    /* Orijinal sağ-sol menüleri mobilde kapatıyoruz */
    .desktop-menu {
        display: none !important;
    }
    
    /* Sağ üstteki butonu görünür yapıyoruz */
    .hamburger-btn {
        display: flex;
    }
}