﻿
/* ====== WRAP (پس زمینه کرمی) ====== */
.nm-hero-wrap {
    background: #e9d6bf; /* بکگراند کل سکشن */
    padding: 190px 0 80px;
}

/* ====== WHITE CARD (80% laptop) ====== */
.nm-hero-card {
    position: relative;
    width: 80%;
    max-width: 1250px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(0,0,0,.18);
    min-height: 440px;
    overflow: visible; /* مهم: عکس بیرون بزند */
}

/* ====== IMAGE (overlap / خارج از کادر) ====== */
.nm-hero-img {
    position: absolute;
    left: -1px;
    top: 30%;
    transform: translateY(-50%);
    width: 530px;
    height: 629px;
    z-index: 3;
}

    .nm-hero-img img {
        width: 100%;
        height: 100%;
        object-position: center top;
        display: block;
        border-radius: 18px;
    }

/* ====== BODY (متن سمت راست) ====== */
.nm-hero-body {
    padding: 80px 70px 80px 465px; /* جا برای عکس */
    text-align: center;
}

.nm-hero-title {
    margin: 0 0 18px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.2;
    color: #7b1f2a; /* زرشکی */
	text-shadow:0px 1px 3px #483824;
}

.nm-hero-sub {
    margin: 0 0 30px;
    font-weight: 600;
    color: #5a3b3b;
	margin-top:35px !important;
	font-size:18px !important;
}

/* ====== BUTTON ====== */
.nm-hero-btn {
    display: inline-block;
    text-decoration: none;
    background: #6f1b27;
    color: #fff;
    padding: 13px 26px;
    border-radius: 10px;   
    box-shadow: 0 10px 22px rgba(111,27,39,.25);
    transition: .2s ease;
	word-spacing:4px;
}

    .nm-hero-btn:hover {
        background: #5c1620;
        transform: translateY(-2px);
    }

/* ====== Laptop smaller ====== */
@media (max-width: 1200px) {
    .nm-hero-card {
        width: 90%;
    }

    .nm-hero-img {
        left: -70px;
        width: 390px;
        height: 440px;
    }

    .nm-hero-body {
        padding-left: 460px;
        padding-right: 50px;
    }

    .nm-hero-title {
        font-size: 48px;
    }
}

/* ====== Tablet / Mobile ====== */
@media (max-width: 768px) {
    .nm-hero-wrap {
        padding: 50px 0 60px;
    }

    .nm-hero-card {
        width: 94%;
        min-height: unset;
        overflow: hidden; /* موبایل نیازی به بیرون زدگی نیست */
        border-radius: 18px;
    }
    /* عکس بالا */
    .nm-hero-img {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: 380px;
    }

        .nm-hero-img img {
            border-radius: 0; /* چون داخل کارت است */
            box-shadow: none;
            height: 100%;
            object-position: center top;
        }
    /* متن پایین */
    .nm-hero-body {
        padding: 22px 16px 26px;
    }

    .nm-hero-title {
        font-size: 34px;
        line-height: 1.15;
    }

    .nm-hero-sub {
        font-size: 14px;
    }
}

/* ====== Very small phones ====== */
@media (max-width: 420px) {
    .nm-hero-img {
        height: 330px;
    }

    .nm-hero-title {
        font-size: 30px;
    }
}


