/**
 * استایل بخش Information
 * پلاگین Z-KND
 */

:root {
    --z-knd-primary-color: #2c3e50;
    --z-knd-primary-dark: #1a252f;
    --z-knd-primary-light: #34495e;
    --z-knd-text-color: #333;
    --z-knd-text-light: #666;
    --z-knd-bg-color: #ffffff;
    --z-knd-border-color: #e0e0e0;
    --z-knd-shadow: 0 2px 10px rgba(44, 62, 80, 0.1);
    --z-knd-shadow-hover: 0 4px 15px rgba(44, 62, 80, 0.2);
    --z-knd-border-radius: 12px;
    --z-knd-transition: all 0.3s ease;
}

/* کانتینر اصلی */
.z-knd-information-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 15px;
    font-family: inherit;
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
    overflow-x: hidden;
}

.z-knd-information-container {
    background: var(--z-knd-bg-color);
    border-radius: var(--z-knd-border-radius);
    padding: 30px 20px;
    box-shadow: var(--z-knd-shadow);
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* بخش ارتباط سریع */
.z-knd-quick-contact-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--z-knd-border-color);
}

.z-knd-quick-contact-title {
    color: var(--z-knd-primary-color);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-align: center;
}

.z-knd-quick-contact-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.z-knd-quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: var(--z-knd-border-radius);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: var(--z-knd-transition);
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.z-knd-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: #ffffff;
    border: 2px solid #25D366;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.z-knd-btn-whatsapp:hover {
    background: linear-gradient(135deg, #20BA5A 0%, #1DA851 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.z-knd-btn-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
    color: #ffffff;
    border: 2px solid #0088cc;
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.3);
}

.z-knd-btn-telegram:hover {
    background: linear-gradient(135deg, #0077b5 0%, #006699 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
    color: #ffffff;
}

.z-knd-quick-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.z-knd-quick-btn-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    transition: var(--z-knd-transition);
}

.z-knd-quick-btn:hover .z-knd-quick-btn-icon svg {
    transform: scale(1.1);
}

.z-knd-quick-btn-text {
    font-size: 15px;
    font-weight: 600;
}

/* بخش لوگو */
.z-knd-logo-section {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--z-knd-border-color);
}

.z-knd-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: var(--z-knd-transition);
    margin-bottom: 15px;
}

.z-knd-logo-link:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.z-knd-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
}

.z-knd-tagline {
    color: var(--z-knd-primary-color);
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0 0 0;
    line-height: 1.6;
}

/* بخش توضیحات */
.z-knd-description-section {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--z-knd-border-radius);
    border: 1px solid var(--z-knd-border-color);
    box-sizing: border-box;
    width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.z-knd-description {
    color: var(--z-knd-text-color);
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 20px 0;
    text-align: justify;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.z-knd-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.z-knd-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--z-knd-text-light);
}

.z-knd-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--z-knd-primary-color);
}

.z-knd-feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

/* بخش شماره تماس */
.z-knd-contact-section {
    margin-bottom: 30px;
}

.z-knd-contact-title {
    color: var(--z-knd-primary-color);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-align: center;
}

.z-knd-contact-subtitle {
    color: var(--z-knd-text-light);
    font-size: 13px;
    text-align: center;
    margin: 0 0 20px 0;
}

.z-knd-contact-boxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.z-knd-contact-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 18px 20px;
    background: #ffffff;
    border: 2px solid var(--z-knd-primary-color);
    border-radius: var(--z-knd-border-radius);
    text-decoration: none;
    transition: var(--z-knd-transition);
    cursor: pointer;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.z-knd-contact-box:hover {
    background: var(--z-knd-primary-color);
    transform: translateY(-2px);
    box-shadow: var(--z-knd-shadow-hover);
}

.z-knd-contact-box:hover .z-knd-contact-icon {
    color: #ffffff;
}

.z-knd-contact-box:hover .z-knd-contact-label,
.z-knd-contact-box:hover .z-knd-contact-number {
    color: #ffffff;
}

.z-knd-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--z-knd-primary-color);
    transition: var(--z-knd-transition);
}

.z-knd-contact-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

.z-knd-contact-label {
    font-size: 13px;
    color: var(--z-knd-text-light);
    font-weight: 500;
    min-width: 70px;
    transition: var(--z-knd-transition);
}

.z-knd-contact-number {
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    color: var(--z-knd-primary-color);
    direction: rtl;
    letter-spacing: 0;
    transition: var(--z-knd-transition);
    flex: 1;
    text-align: right;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* بخش دکمه‌های لوکیشن */
.z-knd-location-section {
    margin-bottom: 0;
}

.z-knd-location-title {
    color: var(--z-knd-primary-color);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-align: center;
}

.z-knd-location-subtitle {
    color: var(--z-knd-text-light);
    font-size: 13px;
    text-align: center;
    margin: 0 0 20px 0;
}

.z-knd-location-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.z-knd-location-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    background: #ffffff;
    border: 2px solid var(--z-knd-primary-color);
    border-radius: var(--z-knd-border-radius);
    color: var(--z-knd-primary-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: var(--z-knd-transition);
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.z-knd-location-btn:hover {
    background: var(--z-knd-primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--z-knd-shadow-hover);
}

.z-knd-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.z-knd-btn-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    transition: var(--z-knd-transition);
}

.z-knd-location-btn:hover .z-knd-btn-icon svg {
    transform: scale(1.1);
}

.z-knd-btn-text {
    font-size: 14px;
}

/* استایل‌های موبایل */
@media (max-width: 480px) {
    .z-knd-information-wrapper {
        padding: 15px 10px;
        overflow-x: hidden;
    }
    
    .z-knd-information-container {
        padding: 25px 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .z-knd-logo {
        max-width: 150px;
    }
    
    .z-knd-tagline {
        font-size: 14px;
    }
    
    .z-knd-description-section {
        padding: 15px;
    }
    
    .z-knd-description {
        font-size: 13px;
    }
    
    .z-knd-contact-box {
        padding: 16px 12px;
        flex-wrap: wrap;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .z-knd-contact-icon {
        width: 20px;
        height: 20px;
    }
    
    .z-knd-contact-label {
        min-width: auto;
        font-size: 12px;
    }
    
    .z-knd-contact-number {
        font-size: 15px;
        width: 100%;
        text-align: center;
        margin-top: 5px;
    }
    
    .z-knd-quick-contact-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .z-knd-quick-btn {
        padding: 14px 12px;
        font-size: 13px;
    }
    
    .z-knd-quick-btn-icon {
        width: 18px;
        height: 18px;
    }
    
    .z-knd-quick-btn-text {
        font-size: 13px;
    }
    
    .z-knd-location-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .z-knd-location-btn {
        padding: 12px 10px;
        font-size: 14px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .z-knd-btn-text {
        font-size: 13px;
    }
}

/* استایل‌های تبلت */
@media (min-width: 481px) and (max-width: 768px) {
    .z-knd-information-container {
        max-width: 450px;
    }
    
    .z-knd-location-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* استایل‌های دسکتاپ */
@media (min-width: 769px) {
    .z-knd-information-container {
        max-width: 500px;
    }
}

/* انیمیشن لود */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.z-knd-information-container {
    animation: fadeInUp 0.5s ease-out;
}

/* جلوگیری از اسکرول افقی در همه المان‌ها */
.z-knd-information-wrapper *,
.z-knd-information-wrapper *::before,
.z-knd-information-wrapper *::after {
    box-sizing: border-box;
}

/* اطمینان از عدم overflow در موبایل */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .z-knd-information-wrapper {
        overflow-x: hidden;
        position: relative;
    }
    
    .z-knd-information-container {
        overflow-x: hidden;
    }
    
    .z-knd-contact-boxes,
    .z-knd-location-buttons {
        width: 100%;
        max-width: 100%;
    }
}

