﻿
/* ======================================================
       Narmela – Contact Page (match screenshot layout)
       Works Mobile / Tablet / Desktop + RTL support
       ====================================================== */
.nm-contact-wrap {
    padding: 70px 0;
    background: #ead7bf; /* رنگ کرم مثل اسکرین */
}

.nm-contact-head {
    max-width: 820px;
    margin: 0 auto 40px;
}

.nm-contact-title {
    font-size: 42px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #2b1f1b;
    margin-top: 50px;
	font-family: 'Amiri-Bold', sans-serif;
    text-shadow: 0px 1px 3px #9e886d;
}

.nm-contact-sub {
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #3a2b25;
}

/* Cards */
.nm-contact-cards {
    max-width: 820px;
    margin: 0 auto 45px;
}

.nm-card {
    background: #fff;
    border-radius: 10px;
    padding: 16px 18px;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    height: 100%;
}

.nm-card-tall {
    min-height: 120px;
}

.nm-card-label {
    font-weight: 700;
    text-transform: uppercase;
    color: #9a8a7d;
    font-size: 15px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.nm-card-value {
    font-size: 18px;
    color: #1f1a18;
    font-weight: 600;
}

.nm-link {
    display: inline-block;
    color: #1f1a18;
    text-decoration: none;
    margin-right: 10px;
}

    .nm-link:hover {
        text-decoration: underline;
    }

.nm-address-title {
    font-weight: 700;
    margin-bottom: 6px;
}

.nm-address-text {
    font-weight: 500;
    line-height: 1.6;
    color: #2a2320;
}

.nm-hours {
    font-weight: 600;
    line-height: 1.7;
}

/* Form */
.nm-contact-form {
    max-width: 820px;
    margin: 0 auto;
}

.nm-form-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #2b1f1b;
	font-family: 'Amiri-Bold', sans-serif;
    text-shadow: 0px 1px 3px #9e886d;
}

.nm-form {
    width: 100%;
}

.nm-field {
    margin-bottom: 12px;
}

.nm-input,
.nm-textarea {
    width: 100%;
    border: 1px solid rgba(0,0,0,.35);
    background: transparent;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 18px;
    outline: none;
}

.nm-textarea {
    resize: vertical;
    min-height: 150px;
}

    .nm-input:focus,
    .nm-textarea:focus {
        border-color: rgba(0,0,0,.65);
    }

.nm-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 10px 0;
    font-size: 23px;
    color: #2a2320;
}

    .nm-check input {
        margin-top: 3px;
        width: 30px;
        height: 30px;
        margin-left: 8px;
        border-radius: 6px; /* ⬅️ گردی ملایم */
        accent-color: #3b231a; /* رنگ تیک (مدرن) */
        cursor: pointer;
    }

.nm-btn {
    margin-top: 14px;
    background: #3b231a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size:18px;
    text-transform: lowercase;
	width:120px;
}

    .nm-btn:hover {
        opacity: .92;
    }

/* Responsive */
@media (max-width: 767.98px) {
    .nm-contact-wrap {
        padding: 45px 0;
    }

    .nm-contact-title {
        font-size: 32px;
    }

    .nm-contact-sub {
        font-size: 16px;
    }

    .nm-card-value {
        font-size: 16px;
    }

    .nm-input, .nm-textarea {
        font-size: 16px;
    }
}

/* RTL support */
html[dir="rtl"] .nm-contact-head,
html[dir="rtl"] .nm-contact-form {
    text-align: right;
}

html[dir="rtl"] .nm-link {
    margin-right: 0;
    margin-left: 10px;
}
/* ======================================================
       Narmela – Contact intro text justify fix
       ====================================================== */

.nm-contact-sub {
    max-width: 820px;
    margin: 0 auto;
    text-align: justify; /* شروع و پایان یکدست */
    text-justify: inter-word;
    line-height: 1.9;
    font-size: 18px;
    color: #3a2b25;
}

/* موبایل: خوانایی مهم‌تر از justify کامل */
@media (max-width: 767.98px) {
    .nm-contact-sub {
        text-align: left;
        line-height: 1.8;
        font-size: 16px;
        word-spacing: normal;
        hyphens: auto;
    }
}

/* RTL (اگر فارسی هم داری) */
html[dir="rtl"] .nm-contact-sub {
    text-align: justify;
    direction: rtl;
}

@media (max-width: 767.98px) {
    html [dir="rtl"] .nm-contact-sub {
        text-align: right;
    }
}

@media (max-width: 768px) {
    .nm-check {
        font-size: 14px !important;
        color: #2a2320;
    }
}











/* ======================================================
       Custom rounded checkbox
       ====================================================== */

.nm-check {
    position: relative;
    cursor: pointer;
}

    .nm-check input {
        position: absolute;
        opacity: 0;
    }

    .nm-check span {
        position: relative;
        padding-left: 32px;
        line-height: 1.6;
        cursor: pointer;
    }

        .nm-check span::before {
            content: "";
            position: absolute;
            left: 0;
            top: 2px;
            width: 25px;
            height: 25px;
            border-radius: 6px;
            border: 2px solid #3b231a;
            background: transparent;
        }

    .nm-check input:checked + span::before {
        background: #3b231a;
    }

    .nm-check input:checked + span::after {
        content: "✓";
        position: absolute;
        left: 4px;
        top: 0px;
        color: #fff;
        font-size: 14px;
    }


/* ======================================================
   Narmela – Contact form placeholder color
   ====================================================== */

/* Modern browsers */
.nm-input::placeholder,
.nm-textarea::placeholder {
    color: #000;
    opacity: 1; /* جلوگیری از خاکستری شدن */
}

/* Chrome / Safari / Edge */
.nm-input::-webkit-input-placeholder,
.nm-textarea::-webkit-input-placeholder {
    color: #000;
    opacity: 1;
}

/* Firefox */
.nm-input::-moz-placeholder,
.nm-textarea::-moz-placeholder {
    color: #000;
    opacity: 1;
}

/* IE / old Edge (اگر مهم نیست می‌تونی حذفش کنی) */
.nm-input:-ms-input-placeholder,
.nm-textarea:-ms-input-placeholder {
    color: #000;
}
