/* ==========================================
   Hero Section - Base & Desktop
========================================== */

.hero {
    position: relative;
    width: 100%;
        height: 760px;
    min-height: 760px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #121212; /* رنگ رزرو برای قبل از لود عکس جهت جلوگیری از پرش سفید */
    background-image: url("/files/pics/heroPic1.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 26%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    padding: 0 30px;
    text-align: center;
    z-index: 2;
    box-sizing: border-box;
}

.hero-content h1 {
    margin: 0;
    font-size: 62px;
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
    white-space: nowrap;
    text-align: center;
    text-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.55),
        0 8px 22px rgba(0, 0, 0, 0.35);
}

.hero-content p {
    margin: 42px auto 0;
    display: inline-block;
    padding: 10px 24px;
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.9;
}

/* ==========================================
   Tablet (max-width: 992px)
========================================== */

@media (max-width: 992px) {
    .hero {
        min-height: 500px;
        height: auto;
    }

    .hero-content {
        width: 90%;
        max-width: 90%;
    }

    .hero-content h1 {
        font-size: 46px;
        white-space: normal;
        line-height: 1.5;
    }

    .hero-content p {
        font-size: 18px;
        line-height: 1.8;
    }
}

/* ==========================================
   Mobile
========================================== */

@media (max-width: 768px) {
    .hero {
        position: relative;
        width: 100%;
        height: 360px;
        min-height: 360px;
        max-height: 360px;

        margin: 0;
        padding: 0;

        display: flex;
        align-items: center;
        justify-content: center;

        background-color: #121212;
        background-image: url("/files/pics/MobPic1.png");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: 72% center;

        box-sizing: border-box;
        overflow: hidden;
    }

    .hero-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;

        width: 92%;
        max-width: 92%;
        margin: 0 auto;
        padding: 0;

        text-align: center;
        z-index: 2;
        box-sizing: border-box;
    }

    .hero-content h1 {
        margin: 0;
        font-size: 24px;
        font-weight: 900;
        line-height: 1.5;
        white-space: normal;
    }

    .hero-content p {
        margin: 14px auto 0;
        padding: 10px 14px;
        font-size: 13px;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 21px;
    }

    .hero-content p {
        padding: 8px 12px;
        font-size: 12px;
    }
}
