/* ==========================================================================
   DARK TECH THEME RESET & VARIABLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
}

:root {
    --ae-bg-dark: #030814;
    --ae-bg-header: #040a17;
    --ae-cyan: #00b0ff;
    --ae-cyan-glow: rgba(0, 176, 255, 0.4);
    --ae-text-light: #ffffff;
    --ae-text-muted: #94a3b8;
    --ae-border-dark: rgba(255, 255, 255, 0.08);
    --ae-btn-blue: linear-gradient(90deg, #0072ff 0%, #00a2ff 100%);
    --ae-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ae-header-site {
    width: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--ae-bg-dark);
}

.ae-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   1. TOPBAR
   -------------------------------------------------------------------------- */
.ae-topbar {
    width: 100%;
    background: #020610;
    color: var(--ae-text-muted);
    font-size: 0.82rem;
    padding: 8px 0;
}

.ae-topbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ae-topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ae-topbar-item {
    color: #e2e8f0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: var(--ae-transition);
}

.ae-topbar-item:hover {
    color: var(--ae-cyan);
}

.ae-topbar-item i {
    color: var(--ae-cyan);
    font-size: 0.85rem;
}

.ae-topbar-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

.ae-topbar-slogan {
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ae-topbar-slogan i {
    color: var(--ae-cyan);
    animation: ae-pulse 2s infinite ease-in-out;
}

/* --------------------------------------------------------------------------
   HAREKETLİ ELEKTRONİK SİBER AKIŞ ÇİZGİSİ (NEON LASER EFFECT)
   -------------------------------------------------------------------------- */
.ae-tech-laser-bar {
    width: 100%;
    height: 2px;
    background: #002b4d;
    position: relative;
    overflow: hidden;
}

.ae-tech-laser-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #00b0ff, #ffffff, #00b0ff, transparent);
    box-shadow: 0 0 12px #00b0ff, 0 0 20px #00b0ff;
    animation: ae-laser-sweep 3.5s infinite linear;
}

@keyframes ae-laser-sweep {
    0% { left: -40%; }
    100% { left: 120%; }
}

@keyframes ae-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.92); }
}

/* --------------------------------------------------------------------------
   2. ANA HEADER BARI & BÜYÜTÜLMÜŞ LOGO
   -------------------------------------------------------------------------- */
.ae-main-header {
    width: 100%;
    padding: 16px 0;
    background: linear-gradient(180deg, #050d1e 0%, #030814 100%);
    border-bottom: 1px solid var(--ae-border-dark);
}

.ae-main-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ae-logo-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: var(--ae-transition);
}

.ae-logo-brand:hover {
    filter: drop-shadow(0 0 8px rgba(0, 176, 255, 0.4));
}

/* LOGO BÜYÜTÜLDÜ (Eski 48px -> Yeni 64px) */
.ae-logo-img {
    height: 64px;
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   3. MASAÜSTÜ NAVİGASYON
   -------------------------------------------------------------------------- */
.ae-navbar {
    display: flex;
    align-items: center;
}

.ae-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 24px;
}

.ae-nav-item {
    position: relative;
}

.ae-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--ae-transition);
    position: relative;
}

.ae-nav-link i.ae-icon {
    color: var(--ae-cyan);
    font-size: 0.95rem;
    transition: var(--ae-transition);
}

.ae-nav-link:hover, 
.ae-nav-item.active .ae-nav-link {
    color: var(--ae-cyan);
}

.ae-nav-link:hover i.ae-icon {
    transform: translateY(-2px);
    text-shadow: 0 0 8px var(--ae-cyan);
}

/* Aktif Sayfa Neon Çizgisi */
.ae-nav-item.active .ae-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ae-cyan);
    box-shadow: 0 0 10px var(--ae-cyan);
    border-radius: 2px;
}

.ae-arrow {
    font-size: 0.75rem;
    margin-left: 2px;
    color: var(--ae-text-muted);
    transition: var(--ae-transition);
}

.ae-nav-item.ae-dropdown:hover .ae-arrow {
    transform: rotate(180deg);
    color: var(--ae-cyan);
}

/* DROPDOWN MENU */
.ae-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 270px;
    background: #071022;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 1px var(--ae-cyan);
    border: 1px solid var(--ae-border-dark);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--ae-transition);
    z-index: 1000;
}

.ae-nav-item.ae-dropdown:hover .ae-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ae-dropdown-list {
    list-style: none;
}

.ae-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    transition: var(--ae-transition);
}

.ae-dropdown-item i {
    color: var(--ae-cyan);
}

.ae-dropdown-item:hover {
    background: rgba(0, 176, 255, 0.12);
    color: var(--ae-cyan);
    padding-left: 20px;
}

/* --------------------------------------------------------------------------
   4. SAĞ BUTONLAR (ARAMA BUTONU + İLETİŞİM BUTONU)
   -------------------------------------------------------------------------- */
.ae-main-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ARAMA BUTONU */
.ae-search-trigger-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 176, 255, 0.08);
    border: 1px solid rgba(0, 176, 255, 0.3);
    color: var(--ae-cyan);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ae-transition);
    box-shadow: 0 0 10px rgba(0, 176, 255, 0.1);
}

.ae-search-trigger-btn:hover {
    background: var(--ae-cyan);
    color: #ffffff;
    box-shadow: 0 0 20px var(--ae-cyan);
    transform: scale(1.06);
}

/* HIZLI İLETİŞİM BUTONU */
.ae-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ae-btn-blue);
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 0 15px var(--ae-cyan-glow);
    transition: var(--ae-transition);
}

.ae-btn-contact:hover {
    box-shadow: 0 0 25px rgba(0, 176, 255, 0.8);
    transform: translateY(-2px);
}

.ae-hamburger-btn {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--ae-border-dark);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #ffffff;
    cursor: pointer;
    transition: var(--ae-transition);
}

.ae-hamburger-btn:hover {
    border-color: var(--ae-cyan);
    color: var(--ae-cyan);
}

/* --------------------------------------------------------------------------
   5. ARAMA POPUP (MODAL) PENCERESİ STİLLERİ
   -------------------------------------------------------------------------- */
.ae-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    opacity: 0;
    visibility: hidden;
    transition: var(--ae-transition);
}

.ae-search-modal.ae-active {
    opacity: 1;
    visibility: visible;
}

.ae-search-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 16, 0.85);
    backdrop-filter: blur(8px);
}

.ae-search-modal-content {
    position: relative;
    width: 90%;
    max-width: 680px;
    background: linear-gradient(135deg, #071228 0%, #030917 100%);
    border: 1px solid rgba(0, 176, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 176, 255, 0.2);
    border-radius: 16px;
    padding: 28px;
    z-index: 2;
    transform: translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ae-search-modal.ae-active .ae-search-modal-content {
    transform: translateY(0);
}

.ae-search-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--ae-transition);
}

.ae-search-close-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

.ae-search-modal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #ffffff;
}

.ae-tech-pulse-icon {
    color: var(--ae-cyan);
    font-size: 1.2rem;
    animation: ae-pulse 1.5s infinite ease-in-out;
}

.ae-search-modal-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.ae-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ae-search-input-wrapper .ae-search-icon {
    position: absolute;
    left: 18px;
    color: var(--ae-cyan);
    font-size: 1rem;
}

.ae-search-input-wrapper input {
    width: 100%;
    height: 52px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(0, 176, 255, 0.3);
    border-radius: 50px;
    padding: 0 120px 0 50px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: var(--ae-transition);
}

.ae-search-input-wrapper input:focus {
    border-color: var(--ae-cyan);
    box-shadow: 0 0 15px rgba(0, 176, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.ae-search-submit-btn {
    position: absolute;
    right: 5px;
    height: 42px;
    padding: 0 22px;
    background: var(--ae-btn-blue);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--ae-transition);
}

.ae-search-submit-btn:hover {
    box-shadow: 0 0 15px var(--ae-cyan);
}

/* --------------------------------------------------------------------------
   6. MOBİL ÇEKMECE MENÜ (KÜÇÜLTÜLMÜŞ & KOMPAKT MENÜ ELEMANLARI)
   -------------------------------------------------------------------------- */
.ae-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 6, 16, 0.8);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: var(--ae-transition);
    z-index: 999998;
}

.ae-mobile-overlay.ae-open {
    opacity: 1;
    visibility: visible;
}

.ae-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 82vw;
    height: 100vh;
    background: #050d1e;
    box-shadow: -10px 0 30px rgba(0,0,0,0.6);
    z-index: 999999;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 16px;
    box-sizing: border-box;
}

.ae-mobile-drawer.ae-open {
    transform: translateX(0);
}

.ae-mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--ae-border-dark);
    margin-bottom: 10px;
}

.ae-mobile-title {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ae-mobile-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.85rem;
    cursor: pointer;
}

.ae-mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* MOBİL ELEMANLAR KÜÇÜLTÜLDÜ (Daha Kibar Tasarım) */
.ae-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    transition: var(--ae-transition);
}

.ae-mobile-nav-link i {
    color: var(--ae-cyan);
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.ae-mobile-nav-item.active .ae-mobile-nav-link {
    background: rgba(0, 176, 255, 0.15);
    color: var(--ae-cyan);
    border-left: 3px solid var(--ae-cyan);
}

.ae-mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    gap: 3px;
    margin-top: 4px;
    padding-left: 8px;
}

.ae-mobile-dropdown.ae-mobile-expanded .ae-mobile-dropdown-menu {
    display: flex;
}

.ae-mobile-sublink {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    color: var(--ae-text-muted);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 5px;
}

.ae-mobile-sublink i {
    color: var(--ae-cyan);
    font-size: 0.75rem;
}

.ae-mobile-bottom-section {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--ae-border-dark);
}

.ae-mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ae-btn-blue);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DÜZENLEMELER
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .d-none-mobile {
        display: none !important;
    }

    .ae-hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ae-logo-img {
        height: 50px;
        max-height: 50px;
    }

    .ae-topbar-wrapper {
        justify-content: center;
    }

    .ae-search-modal-content {
        padding: 20px;
    }
}