/*
Theme Name: Namak WP
Theme URI:  
Author: میزبان وب گستر
Author URI: https://mizbanwebgostar.ir/
Description: قالب فرزند اختصاصی برای قالب Hello Elementor - پروژه نمک
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: namak-wp
*/

/* ===== استایل‌های پایه ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    direction: rtl;
}

/* استایل محتوای اصلی */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ===== استایل‌های صفحه درباره ما ===== */

/* بخش اصلی */
.about-us-section {
    padding: 40px 0 30px;
    background: linear-gradient(to bottom, #ffffff, #f0f9ff);
}

.about-us-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* شبکه دو ستونه */
.about-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1024px;
    margin: 0 auto;
}

/* ===== ستون لوگو ===== */
.about-us-logo {
    position: relative;
}

/* هاله آبی دور لوگو */
.about-us-logo::before {
    content: '';
    position: absolute;
    inset: -24px;
    background: rgba(96, 165, 250, 0.15);
    border-radius: 24px;
    filter: blur(40px);
    transition: all 0.5s ease;
    z-index: 0;
}

.about-us-logo:hover::before {
    filter: blur(50px);
    background: rgba(96, 165, 250, 0.2);
}

/* کادر لوگو */
.about-us-logo-box {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
                0 10px 10px -5px rgba(59, 130, 246, 0.15);
    border: 2px solid #bfdbfe;
    padding: 24px;
    transition: all 0.5s ease;
    z-index: 1;
}

.about-us-logo-box:hover {
    border-color: #60a5fa;
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.3);
}

.about-us-logo-box img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.about-us-logo-box:hover img {
    transform: scale(1.05);
}

/* گیره تزیینی لوگو */
.about-us-logo-clip {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.about-us-logo-clip div {
    width: 24px;
    height: 24px;
    background: linear-gradient(to bottom, #d1d5db, #9ca3af);
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ===== ستون متن ===== */
.about-us-text {
    position: relative;
}

/* هاله آبی دور متن */
.about-us-text::before {
    content: '';
    position: absolute;
    inset: -16px;
    background: rgba(96, 165, 250, 0.08);
    border-radius: 24px;
    filter: blur(40px);
    transition: all 0.5s ease;
    z-index: 0;
}

.about-us-text:hover::before {
    filter: blur(50px);
    background: rgba(96, 165, 250, 0.15);
}

/* کاغذ یادداشت متن */
.about-us-text-box {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 
                0 10px 10px -5px rgba(59, 130, 246, 0.15);
    border: 2px solid #bfdbfe;
    padding: 32px 32px 28px;
    transition: all 0.5s ease;
    z-index: 1;
}

.about-us-text-box:hover {
    border-color: #60a5fa;
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.25);
}

/* عنوان */
.about-us-text-box h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    border-bottom: 2px solid #bfdbfe;
    padding-bottom: 14px;
    margin: 0 0 18px 0;
}

.about-us-text-box h3 span {
    color: #3b82f6;
}

/* پاراگراف */
.about-us-text-box p {
    color: #374151;
    line-height: 1.9;
    font-size: 15px;
    margin: 0 0 18px 0;
    text-align: justify;
}

/* امضا */
.about-us-signature {
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
    border-top: 2px solid #bfdbfe;
    font-size: 13px;
    color: #6b7280;
}

/* گیره تزیینی متن */
.about-us-text-clip {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.about-us-text-clip div {
    width: 24px;
    height: 24px;
    background: linear-gradient(to bottom, #d1d5db, #9ca3af);
    border-radius: 50%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ===== موج‌های زیر بخش ===== */
.about-us-waves {
    position: relative;
    overflow: hidden;
    height: 50px;
    margin-top: -1px;
}

.about-us-waves svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* ===== استایل فوتر ===== */
.site-footer {
    width: 100% !important;
    max-width: 100% !important;
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    margin-top: 50px;
    text-align: center;
    box-sizing: border-box;
}

/* اگر فوتر داخل سایت مین محدود شده */
.site-main .site-footer {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* محتوای داخلی فوتر */
.site-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-footer p {
    margin: 5px 0;
    font-size: 14px;
}

.site-footer a {
    color: #60a5fa;
    text-decoration: none;
}

.site-footer a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* ===== واکنش‌گرایی ===== */

/* تبلت و موبایل بزرگ */
@media (max-width: 992px) {
    .about-us-grid {
        gap: 32px;
    }
    
    .about-us-text-box h3 {
        font-size: 22px;
    }
    
    .about-us-text-box p {
        font-size: 14px;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .about-us-section {
        padding: 24px 0 20px;
    }
    
    .about-us-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-us-logo-box {
        padding: 16px;
    }
    
    .about-us-logo-box img {
        max-height: 250px;
    }
    
    .about-us-text-box {
        padding: 24px 20px 20px;
    }
    
    .about-us-text-box h3 {
        font-size: 20px;
        padding-bottom: 10px;
        margin-bottom: 14px;
    }
    
    .about-us-text-box p {
        font-size: 14px;
        line-height: 1.8;
    }
    
    .about-us-logo::before {
        inset: -12px;
        filter: blur(30px);
    }
    
    .about-us-text::before {
        inset: -8px;
        filter: blur(30px);
    }
    
    .site-footer {
        padding: 20px 0;
    }
}

/* موبایل خیلی کوچک */
@media (max-width: 480px) {
    .about-us-text-box h3 {
        font-size: 18px;
    }
    
    .about-us-text-box p {
        font-size: 13px;
    }
    
    .about-us-logo-box img {
        max-height: 200px;
    }
    
    .about-us-text-box {
        padding: 18px 14px 16px;
    }
}