:root {
    /* Premium Kurumsal Palet: Antrasit ve Titanyum Tonları */
    --bg-dark: #131316; 
    --surface: #1a1a1e; 
    --surface-hover: #27272c; 
    --accent: #a1a1aa; 
    --accent-glow: #e4e4e7; 
    --text-primary: #ffffff;
    --text-muted: #8d8d95; 
    --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); 
    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şığı */
.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; 
    grid-template-columns: 1fr auto 1fr; 
    align-items: center; 
}

/* --- 3. ALTERNATİF: ÇİZGİ AYRAÇLI --- */
.logo {
    font-size: 1.8rem;
    letter-spacing: 1px;
}
.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 */
} 

.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; }

.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; 
}

.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; } 
}

/* --- İLETİŞİM HERO --- */
.contact-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    padding-top: 10rem;
    padding-bottom: 2rem;
}
.hero-container {
    display: flex; justify-content: center; width: 100%;
}
.hero-content { 
    display: flex; flex-direction: column; align-items: center; text-align: center; 
    max-width: 800px; position: relative; z-index: 1;
}

.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: 2rem; font-weight: 500;
}
.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; margin-bottom: 1.5rem; font-weight: 800;
}

/* 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: 600px; line-height: 1.8; font-weight: 300;
}

/* --- İLETİŞİM ALANI --- */
.contact-section {
    padding: 2rem 0 8rem;
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    background: var(--surface);
    padding: 4rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

@media (max-width: 992px) {
    .contact-wrapper { grid-template-columns: 1fr; padding: 2.5rem; gap: 3rem;}
}

/* Sol Bilgi Tarafı */
.contact-info h2 { font-size: 2.2rem; margin-bottom: 1rem; color: #fff; font-weight: 700; letter-spacing: -0.5px;}
.contact-info > p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; margin-bottom: 3rem; font-weight: 300;}

.info-items { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 3rem; }
.item { display: flex; align-items: flex-start; gap: 1.5rem; }
.icon-box {
    width: 50px; height: 50px; flex-shrink: 0; background: rgba(255, 255, 255, 0.04);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: var(--accent-glow); font-size: 1.2rem; border: 1px solid rgba(255, 255, 255, 0.08);
}
.item h4 { color: #fff; font-size: 1.1rem; margin-bottom: 0.3rem; font-weight: 600;}
.item span { color: var(--text-muted); font-size: 0.95rem; font-weight: 300;}

.contact-social h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1rem; font-weight: 600;}
.social-links { display: flex; gap: 1rem; }
.social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; border-radius: 50%;
    background: rgba(255,255,255,0.03); color: var(--text-muted);
    font-size: 1.1rem; transition: var(--transition); border: 1px solid var(--border-color);
}
.social-links a:hover { background: var(--text-primary); color: var(--bg-dark); transform: translateY(-3px); }

/* Sağ Form Tarafı */
.contact-form-container {
    background: rgba(0,0,0,0.15);
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.03);
}

@media (max-width: 600px) { .contact-form-container { padding: 1.5rem; } }

.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block; margin-bottom: 0.6rem; color: #fff; font-size: 0.95rem; font-weight: 500;
}
.form-group input, .form-group textarea {
    width: 100%; padding: 1rem 1.2rem;
    background: var(--surface-hover);
    border: 1px solid var(--border-color);
    border-radius: 8px; color: #fff; font-size: 1rem; font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent-glow); background: rgba(255,255,255,0.05);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.2); font-weight: 300;}

.btn-submit {
    width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: 10px;
    padding: 1.1rem; background: var(--text-primary); color: #000;
    border: none; border-radius: 8px; font-size: 1.05rem; font-weight: 600; font-family: 'Outfit', sans-serif;
    cursor: pointer; transition: var(--transition); margin-top: 1rem;
}
.btn-submit:hover { background: #d4d4d8; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(255,255,255,0.1); }

/* --- 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 { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.03); border: 1px solid var(--border-color); color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.footer-social a:hover { background: var(--text-primary); color: var(--bg-dark); transform: translateY(-3px); }

/* --- 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); } }
/* --- DAKTİLO (TYPEWRITER) EFEKTİ --- */
.typewriter-container {
    display: inline-block;
    /* Hero desc margin ayarını eziyoruz ki kutu düzgün hizalansın */
    margin-bottom: 3.5rem; 
}

.typewriter {
    overflow: hidden; /* Yazı kutunun dışına taşmasın */
    border-right: 2px solid var(--text-primary); /* Yanıp sönen imleç */
    white-space: nowrap; /* Alt satıra inmesini engeller */
    margin: 0 auto;
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 300;
    /* steps(40) harf harf gelmesini sağlar */
    animation: 
        typing 2.5s steps(40, end),
        blink-caret .75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--text-primary); }
}

/* --- BAŞARI BİLDİRİMİ (TOAST) --- */
.success-toast {
    position: fixed;
    top: 30px;
    right: -400px; /* Başlangıçta ekranın dışında */
    background: #1a1a1e;
    color: #ffffff;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    border-left: 4px solid #10b981;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 9999;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: 'Outfit', sans-serif;
}

.success-toast.show {
    right: 30px; /* Ekrana giriş yapınca duracağı yer */
}

.success-toast i {
    color: #10b981;
    font-size: 1.4rem;
}

/* --- 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;
    }
}