/* =====================================================================
   SURGICAL PRECISION FIX - FINAL FILENAME & PROPORTIONS
===================================================================== */

#hero-parallax {
    position: relative;
    height: 750px;
    background-color: #050507; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

/* ФОН - ТЕПЕР З ПРАВИЛЬНОЮ НАЗВОЮ */
.parallax-layer.bg-layer {
    position: absolute;
    top: -5%; left: -5%;
    width: 110%; height: 110%;
    background-image: url('../img/site-hero2.jpg') !important; 
    background-size: cover;
    background-position: center bottom;
    z-index: 1;
    opacity: 0.7; /* Зробив яскравіше */
}

.hero-relative {
    position: relative;
    width: 100%;
    max-width: 1100px; /* Тримаємо вас ближче до центру */
    height: 100%;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.parallax-layer.char-layer {
    position: absolute;
    bottom: -5px; 
    z-index: 6;
    pointer-events: none;
}


.left-char { 
    left: 0; 
    width: auto; 
}
.left-char img {
    width: auto;
    height: 500px;
    transform-origin: bottom center;
}


.right-char { 
    right: 0; 
    width: auto; 
}
.right-char img {
    width: auto;
    height: 500px;
    transform-origin: bottom center;
}

.char-layer img {
    display: block;
    filter: drop-shadow(0 20px 60px rgba(0,0,0,0.9));
}

/* ТЕКСТ 3D - ПРЯМО НАД ГОЛОВАМИ */
.parallax-layer.text-layer {
    position: absolute;
    top: 25%; 
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    width: 100%;
}

.text-3d {
    font-family: 'Montserrat', sans-serif;
    font-size: 100px !important;
    font-weight: 900 !important;
    color: #ffffff;
    letter-spacing: 12px;
    text-transform: uppercase;
    text-shadow: 
        0 1px 0 #ccc, 0 2px 0 #bbb, 
        0 15px 35px rgba(0,0,0,0.8);
}
.neon-subtitle {
    display: block;
    font-family: 'Montserrat', sans-serif; /* Или ваш основной шрифт */
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    
    /* Градиент на тексте */
    background: linear-gradient(90deg, #00f2ff, #7000ff, #00f2ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Эффект неонового свечения */
    filter: drop-shadow(0 0 5px rgba(112, 0, 255, 0.5));
    
    /* Анимация перелива (опционально) */
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}
.text-layer {
    text-align: center;
    z-index: 10;
}

.text-layer h1 {
    font-size: 80px; /* Настройте под ваш макет */
    margin-bottom: 0;
    line-height: 1;
    letter-spacing: 5px;
    /* Мягкое свечение для h1, чтобы буквы не сливались с фоном */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.neon-subtitle-about {
    display: block;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-top: 10px;
    
    /* Цвет: чистый белый или очень легкий голубой оттенок #e0ffff */
    color: #00c3ff;
    
    /* Основной секрет читаемости на фоне неона: черная подложка-тень + неоновый ореол */
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.8), 
        0 0 10px rgba(0, 242, 255, 0.6), 
        0 0 20px rgba(112, 0, 255, 0.4);
        
    text-transform: uppercase;
}