/* ftoni tech - Ana Stil Dosyası [MASTER VERSION - GOLD & CYBER BLUE EDITION] */

/* --- Değişkenler --- */
:root {
    --gold: #d4af37;
    --cyber-blue: #00f3ff; /* Yeni enerji rengimiz */
    --dark-void: #050505;
    --glass: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s ease;
    --text-gray: #a4a4a4;
}

/* --- Genel Ayarlar --- */
body {
    background-color: var(--dark-void);
    color: white;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Nav --- */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--glass);
    background: rgba(10, 10, 10, 0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.logo span {
    color: var(--gold);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 300;
    transition: var(--transition);
}

.main-nav ul li a:hover {
    color: var(--gold);
}

/* --- Hero Section [ftoni OS Theme - RE-INTEGRATED] --- */
.hero {
    position: relative;
    padding: 80px 0; /* Padding'i düşürdük */
    text-align: center;
    background: radial-gradient(circle at center, #111 0%, #050505 100%);
    overflow: hidden;
    min-height: 60vh; /* Yüksekliği 85'ten 60'a çektik, daha derli toplu oldu */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 20;
    width: 100%;
}

.hero h1 {
    font-size: 4.5rem;
    margin: 0 0 15px 0;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 8px;
    /* Yazı rengini altın-beyaz-mavi geçişli yaparak devrelerle uyumlu hale getirdik */
    background: linear-gradient(90deg, var(--gold), #fff, var(--cyber-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0,0,0,0.4);
}

.hero-sub {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 10px;
    display: block;
}

/* --- Devre Yolu Katmanı --- */
.circuit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Kapsayıcıya sadık kalır */
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circuit-overlay svg {
    width: 90%; /* Genişliği biraz artırıp yüksekliği dengeledik */
    height: 100%; /* Hero yüksekliği neyse ona uyum sağlar */
    opacity: 0.5;
}

/* Sabit Altın Çizgiler */
.gold-path {
    fill: none !important;
    stroke: var(--gold) !important;
    stroke-width: 1.2px;
    opacity: 0.25;
    vector-effect: non-scaling-stroke;
}

/* Akan Mavi Enerji Hatları */
.blue-pulse {
    fill: none !important;
    stroke: var(--cyber-blue) !important;
    stroke-width: 2px;
    stroke-linecap: round;
    stroke-dasharray: 120, 600; /* Enerjinin uzunluğu */
    stroke-dashoffset: 720;
    animation: energyFlow 4s linear infinite;
    filter: drop-shadow(0 0 12px var(--cyber-blue));
    vector-effect: non-scaling-stroke;
}

.delay-1 { animation-delay: 1.5s; }
.delay-2 { animation-delay: 3s; }

@keyframes energyFlow {
    to {
        stroke-dashoffset: -720;
    }
}

/* --- HUD Scanner Tasarımı --- */
.hud-scanner {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    z-index: 11;
    pointer-events: none;
}

.circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed var(--gold);
    opacity: 0.3;
}

.outer {
    width: 100%;
    height: 100%;
    border: 1px solid var(--cyber-blue);
    animation: rotate 20s linear infinite;
    opacity: 0.2;
}

.middle {
    width: 70%;
    height: 70%;
    border: 2px solid var(--gold);
    border-style: double;
    animation: rotate-reverse 15s linear infinite;
}

.inner {
    width: 40%;
    height: 40%;
    border: 1px dashed var(--cyber-blue);
    animation: rotate 10s linear infinite;
}

/* Tarama Çizgisi */
.scanner-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyber-blue));
    transform-origin: left center;
    animation: rotate 4s linear infinite;
}

/* Animasyonlar */
@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Sistem İstatistikleri (Yazının altındaki küçük detay) */
.system-stats {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    color: var(--text-gray);
    margin-top: 20px;
    letter-spacing: 2px;
    opacity: 0.7;
}

.system-stats .separator {
    color: var(--gold);
    margin: 0 10px;
}
/* --- Services Tree (Dikey Hizmet Ağacı) --- */
.services-tree {
    padding: 100px 0;
}

.tree-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.tree-line {
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--gold);
    transform: translateX(-50%);
}

.branch-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    width: 50%;
    position: relative;
    opacity: 1; /* Animasyonla uğraşmamak için görünür yaptık */
}

.branch-item.left { margin-right: auto; justify-content: flex-end; padding-right: 40px; }
.branch-item.right { margin-left: auto; justify-content: flex-start; padding-left: 40px; }

.branch-content {
    background: var(--glass);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.branch-content:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.node {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--gold);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px var(--gold);
}

.left .node { right: -7.5px; }
.right .node { left: -7.5px; }

/* --- About & Manifesto --- */
.about-manifesto {
    padding: 100px 0;
    text-align: center;
}

.gold-pear-logo img {
    width: 120px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.manifesto-text-box {
    max-width: 800px;
    margin: 40px auto;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.manifesto-main {
    font-size: 1.5rem;
    color: white;
    margin: 25px 0;
    font-style: italic;
}

.orbitron { font-family: 'Orbitron', sans-serif; }

/* --- Footer --- */
footer {
    padding: 50px 0;
    border-top: 1px solid var(--glass);
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
}

/* --- Mobilde Responsive Düzenlemeler --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }

    .circuit-overlay svg {
        width: 100%;
    }

    .tree-line {
        left: 20px;
        transform: none;
    }

    .branch-item {
        width: 100% !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
        justify-content: flex-start !important;
    }

    .node {
        left: 12.5px !important;
    }
}

/* --- Hakkımızda & Manifesto [DYNAMIC INTEGRATION] --- */

.about-manifesto {
    background-color: var(--dark-void);
    padding: 100px 0;
    color: white;
    text-align: center;
}

.manifesto-header {
    margin-bottom: 60px;
    /* Hero kısmındaki fadeIn animasyonuna benzer bir giriş */
    animation: manifestoFadeIn 1.5s ease-out;
}

@keyframes manifestoFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.gold-pear-logo img {
    width: 120px;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
    margin-bottom: 25px;
}

.manifesto-header h1 {
    color: var(--gold);
    font-size: 28px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'Orbitron', sans-serif;
}

.manifesto-content {
    max-width: 850px;
    margin: 0 auto 80px;
}

/* Master temadaki 'glass' değişkenini kullanarak modernize ettik */
.manifesto-text-box {
    padding: 45px;
    border-left: 2px solid var(--gold);
    border-right: 2px solid var(--cyber-blue);
    background: var(--glass);
    border-radius: 25px;
    backdrop-filter: blur(5px);
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.manifesto-inner-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 22px;
    color: #e0e0e0;
}

.manifesto-inner-content strong {
    color: var(--gold);
    font-weight: 600;
}

/* Vizyon & Misyon Kartları - Cyber Blue Dokunuşuyla */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.vm-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 15px;
    border-bottom: 3px solid var(--cyber-blue);
    transition: var(--transition);
    text-align: left;
}

.vm-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}

.vm-card h3 {
    color: var(--gold);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.vm-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Alt İmza Gradiyent Efekti */
.final-signature {
    margin-top: 50px;
}

.final-signature p {
    font-size: 1.2rem;
    background: linear-gradient(to right, var(--gold), #fff, var(--cyber-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Mobil Uyumluluk Güncellemesi */
@media (max-width: 768px) {
    .manifesto-text-box {
        padding: 25px;
        border-radius: 15px;
    }
    .manifesto-header h1 {
        font-size: 20px;
    }
}

/* --- OVERRIDE PACK: WP STİLLERİNİ EZMEK İÇİN --- */

/* Section'ı zorla göster */
main section.about-manifesto {
    display: block !important;
    background-color: var(--dark-void) !important;
    padding: 100px 0 !important;
    visibility: visible !important;
}

/* Kutu ve Kenarlıklar (Eğer kutu görünmüyorsa bu çözecek) */
section.about-manifesto .manifesto-text-box {
    border-left: 3px solid var(--gold) !important;
    border-right: 3px solid var(--cyber-blue) !important;
    background: var(--glass) !important;
    padding: 45px !important;
    border-radius: 25px !important;
    display: block !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

/* WP Editörden gelen metinler için (P etiketleri) */
section.about-manifesto .manifesto-inner-content p,
section.about-manifesto .manifesto-text-box p {
    color: #e0e0e0 !important;
    font-size: 1.15rem !important;
    line-height: 1.9 !important;
    text-align: left !important;
    margin-bottom: 20px !important;
}

/* Başlık */
section.about-manifesto .manifesto-header h1 {
    color: var(--gold) !important;
    font-family: 'Orbitron', sans-serif !important;
    opacity: 1 !important;
    display: block !important;
}

/* Kartlar */
section.about-manifesto .vm-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom: 3px solid var(--cyber-blue) !important;
}

.gold-pear-logo img {
    width: 140px; /* Boyutu biraz vurguladık */
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3)); /* Hafif altın parlama */
    transition: all 0.5s ease;
    animation: pulseGold 4s infinite ease-in-out;
}

@keyframes pulseGold {
    0% { filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.2)); transform: scale(1); }
    50% { filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6)); transform: scale(1.05); }
    100% { filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.2)); transform: scale(1); }
}

.gold-pear-logo img:hover {
    filter: drop-shadow(0 0 30px rgba(0, 243, 255, 0.5)); /* Üzerine gelince siber maviye döner */
    transform: rotate(5deg);
}

/* --- ftoni tech Breathing Logo Style --- */
.gold-pear-logo {
    display: inline-block;
    padding: 20px;
    text-align: center;
}

.breathing-logo {
    width: 180px; /* İdeal boyut */
    height: auto;
    /* Altın parıltısı: ftoni tech kimliği */
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulseGold 5s infinite ease-in-out;
}

@keyframes pulseGold {
    0% {
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
        transform: scale(1);
    }
    50% {
        /* Nefes alma: Enerji yoğunlaşır */
        filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.7));
        transform: scale(1.05);
    }
    100% {
        filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
        transform: scale(1);
    }
}

/* Siber Mavi Etkileşimi */
.breathing-logo:hover {
    filter: drop-shadow(0 0 35px var(--cyber-blue));
    transform: scale(1.1) rotate(2deg);
    cursor: pointer;
}