/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* DARK NEON BACKGROUND */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 234, 255, 0.18) 0%, transparent 35%),
        radial-gradient(circle at 80% 70%, rgba(0, 234, 255, 0.12) 0%, transparent 40%),
        linear-gradient(135deg, #0a0f14 0%, #0d1f29 40%, #0b1a24 100%);
    color: #ffffff;
    position: relative;
}

/* NEON LIGHT OVERLAY */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, rgba(0, 234, 255, 0.12) 0%, transparent 28%),
        linear-gradient(295deg, rgba(0, 234, 255, 0.08) 0%, transparent 24%);
    mix-blend-mode: screen;
    opacity: 0.6;
}

/* MAIN LAYOUT */
.main-container {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 50px 7%;
    position: relative;
    z-index: 1;
}

/* TEXT COLUMN */
.text-column {
    flex: 1;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* TITLES */
.main-title {
    font-size: clamp(2.6rem, 6vw, 5rem);
    color: #00eaff;
    text-shadow: 0 0 22px rgba(0, 234, 255, 0.55);
    margin-bottom: 14px;
}

.sub-title {
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    color: #b8faff;
    margin-bottom: 20px;
}

/* DESCRIPTION */
.description {
    font-size: 1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    max-width: 500px;
}

/* IMAGE COLUMN */
.image-column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PARALLAX CONTAINER */
.parallax-scene {
    position: relative;
    width: min(40vw, 500px);
    aspect-ratio: 4 / 5;
    overflow: visible;
    border-radius: 8px;
}

/* LAYERS */
.layer {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
    transition: transform 0.2s ease-out;
}

/* WALL */
.wall-layer {
    top: 0;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.85);
}

/* PERSON */
.person-layer {
    z-index: 2;
    bottom: -100px;
    left: 50%;
    height: 100%;
    width: auto;
    transform: translateX(-50%);
    filter: drop-shadow(0 0 35px rgba(0, 234, 255, 0.35));
}

/* MAIN BUTTONS */
.main-buttons {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.main-btn {
    border: 1px solid rgba(0, 234, 255, 0.6);
    background: rgba(0, 234, 255, 0.12);
    color: #b8faff;
    padding: 12px 32px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    text-decoration: none;
}

.main-btn:hover {
    background: #00eaff;
    color: #0b1f29;
    box-shadow: 0 0 22px rgba(0, 234, 255, 0.45);
}

/* RESPONSIVE */
@media (max-width: 992px) {

    .main-container {
        flex-direction: column-reverse;
        padding: 20px 4%;
        gap: 25px;
        text-align: center;
    }

    .text-column {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .description {
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .main-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .main-btn {
        width: 100%;
        padding: 14px 0;
        font-size: 1rem;
    }

    /* 🔥 مهم‌ترین اصلاحات برای نمایش عکس */
    .parallax-scene {
        width: 100%;
        max-width: 360px;
        aspect-ratio: unset;     /* نسبت ثابت حذف شد */
        height: 480px;           /* ارتفاع کافی */
    }

    .person-layer {
        bottom: 0;               /* دیگر پایین نمی‌افتد */
        height: auto;            /* ارتفاع طبیعی */
        max-height: 100%;        /* داخل کادر می‌ماند */
        transform: translateX(-50%);
    }

    .wall-layer {
        height: 100%;
        object-fit: cover