/* =========================================
   XANTHOS DİJİTAL - GÜNCEL TASARIM
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&family=Poppins:wght@300;400;600&display=swap');

/* Temel Sıfırlamalar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0c; 
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Arka Plan Animasyonu */
#fixed-network-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: #0a0a0c;
    pointer-events: none;
}

/* =========================================
   ÜST MENÜ (GENİŞ VE SABİT)
   ========================================= */
header {
    background: rgba(10, 10, 12, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 5%; /* Header aşağı doğru genişletildi */
}

.navbar {
    display: flex;
    justify-content: center; 
    align-items: center;
    max-width: 1500px;
    margin: 0 auto;
    position: relative; 
    min-height: 80px;  
}

.logo {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 150px; 
    width: auto;
    display: block;
    transition: max-height 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links li a {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #ccc;
    font-weight: 400;
    transition: color 0.3s ease;
    white-space: nowrap;
}

/* Aktif olan sayfa ve üzerine gelinen sayfa mavi olur */
.nav-links li a:hover, 
.nav-links li a.active {
    color: #00ffff !important;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.hamburger {
    display: none;
    color: #00ffff;
    font-size: 32px;
    cursor: pointer;
    position: absolute;
    right: 0;
}

/* =========================================
   ANA SAYFA ÖZEL (Hero & Buton Düzenlemeleri)
   ========================================= */
main {
    margin-top: 140px; /* Sabit header'ın arkasında kalmaması için ana içeriği aşağı ittik */
}

.hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    background: transparent;
}

.hero h1 {
    font-family: 'Fira Code', monospace;
    font-size: clamp(2rem, 5vw, 4rem); 
    font-weight: 600;
    margin-bottom: 25px;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero h1 span {
    color: #00ffff;
    text-shadow: 0 0 15px rgba(0,255,255,0.4);
}

.hero p {
    font-family: 'Poppins', sans-serif;
    color: #888;
    max-width: 800px;
    margin: 0 auto 35px auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid rgba(0,255,255,0.4);
    color: #00ffff;
    text-transform: uppercase;
    font-family: 'Fira Code', monospace;
    font-size: 16px;
    transition: 0.3s;
    border-radius: 15px;
    background: rgba(0, 255, 255, 0.05);
}

.cta-button:hover {
    background: rgba(0, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
}

/* =========================================
   FOOTER (ALT BÖLÜM)
   ========================================= */
.xanthos-footer {
    display: block;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    padding: 80px 20px 40px 20px;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    position: relative;
    z-index: 999;
}

.footer-brand-header {
    text-align: center;
    margin-bottom: 60px;
}

.footer-brand-header h2 {
    font-family: 'Fira Code', monospace;
    color: #00ffff;
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-family: 'Fira Code', monospace;
    color: #00ffff;
    font-size: 16px;
    margin-bottom: 25px;
}

.footer-section h4::before { content: "> "; }

.social-links { list-style: none; padding: 0; margin: 0; }
.social-links li { margin-bottom: 15px; }
.social-links a { color: #aaa; font-size: 14px; transition: all 0.3s ease; display: inline-block; }
.social-links a:hover { color: #00ffff; transform: translateX(8px); text-shadow: 0 0 10px rgba(0, 255, 255, 0.6); }

.contact-info p { color: #888; font-size: 14px; line-height: 1.8; margin-bottom: 10px; }
.contact-email { color: #00ffff; font-family: 'Fira Code', monospace; font-size: 13px; border-bottom: 1px dashed rgba(0, 255, 255, 0.3); }

.legal-row { margin-top: 60px; padding-top: 25px; border-top: 1px solid rgba(255, 255, 255, 0.05); text-align: center; }
.protocol-link { font-family: 'Fira Code', monospace; font-size: 11px; color: #555; margin: 0 12px; transition: 0.3s; }
.protocol-link:hover { color: #00ffff; }
.copyright-text { margin-top: 25px; font-size: 12px; color: #bbb; letter-spacing: 1px; }

/* =========================================
   MOBİL UYUMLULUK
   ========================================= */
@media (max-width: 768px) {
    header { padding: 15px 5%; }
    .navbar { justify-content: space-between; }
    .logo { position: static; }
    .logo img { max-height: 90px; }
    .hamburger { display: block; z-index: 1001; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 12, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 25px;
        border-bottom: 1px solid rgba(0, 255, 255, 0.2);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        display: none; 
    }
    .nav-links.active { display: flex; }
    .hero h1 { font-size: 2.2rem; }
    .footer-container { text-align: center; }
}