/* ============================================================
   TEMA: NEON CYBER
   ============================================================
   Koyu mor zemin + neon pembe/yesil. Futuristik, enerjik, cesur.
   Oyun/muzik/etkinlik/NFT/genc marka projelerine yakisir.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&family=Rajdhani:wght@400;500;600&display=swap');

:root {
    --font-heading: 'Chakra Petch', system-ui, sans-serif;
    --font-body: 'Rajdhani', system-ui, sans-serif;
    --heading-weight: 600;
    --heading-letter-spacing: 0.01em;

    --text-base: 16px;
    --text-sm: 0.875rem;
    --text-lg: 1.125rem;

    --color-primary: #ff2d95;
    --color-primary-hover: #e61f82;
    --color-primary-light: #ff5cae;
    --color-on-primary: #ffffff;

    --color-accent: #1aff9c;
    --color-accent-hover: #0ee68a;
    --color-accent-soft: rgba(26, 255, 156, 0.12);
    --color-on-accent: #06140d;

    --color-background: #120a1f;
    --color-surface: #1d1230;
    --color-surface-alt: #281a40;

    --color-text: #d4c5e8;
    --color-text-muted: #8a7aa3;
    --color-heading: #ffffff;

    --color-border: #2e2046;
    --color-border-strong: #443063;

    --color-success: #1aff9c;
    --color-warning: #ffd24d;
    --color-danger: #ff4d6d;
    --color-info: #4dc4ff;

    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --section-padding: 7rem;

    --container-max: 1280px;
    --navbar-height: 80px;

    --btn-radius: 4px;
    --card-radius: 10px;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 6px 26px rgba(255, 45, 149, 0.18);
    --shadow-lg: 0 12px 42px rgba(255, 45, 149, 0.25);
    --shadow-xl: 0 20px 60px rgba(26, 255, 156, 0.22);

    --transition-fast: 0.18s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.55s cubic-bezier(0.4, 0, 0.2, 1);

    --navbar-bg: rgba(18, 10, 31, 0.82);
    --navbar-bg-scrolled: rgba(18, 10, 31, 0.97);
    --navbar-border: rgba(46, 32, 70, 0.7);

    --hero-bg: linear-gradient(135deg, #120a1f 0%, #1d1230 55%, #2a1240 100%);

    --page-header-bg: linear-gradient(135deg, #1d1230 0%, #3a1850 120%);
    --page-header-text: #ffffff;

    --footer-bg: #0c0616;
    --footer-text: rgba(212, 197, 232, 0.75);
    --footer-text-muted: rgba(212, 197, 232, 0.45);
    --footer-heading: #ffffff;
    --footer-border: rgba(255, 255, 255, 0.08);
}

.hero-x__title .accent {
    color: var(--color-accent);
    text-shadow: 0 0 18px rgba(26, 255, 156, 0.5);
}

.section-header__title {
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.section-header__title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    box-shadow: 0 0 12px rgba(255, 45, 149, 0.6);
    margin: var(--space-sm) auto 0;
}

.card-x:hover,
[class*="card"]:hover {
    border-color: var(--color-primary);
}

/* ============================================================
   MOBİL HERO BOŞLUK + OKUNABİLİRLİK DÜZELTMESİ v2
   ============================================================
   Sticky header ile slider arasındaki boşluk + slider görseli
   üzerindeki başlık okunabilirliği için zorunlu blok.
   ============================================================ */

/* Slider arka plan görselleri */
.hero-x__bg-image {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.hero-x__bg-image.active {
    opacity: 1;
}

/* Arka plan görseli üzerine karartı overlay (okunabilirlik için) */
.hero-x::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

/* İçerik overlay'in üstünde */
.hero-x__content,
.hero-x__indicators {
    position: relative;
    z-index: 3 !important;
}

/* Slider içeriği için beyaz renkli okunabilir metin (görsel arka plan varsa) */
.hero-x__title,
.hero-x__subtitle {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    /* Hero alanı */
    .hero-x {
        min-height: 85vh !important;
        padding-top: var(--navbar-height) !important;
        overflow: hidden;
    }

    /* İçerik üst-alt boşluğunu küçült */
    .hero-x__content {
        padding: var(--space-md) 0 var(--space-lg) !important;
    }

    /* Eyebrow ("NEXORA CORPORATE" gibi) */
    .hero-x__eyebrow {
        margin-bottom: var(--space-sm) !important;
        font-size: 0.7rem !important;
    }

    /* Başlık mobilde taşmasın */
    .hero-x__title {
        font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
        line-height: 1.15 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-x__subtitle {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
}
