/*
Theme Name: شمسه IT
Theme URI: https://example.com
Author: Shamseh IT Hub
Author URI: https://example.com
Description: پوسته اختصاصی شرکتی/خدماتی «فناوری اطلاعات شمسه». شامل صفحه فرود کامل (اسلایدر، خدمات، تعرفه‌ها، فرم تماس فوری متصل به دیتابیس وردپرس) و قالب‌های استاندارد برای نوشته‌ها و صفحات. کاملاً سازگار با المنتور (Elementor) و راست‌چین (RTL).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shamseh-it
Tags: rtl-language-support, custom-menu, translation-ready, one-column, custom-logo, footer-widgets

این پوسته یک پروژه سفارشی است و برای استفاده اختصاصی مجموعه شمسه طراحی شده است.
*/

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/vazirmatn-font-face.css');
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Vazirmatn', sans-serif;
            scroll-behavior: smooth;
        }

        body {
            background-color: #fdfbf7;
            color: #1e293b;
            line-height: 1.8;
            overflow-x: hidden;
        }

        .container {
            width: 85%;
            max-width: 1200px;
            margin: 0 auto;
        }

        /* --- هدر شیشه‌ای مدرن --- */
        header {
            background-color: rgba(253, 251, 247, 0.85);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(226, 232, 240, 0.8);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            transition: all 0.3s ease;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 0;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }

        .logo-text {
            font-size: 1.3rem;
            font-weight: 900;
            color: #0f172a;
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }

        .logo-text .brand-sub {
            font-size: 0.75rem;
            color: #b45309;
            font-weight: 700;
            letter-spacing: 1px;
            margin-top: 4px;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        .nav-links a {
            text-decoration: none;
            color: #475569;
            font-size: 0.95rem;
            font-weight: 600;
            transition: color 0.2s;
        }

        .nav-links a:hover {
            color: #1e3a8a;
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            background: none;
            border: none;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background-color: #0f172a;
            border-radius: 2px;
            transition: 0.3s;
        }

        /* --- اسلایدشو با افکت انیمیشن حرکتی --- */
        .slider-section {
            position: relative;
            width: 100%;
            height: 75vh; 
            overflow: hidden;
            background-color: #0f172a;
            margin-top: 73px;
        }

        .slides {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            z-index: 1;
            transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .slide.active {
            opacity: 1;
            z-index: 2;
        }

        .slide img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(25%);
            transform: scale(1.1);
            transition: transform 5s ease;
        }

        .slide.active img {
            transform: scale(1);
        }

        .slide-content {
            position: relative;
            z-index: 3;
            max-width: 850px;
            padding: 0 20px;
            text-align: center;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease 0.4s;
        }

        .slide.active .slide-content {
            opacity: 1;
            transform: translateY(0);
        }

        .slide-content h1 {
            font-size: 2.5rem;
            font-weight: 900;
            margin-bottom: 20px;
            line-height: 1.5;
            color: #ffffff;
            text-shadow: 0 4px 15px rgba(0,0,0,0.5);
        }

        .slide-content p {
            font-size: 1.15rem;
            color: #cbd5e1;
            margin-bottom: 35px;
        }

        .btn-primary {
            display: inline-block;
            background-color: #1e3a8a;
            color: #ffffff;
            padding: 14px 35px;
            text-decoration: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 700;
            border: 1px solid #b45309;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
        }

        .btn-primary:hover {
            background-color: #b45309;
            border-color: #1e3a8a;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(180, 83, 9, 0.4);
        }

        /* --- دکمه شناور تماس فوری تپنده --- */
        .floating-cta {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 999;
            background-color: #10b981; 
            color: white;
            width: 65px;
            height: 65px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
            text-decoration: none;
            transition: transform 0.3s ease;
            animation: pulse 2s infinite;
        }

        .floating-cta:hover {
            transform: scale(1.1);
        }

        .floating-cta svg {
            width: 28px;
            height: 28px;
            fill: white;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
            70% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
            100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
        }

        /* --- بخش استراتژیک ش‌م‌س‌ه --- */
        .acrostic-section {
            padding: 90px 0;
            background-color: #ffffff;
        }

        .acrostic-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .acrostic-header h2 {
            font-size: 2.2rem;
            font-weight: 900;
            color: #1e3a8a;
        }

        .acrostic-header p {
            color: #475569;
            margin-top: 15px;
            font-size: 1.15rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.8;
        }

        .acrostic-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
            margin-top: 40px;
        }

        .acrostic-card {
            background: #fdfbf7;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 45px 25px 35px 25px;
            text-align: center;
            position: relative;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01);
        }

        .acrostic-card:hover {
            transform: translateY(-7px);
            border-color: #b45309;
            box-shadow: 0 15px 30px -5px rgba(180, 83, 9, 0.12);
        }

        .letter-badge {
            position: absolute;
            top: -28px;
            left: 50%;
            transform: translateX(-50%);
            width: 56px;
            height: 56px;
            background-color: #1e3a8a;
            color: #ffffff;
            font-size: 1.8rem;
            font-weight: 900;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            border: 3px solid #b45309;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        .acrostic-card h3 {
            font-size: 1.25rem;
            font-weight: 800;
            color: #0f172a;
            margin-bottom: 15px;
        }

        .acrostic-card p {
            font-size: 0.95rem;
            color: #475569;
            text-align: justify;
            line-height: 1.75;
        }

        /* --- بخش مزیت محلی --- */
        .local-advantage {
            padding: 80px 0;
            background-color: #f8fafc;
            border-top: 1px solid #e2e8f0;
        }

        .advantage-box {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 45px;
            display: flex;
            align-items: center;
            gap: 40px;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.01);
        }

        .advantage-text {
            flex: 2;
        }

        .advantage-text h2 {
            font-size: 1.8rem;
            color: #1e3a8a;
            margin-bottom: 15px;
            font-weight: 800;
        }

        .advantage-text p {
            color: #475569;
            text-align: justify;
            font-size: 1.05rem;
        }

        .advantage-time {
            flex: 1;
            background: #1e3a8a;
            color: #ffffff;
            text-align: center;
            padding: 35px 20px;
            border-radius: 12px;
            border: 2px solid #b45309;
            box-shadow: 0 10px 20px rgba(30, 58, 138, 0.15);
        }

        .advantage-time .num {
            font-size: 3.8rem;
            font-weight: 900;
            color: #fdfbf7;
            line-height: 1;
        }

        .advantage-time .label {
            font-size: 1.1rem;
            margin-top: 12px;
            font-weight: 700;
        }

        /* --- بخش تحلیل و منطق اقتصادی --- */
        .insights-section {
            padding: 90px 0;
            background-color: #ffffff;
            border-top: 1px solid #e2e8f0;
        }

        .insights-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 20px;
        }

        .insight-card {
            background: #fdfbf7;
            border: 1px solid #e2e8f0;
            padding: 35px;
            border-radius: 12px;
            position: relative;
        }

        .insight-card::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 4px;
            height: 100%;
            background-color: #b45309;
            border-top-right-radius: 12px;
            border-bottom-right-radius: 12px;
        }

        .insight-card h3 {
            font-size: 1.2rem;
            font-weight: 800;
            color: #1e3a8a;
            margin-bottom: 15px;
        }

        .insight-card p {
            font-size: 0.95rem;
            color: #475569;
            text-align: justify;
        }

        /* --- بخش پکیج‌ها --- */
        .pricing {
            padding: 90px 0;
            background-color: #f8fafc;
            border-top: 1px solid #e2e8f0;
        }

        .pricing-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 20px;
        }

        .price-card {
            border: 1px solid #e2e8f0;
            padding: 40px 30px;
            border-radius: 16px;
            background: #ffffff;
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: all 0.3s ease;
        }

        .price-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        }

        .price-card.popular {
            border-color: #b45309;
            border-width: 2px;
            box-shadow: 0 20px 40px rgba(180, 83, 9, 0.08);
            position: relative;
        }

        .price-card.popular:hover {
            box-shadow: 0 25px 50px rgba(180, 83, 9, 0.15);
        }

        .badge {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: #b45309;
            color: #ffffff;
            padding: 4px 18px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 700;
            white-space: nowrap;
        }

        .price-card h3 {
            font-size: 1.3rem;
            color: #0f172a;
            margin-bottom: 8px;
        }

        .price {
            font-size: 1.9rem;
            font-weight: 900;
            color: #1e3a8a;
            margin: 25px 0;
        }

        .price span {
            font-size: 0.85rem;
            color: #64748b;
            font-weight: normal;
        }

        .price-features {
            list-style: none;
            text-align: right;
            margin-bottom: 35px;
            flex-grow: 1;
        }

        .price-features li {
            font-size: 0.95rem;
            color: #475569;
            margin-bottom: 14px;
            line-height: 1.6;
        }

        /* --- فرم مشاوره سریع --- */
        .lead-form-section {
            padding: 70px 0;
            background-color: #ffffff;
            border-top: 1px solid #e2e8f0;
        }

        .form-wrapper {
            max-width: 650px;
            margin: 0 auto;
            background: #fdfbf7;
            border: 1px solid #e2e8f0;
            padding: 40px;
            border-radius: 16px;
            text-align: center;
        }

        .form-wrapper h3 {
            font-size: 1.5rem;
            color: #1e3a8a;
            margin-bottom: 10px;
        }

        .form-group {
            display: flex;
            gap: 15px;
            margin-top: 25px;
        }

        .form-group input {
            flex: 2;
            padding: 14px;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            font-size: 1rem;
            outline: none;
            transition: border 0.2s;
        }

        .form-group input:focus {
            border-color: #1e3a8a;
            box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
        }

        .form-group button {
            flex: 1;
            background: #1e3a8a;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.2s;
        }

        .form-group button:hover {
            background: #b45309;
        }

        /* --- اسلایدر لوگو مشتریان --- */
        .clients-section {
            padding: 60px 0;
            background-color: #ffffff;
            overflow: hidden;
            border-top: 1px solid #e2e8f0;
        }

        .logo-slider {
            width: 100%;
            overflow: hidden;
            display: flex;
            position: relative;
        }

        .logo-track {
            display: flex;
            gap: 30px;
            animation: scroll 25s linear infinite;
            width: max-content;
        }

        .logo-item {
            font-size: 0.95rem;
            font-weight: 700;
            color: #334155;
            background: #fdfbf7;
            padding: 14px 30px;
            border-radius: 10px;
            white-space: nowrap;
            border: 1px solid #e2e8f0;
        }

        @keyframes scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(50%); }
        }

        /* --- فوتر --- */
        footer {
            padding: 60px 0 30px 0;
            background-color: #0f172a;
            color: #f8fafc;
        }

        .footer-grid {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 30px;
        }

        .footer-info p {
            color: #94a3b8;
            margin-top: 5px;
        }

        .copyright {
            text-align: center;
            color: #64748b;
            font-size: 0.85rem;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 25px;
            margin-top: 40px;
        }

        /* --- طراحی ریسپانسیو مچ شده --- */
        @media (max-width: 992px) {
            .acrostic-grid { grid-template-columns: repeat(2, 1fr); gap: 45px 25px; }
            .insights-grid, .pricing-grid { grid-template-columns: 1fr; }
            .advantage-box { flex-direction: column; text-align: center; padding: 30px; }
            .advantage-time { width: 100%; }
        }

        @media (max-width: 768px) {
            .form-group { flex-direction: column; }
            .menu-toggle { display: flex; }
            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: #fdfbf7;
                padding: 20px;
                border-bottom: 1px solid #e2e8f0;
                gap: 20px;
                box-shadow: 0 10px 15px rgba(0,0,0,0.05);
            }
            .nav-links.show { display: flex; }
            .floating-cta { bottom: 20px; right: 20px; width: 55px; height: 55px; }
        }

        @media (max-width: 576px) {
            .acrostic-grid { grid-template-columns: 1fr; gap: 45px 0; }
            .slide-content h1 { font-size: 1.8rem; }
            .slider-section { height: 60vh; }
        }


/* -----------------------------------------------------------------------
   استایل‌های عمومی برای نوشته‌ها/صفحات استاندارد (خارج از قالب لندینگ)
   ----------------------------------------------------------------------- */

.site-generic-wrap {
    margin-top: 73px;
    padding: 70px 0 90px 0;
    min-height: 50vh;
}

.site-generic-wrap .container {
    max-width: 900px;
}

.entry-header {
    margin-bottom: 35px;
    text-align: center;
}

.entry-title {
    font-size: 2rem;
    font-weight: 900;
    color: #1e3a8a;
    line-height: 1.5;
    margin-bottom: 12px;
}

.entry-meta {
    color: #94a3b8;
    font-size: 0.9rem;
}

.entry-content {
    font-size: 1.05rem;
    color: #334155;
    text-align: justify;
    line-height: 2;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.entry-content a {
    color: #b45309;
    text-decoration: underline;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: #1e3a8a;
    margin: 30px 0 15px 0;
    font-weight: 800;
}

.entry-content ul,
.entry-content ol {
    padding-right: 25px;
    margin-bottom: 20px;
}

.archive-title,
.page-title {
    font-size: 1.8rem;
    color: #1e3a8a;
    font-weight: 900;
    margin-bottom: 35px;
    text-align: center;
}

.post-list-item {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    background: #fdfbf7;
    transition: all 0.3s ease;
}

.post-list-item:hover {
    border-color: #b45309;
    box-shadow: 0 10px 25px rgba(180, 83, 9, 0.08);
}

.post-list-item h2 a {
    color: #0f172a;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 800;
}

.post-list-item h2 a:hover {
    color: #1e3a8a;
}

.post-list-item .entry-meta {
    margin: 10px 0;
}

.post-list-item .excerpt {
    color: #475569;
}

.pagination-nav {
    text-align: center;
    margin-top: 40px;
}

.pagination-nav a,
.pagination-nav span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1e3a8a;
    text-decoration: none;
}

.pagination-nav .current {
    background: #1e3a8a;
    color: #fff;
    border-color: #1e3a8a;
}

.comments-area {
    margin-top: 50px;
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

.site-footer-widgets {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 20px 0;
}

.site-footer-widgets .footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.site-footer-widgets .widget-title {
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .site-footer-widgets .footer-widgets-grid {
        grid-template-columns: 1fr;
    }
}

/* آواتار پیش‌فرض المنتور canvas صفحات - جلوگیری از تداخل مارجین هدر روی صفحاتی که با المنتور کانواس ساخته می‌شوند */
.elementor-template-canvas .shamseh-landing-root .slider-section,
body.elementor-page .shamseh-landing-root .slider-section {
    margin-top: 0;
}

/* -----------------------------------------------------------------------
   بلوک‌های هیرو صفحه اصلی (ساخته‌شده با ویجت‌های بومی المنتور)
   ----------------------------------------------------------------------- */
.hero-slide {
    position: relative !important;
    min-height: 60vh !important;
    display: flex !important;
    align-items: center !important;
    background-color: #0f172a; /* فقط پیش‌فرض/فال‌بک -- از المنتور قابل تغییر است */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden !important;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.72);
    z-index: 0;
}

.hero-slide > .elementor-container {
    position: relative;
    z-index: 1;
}

/* پس‌زمینه هر بلوک هیرو دیگر از طریق CSS اجباری تنظیم نمی‌شود؛ رنگ ناوی در
   قانون بالا (.hero-slide) به‌عنوان پیش‌فرض/فال‌بک باقی می‌ماند، اما شما
   می‌توانید از داخل المنتور (Style ← Background) برای هر بلوک عکس دلخواه
   خودتان را انتخاب کنید و بدون هیچ تداخلی نمایش داده می‌شود. */

.hero-slide .elementor-heading-title,
.hero-slide p {
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

/* -----------------------------------------------------------------------
   استایل مخصوص پرینت/PDF -- هدر و دکمه شناور را از حالت fixed خارج می‌کند
   تا در خروجی چاپی روی هر صفحه تکرار/هم‌پوشانی نشوند (فقط روی پرینت اثر
   دارد، ظاهر عادی سایت در مرورگر دست‌نخورده می‌ماند).
   ----------------------------------------------------------------------- */
@media print {
    header,
    .floating-cta {
        position: static !important;
    }
    .slider-section,
    .hero-slide {
        margin-top: 0 !important;
    }
}

/* لوگوی سفارشی آپلودشده در سفارشی‌سازی (Customizer) */
.logo-container img.custom-logo {
    max-height: 50px;
    width: auto;
}
