/*
Theme Name: UP Turkey Luxury
Theme URI: https://tr.upmobile.ir/
Author: UP Mobile
Description: قالب اختصاصی سبک و سریع برای سرویس خرید از ترکیه آپ موبایل.
Version: 1.0.0
Text Domain: up-turkey
*/

/* ============================================
   ریشه و متغیرها
   ============================================ */
:root {
    --up-navy: #0B1F3A;
    --up-navy-2: #102B4F;
    --up-gold: #D4AF37;
    --up-gold-light: #E6C15A;
    --up-gold-dark: #B8962A;
    --up-cream: #F8F6F1;
    --up-white: #FFFFFF;
    --up-text: #111827;
    --up-muted: #667085;
    --up-border: #E7E2D7;
    --up-success: #18794E;
    --up-danger: #B42318;
    --up-radius: 18px;
    --up-shadow: 0 12px 40px rgba(11, 31, 58, .08);
    --up-shadow-hover: 0 16px 48px rgba(11, 31, 58, .12);
    --up-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   ریست و پایه
   ============================================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--up-cream);
    color: var(--up-text);
    font-family: 'Tahoma', 'Arial', sans-serif;
    line-height: 1.8;
    direction: rtl;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--up-transition);
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}

/* ============================================
   هدر
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 31, 58, .97);
    border-bottom: 1px solid rgba(212, 175, 55, .22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 800;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border: 1px solid var(--up-gold);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--up-gold);
    font-size: 18px;
}

.brand-text {
    font-size: 20px;
    letter-spacing: -0.5px;
}

.brand-text small {
    display: block;
    color: #c9d1dc;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #e8edf3;
    font-size: 14px;
}

.main-nav a {
    padding: 6px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--up-gold);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--up-gold-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: 0;
    color: #fff;
    font-size: 22px;
    padding: 5px;
}

/* ============================================
   دکمه‌ها
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: var(--up-transition);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.btn-primary {
    background: var(--up-gold);
    color: #111;
}

.btn-primary:hover {
    background: var(--up-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, .3);
}

.btn-outline {
    border-color: rgba(212, 175, 55, .55);
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--up-gold);
    color: var(--up-gold-light);
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    color: var(--up-navy);
}

.btn-light:hover {
    background: var(--up-cream);
}

.btn-dark {
    background: var(--up-navy);
    color: #fff;
}

.btn-dark:hover {
    background: var(--up-navy-2);
}

.btn-success {
    background: var(--up-success);
    color: #fff;
}

.btn-success:hover {
    background: #146C43;
}

.btn-danger {
    background: var(--up-danger);
    color: #fff;
}

.btn-danger:hover {
    background: #991B10;
}

.btn-full {
    width: 100%;
}

.btn-large {
    min-height: 56px;
    padding: 0 40px;
    font-size: 16px;
}

.btn-sm {
    min-height: 36px;
    padding: 0 16px;
    font-size: 12px;
}

/* ============================================
   بخش قهرمان (Hero)
   ============================================ */
.hero {
    padding: 92px 0 76px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(212, 175, 55, .08);
    left: -220px;
    top: -220px;
    filter: blur(2px);
}

.hero::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(212, 175, 55, .05);
    right: -100px;
    bottom: -100px;
    filter: blur(1px);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.eyebrow {
    color: #92751f;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.25;
    margin: 14px 0 20px;
    color: var(--up-navy);
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: #9B7A19;
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(212, 175, 55, .3);
    border-radius: 2px;
}

.hero p {
    font-size: 18px;
    color: var(--up-muted);
    max-width: 650px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(11, 31, 58, .08);
}

.hero-stats div {
    text-align: center;
}

.hero-stats strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--up-gold-dark);
}

.hero-stats span {
    font-size: 13px;
    color: var(--up-muted);
}

.hero-card {
    background: var(--up-navy);
    color: #fff;
    border-radius: 28px;
    padding: 34px;
    box-shadow: var(--up-shadow);
    position: relative;
    overflow: hidden;
}

.hero-card::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(212, 175, 55, .28);
    border-radius: 50%;
    left: -80px;
    bottom: -80px;
}

.hero-card::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(212, 175, 55, .12);
    border-radius: 50%;
    right: -40px;
    top: -40px;
}

.hero-card h3 {
    margin: 0 0 8px;
    font-size: 23px;
}

.hero-card p {
    color: #cbd5e1;
    font-size: 14px;
    max-width: 100%;
}

.link-box {
    background: #fff;
    border-radius: 14px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .12);
    margin-top: 24px;
    color: #667085;
    font-size: 13px;
    word-break: break-all;
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 22px;
}

.trust-item {
    padding: 14px;
    border: 1px solid rgba(212, 175, 55, .22);
    border-radius: 14px;
    text-align: center;
    transition: var(--up-transition);
}

.trust-item:hover {
    background: rgba(212, 175, 55, .08);
    transform: translateY(-2px);
}

.trust-item strong {
    display: block;
    color: var(--up-gold);
    font-size: 19px;
}

.trust-item span {
    font-size: 11px;
    color: #cbd5e1;
}

/* ============================================
   بخش‌های عمومی
   ============================================ */
.section {
    padding: 76px 0;
}

.section-alt {
    background: #fff;
}

.section-head {
    max-width: 720px;
    margin-bottom: 40px;
}

.section-head .eyebrow {
    margin-bottom: 4px;
}

.section-head h2 {
    font-size: 34px;
    line-height: 1.35;
    color: var(--up-navy);
    margin: 8px 0 10px;
}

.section-head p {
    color: var(--up-muted);
    margin: 0;
}

/* ============================================
   مراحل کاری
   ============================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.step {
    background: #fff;
    border: 1px solid var(--up-border);
    border-radius: var(--up-radius);
    padding: 24px;
    position: relative;
    transition: var(--up-transition);
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--up-shadow-hover);
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--up-navy);
    color: var(--up-gold);
    font-weight: 800;
    margin-bottom: 18px;
}

.step h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--up-navy);
}

.step p {
    margin: 0;
    color: var(--up-muted);
    font-size: 13px;
    line-height: 1.7;
}

/* ============================================
   فروشگاه‌های معتبر
   ============================================ */
.section-stores {
    background: #fafafa;
}

.stores-category {
    margin-bottom: 32px;
}

.stores-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--up-navy);
    margin: 0 0 16px 0;
    padding-right: 14px;
    border-right: 3px solid var(--up-gold);
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.store-item {
    background: #fff;
    padding: 16px 12px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    transition: var(--up-transition);
    border: 1px solid var(--up-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90px;
}

.store-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--up-shadow-hover);
    border-color: var(--up-gold);
}

.store-logo {
    display: block;
    height: 32px;
    width: auto;
    margin: 0 auto 6px;
    max-width: 80px;
    object-fit: contain;
}

/* استایل جایگزین برای لوگوهایی که لود نمی‌شوند */
.store-item .store-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--up-text);
    margin-top: 4px;
}

/* ============================================
   نظرات مشتریان
   ============================================ */
.section-testimonials {
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.testimonial {
    background: #fff;
    padding: 28px 28px 24px;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .06);
    transition: var(--up-transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--up-shadow-hover);
}

.testimonial-stars {
    color: #f5b342;
    font-size: 18px;
    margin-bottom: 12px;
}

.testimonial p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 12px;
}

.testimonial-author {
    font-weight: 700;
    color: var(--up-gold-dark);
    font-size: 14px;
}

/* ============================================
   سوالات متداول
   ============================================ */
.section-faq {
    background: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 40px;
    margin-top: 30px;
}

.faq-item {
    border-bottom: 1px solid var(--up-border);
    padding: 16px 0;
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--up-navy);
    margin-bottom: 4px;
}

.faq-item p {
    font-size: 14px;
    color: var(--up-muted);
    line-height: 1.7;
}

/* ============================================
   بنر لوکس (دعوت به اقدام)
   ============================================ */
.luxury-banner {
    background: var(--up-navy);
    color: #fff;
    border-radius: 28px;
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.luxury-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(212, 175, 55, .05);
    right: -100px;
    bottom: -100px;
}

.luxury-banner .eyebrow {
    color: var(--up-gold);
}

.luxury-banner h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
}

.luxury-banner p {
    margin: 0;
    color: #cbd5e1;
}

.luxury-banner .btn {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

/* ============================================
   فوتر
   ============================================ */
.site-footer {
    background: #07182D;
    color: #cbd5e1;
    padding: 52px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.site-footer h3 {
    color: #fff;
    margin-top: 0;
    font-size: 18px;
}

.site-footer a:hover {
    color: var(--up-gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 35px;
    padding-top: 18px;
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
}

/* ============================================
   ریسپانسیو
   ============================================ */

/* تبلت */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .steps {
        grid-template-columns: 1fr 1fr;
    }
    
    .stores-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .header-inner {
        min-height: 68px;
    }
    
    .header-actions .btn-outline {
        display: none;
    }
    
    .hero {
        padding: 56px 0 48px;
    }
    
    .hero h1 {
        font-size: 34px;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    .hero-card {
        padding: 24px;
    }
    
    .trust-row {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .section {
        padding: 48px 0;
    }
    
    .section-head h2 {
        font-size: 26px;
    }
    
    .steps {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    
    .step {
        padding: 18px;
    }
    
    .stores-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .store-logo {
        height: 24px;
        max-width: 60px;
    }
    
    .store-item {
        min-height: 70px;
        padding: 12px 8px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .luxury-banner {
        padding: 28px;
        flex-direction: column;
        text-align: center;
    }
    
    .luxury-banner h2 {
        font-size: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
}

/* موبایل کوچک */
@media (max-width: 480px) {
    .container {
        width: min(100% - 16px, 1180px);
    }
    
    .hero {
        padding: 40px 0 32px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-card {
        padding: 18px;
        border-radius: 20px;
    }
    
    .stores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .store-logo {
        height: 20px;
        max-width: 50px;
    }
    
    .store-item {
        min-height: 60px;
        padding: 8px 4px;
    }
    
    .store-item .store-name {
        font-size: 10px;
    }
    
    .step {
        padding: 14px;
    }
    
    .step h3 {
        font-size: 14px;
    }
    
    .step p {
        font-size: 12px;
    }
    
    .section-head h2 {
        font-size: 22px;
    }
    
    .luxury-banner {
        padding: 20px;
        border-radius: 18px;
    }
    
    .luxury-banner h2 {
        font-size: 20px;
    }
    
    .luxury-banner .btn {
        width: 100%;
        justify-content: center;
    }
    
    .testimonial {
        padding: 20px;
    }
}
/* ==============================================
   فونت سراسری وزیرمتن
   ============================================== */

/* اعمال روی کل سایت */
html, body, 
button, input, select, textarea,
.entry-content, .widget, 
h1, h2, h3, h4, h5, h6,
p, span, div, a, li, ul, ol,
.post-title, .site-title, .site-description,
.wp-block-*, .menu-item, .nav-link {
    font-family: 'Vazirmatn', 
                 'Vazirmatn RD', 
                 'Tahoma', 
                 'Arial', 
                 sans-serif !important;
}

/* اعداد فارسی و لاتین */
body {
    font-feature-settings: "ss01";
    -webkit-font-feature-settings: "ss01";
}

/* وزن‌های مختلف */
h1, h2, h3 {
    font-weight: 700;
}
h4, h5, h6 {
    font-weight: 600;
}
strong, b {
    font-weight: 700;
}
button, .btn, input[type="submit"] {
    font-weight: 600;
}

/* اعداد در جهت LTR */
.ltr-input, 
input[dir="ltr"],
[dir="ltr"] {
    direction: ltr;
    text-align: left;
}
/* =========================================
   استایل اختصاصی کارت‌های برند
   ========================================= */
.up-fc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 30px 0; font-family: 'Vazirmatn', Tahoma, sans-serif; direction: rtl; }
.up-fc-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #eee; display: flex; flex-direction: column; transition: 0.3s ease; }
.up-fc-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-color: #D4AF37; }
.up-fc-image { width: 100%; height: 140px; background: #f8f9fa; display: flex; align-items: center; justify-content: center; padding: 15px; border-bottom: 1px solid #f0f0f0; }
.up-fc-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.up-fc-no-image { color: #aaa; font-size: 12px; }
.up-fc-body { padding: 15px; display: flex; flex-direction: column; flex: 1; text-align: center; }
.up-fc-title { margin: 0 0 15px; font-size: 16px; font-weight: 800; color: #1a2b4c; }
.up-fc-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.up-fc-btn { display: block; width: 100%; padding: 9px; border-radius: 8px; font-size: 12px; font-weight: bold; text-decoration: none; transition: 0.2s; box-sizing: border-box; }
.up-btn-outline { background: #fff; color: #1a2b4c; border: 2px solid #1a2b4c; }
.up-btn-outline:hover { background: #1a2b4c; color: #fff; }
.up-btn-gold { background: linear-gradient(135deg, #D4AF37, #b8972f); color: #fff; }
.up-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4); }
.up-btn-navy { background: #1a2b4c; color: #fff; }
.up-btn-navy:hover { background: #0f1a2e; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(26, 43, 76, 0.4); }
@media (max-width: 900px) {
    .up-fc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .up-fc-image { height: 100px; padding: 10px; }
    .up-fc-body { padding: 12px 10px; }
    .up-fc-title { font-size: 14px; }
    .up-fc-btn { font-size: 11px; padding: 8px; }
}