/* Üst bilgi ve kritik arayüz stilleri */

/* İlk ekran için kritik stiller */
body {
    margin: 0;
    padding: 0;
    font-family:
        'Inter',
        'Poppins',
        -apple-system,
        BlinkMacSystemFont,
        'Segoe UI',
        sans-serif;
    background: #0a0a0a;
    color: #fff;
}
body:not(.basvuru-page) {
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

.ana-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
}

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

.hero-slider-container {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
}

img {
    max-width: 100%;
    height: auto;
}

/* Yerleşim kaymasını önleyen stiller */
.floating-elements {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 250px;
    width: 100%;
}

.stats-container,
.education-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    min-height: 120px;
    width: 100%;
}

.slide-text-content {
    min-height: 250px;
}

/* Başvuru CTA — kompakt ve sade (style.min.css üzerine yazar) */
.cta-container {
    position: relative;
    margin-right: 0 !important;
}
.cta-button.cta-button-live,
.nav-actions .cta-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    min-height: 0 !important;
    min-width: 0 !important;
    height: auto !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
    border-radius: 8px !important;
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid transparent !important;
    background: #e50914 !important;
    background-image: none !important;
    box-shadow: none !important;
    animation: none !important;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease !important;
}
.cta-button.cta-button-live::before,
.nav-actions .cta-button::before,
.cta-button.cta-button-live::after,
.nav-actions .cta-button::after {
    content: none !important;
    display: none !important;
    animation: none !important;
}
.cta-button.cta-button-live .cta-text,
.nav-actions .cta-button .cta-text {
    position: relative !important;
    z-index: 1 !important;
    font-size: inherit !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    text-shadow: none !important;
    text-transform: none !important;
    transform: none !important;
}
.cta-button.cta-button-live .cta-arrow {
    position: relative !important;
    z-index: 1 !important;
    font-size: 0.7rem !important;
    opacity: 0.9 !important;
    animation: none !important;
    transition: transform 0.2s ease !important;
}
.cta-button.cta-button-live:hover,
.nav-actions .cta-button:hover {
    background: #c40812 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.35) !important;
    animation: none !important;
    scale: 1 !important;
}
.cta-button.cta-button-live:hover .cta-arrow {
    transform: translateX(2px) !important;
}
.cta-button.cta-button-live:hover .cta-text {
    transform: none !important;
    text-shadow: none !important;
}
.cta-button.cta-button-live.active,
.nav-actions .cta-button.active {
    background: #fff !important;
    color: #e50914 !important;
    border-color: rgba(229, 9, 20, 0.35) !important;
}
.cta-button.cta-button-live.active .cta-text,
.cta-button.cta-button-live.active .cta-arrow {
    color: #e50914 !important;
    text-shadow: none !important;
}
@media (min-width: 768px) {
    .cta-button.cta-button-live,
    .nav-actions .cta-button {
        font-size: 0.85rem !important;
        padding: 8px 16px !important;
    }
}

/* Tuval için yerleşim kayması önlemi */
.hero-bg-lines {
    display: block;
    visibility: visible;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

/* CSS Geliştirmeleri */
.ana-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
}

/* Masaüstü açılır menü tıklama yedeği */
.ana-header .has-dropdown.active > .dropdown-menu,
.ana-header .nav-item.has-dropdown.active > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* Tipografi — marka logosuna uygun */
:root {
    --header-font-primary:
        'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --header-font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-normal: 500;
    --font-weight-medium: 600;
    --font-weight-semibold: 700;
    --font-weight-bold: 800;
    --font-weight-black: 900;
}

/* Üst gezinme tipografisi */
.clean-navbar {
    font-family: var(--header-font-primary);
    font-weight: var(--font-weight-medium);
    letter-spacing: -0.02em;
}

.nav-list {
    font-family: var(--header-font-primary);
}

.nav-link {
    font-family: var(--header-font-primary);
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    text-transform: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link .link-text {
    font-weight: var(--font-weight-semibold);
    font-size: 0.9rem;
    line-height: 1.2;
    display: inline-block;
    transition: all 0.3s ease;
}

.nav-link:hover .link-text {
    font-weight: var(--font-weight-bold);
    transform: translateY(-1px);
}

.nav-link.active .link-text {
    font-weight: var(--font-weight-bold);
    color: #e50914;
}

/* Açılır menü tipografisi */
.dropdown-link {
    font-family: var(--header-font-primary);
    font-weight: var(--font-weight-medium);
    font-size: 0.85rem;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    font-weight: var(--font-weight-semibold);
}

.dropdown-link.featured {
    font-weight: var(--font-weight-bold);
    color: #e50914;
}

/* Çağrı düğmesi tipografisi */
.cta-button {
    font-family: var(--header-font-primary);
    font-weight: var(--font-weight-bold);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-text {
    font-weight: var(--font-weight-bold);
    line-height: 1;
}

.cta-button:hover .cta-text {
    font-weight: var(--font-weight-black);
    letter-spacing: 0.03em;
}

/* Mobil menü tipografisi */
.mobile-toggle {
    font-family: var(--header-font-primary);
}

/* Gelişmiş tipografi etkileri */
@media (min-width: 768px) {
    .nav-link {
        font-size: 0.95rem;
    }

    .nav-link .link-text {
        font-size: 0.95rem;
    }

    .dropdown-link {
        font-size: 0.9rem;
    }

    .cta-button {
        font-size: 0.9rem;
    }
}

@media (min-width: 1024px) {
    .nav-link {
        font-size: 1rem;
    }

    .nav-link .link-text {
        font-size: 1rem;
    }

    .dropdown-link {
        font-size: 0.95rem;
    }

    .cta-button {
        font-size: 0.95rem;
    }
}

/* Okunabilirlik için metin gölgesi */
.nav-link .link-text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-link:hover .link-text,
.nav-link.active .link-text {
    text-shadow: 0 2px 4px rgba(229, 9, 20, 0.2);
}

.cta-text {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Yazı tipi yükleme iyileştirmesi */
.nav-link .link-text,
.cta-text,
.dropdown-link {
    font-display: swap;
    font-feature-settings:
        'kern' 1,
        'liga' 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ekran uyumlu tipografi */
@media (max-width: 768px) {
    .nav-link .link-text {
        font-size: 1rem;
        font-weight: var(--font-weight-bold);
    }

    .cta-button {
        font-size: 0.8rem;
        font-weight: var(--font-weight-black);
    }

    .dropdown-link {
        font-size: 0.9rem;
        font-weight: var(--font-weight-semibold);
    }
}

@media (max-width: 480px) {
    .nav-link .link-text {
        font-size: 0.95rem;
    }

    .cta-button {
        font-size: 0.75rem;
    }

    .dropdown-link {
        font-size: 0.85rem;
    }
}

/* Gelişmiş tipografi özellikleri */
.nav-link .link-text {
    font-variant-numeric: tabular-nums;
    font-variant-ligatures: common-ligatures;
}

/* Üzerine gelme animasyonu iyileştirmesi */
.nav-link:hover .link-text {
    animation: textGlow 0.3s ease-out;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    50% {
        text-shadow: 0 2px 8px rgba(229, 9, 20, 0.3);
    }

    100% {
        text-shadow: 0 2px 4px rgba(229, 9, 20, 0.2);
    }
}

/* Erişilebilirlik için odak durumları */
.nav-link:focus .link-text {
    font-weight: var(--font-weight-bold);
    outline: 2px solid #e50914;
    outline-offset: 2px;
}

.cta-button:focus .cta-text {
    font-weight: var(--font-weight-black);
}

/* Gelişmiş logo stilleri */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-picture {
    display: block;
    position: relative;
    z-index: 2;
}

.hero-dot i {
    display: block;
    width: 1em;
    height: 1em;
    line-height: 1;
}

.logo-image {
    aspect-ratio: 237 / 56;
    height: 45px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(229, 9, 20, 0.2));
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(229, 9, 20, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 16px rgba(229, 9, 20, 0.4));
}

.logo-link:hover .logo-glow {
    opacity: 1;
}

.logo-link:active .logo-image {
    transform: scale(0.98);
}

/* Mobil iyileştirmeler */
@media (max-width: 768px) {
    .logo-image {
        height: 38px;
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
}

/* Yüksek çözünürlüklü ekranlar */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Koyu tema desteği */
@media (prefers-color-scheme: dark) {
    .logo-image {
        filter: drop-shadow(0 2px 8px rgba(229, 9, 20, 0.3)) brightness(1.1);
    }
}

/* Yükleniyor durumu */
.logo-image[loading] {
    opacity: 0;
    animation: logoFadeIn 0.5s ease-out forwards;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Erişilebilirlik için odak stilleri */
.logo-link:focus {
    outline: 2px solid #e50914;
    outline-offset: 4px;
    border-radius: 4px;
}

.logo-link:focus .logo-image {
    transform: scale(1.02);
}

/* Yardımcı: ekran dışı / gizli formlar */
.u-hidden {
    display: none !important;
}
