/*
Theme Name: Sulaiman Holding Group
Theme URI: https://sulaimanholding.com
Description: قالب بسيط وأنيق لمجموعة سليمان القابضة، مصمم خصيصاً ليعكس هوية الشركة العريقة. يستخدم نفس الهيدر والفوتر الموجود حالياً مع دعم كامل لووردبريس.
Author: RoidNet
Author URI: https://roidnet.com/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sulaiman
Tags: one-column, two-columns, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, blog, e-commerce

*/

/* استيراد أنماط Tailwind CSS */
@import url('https://cdn.tailwindcss.com');

/* استيراد خطوط Google */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap');

/* الأنماط الأساسية */
body {
    font-family: 'Cairo', sans-serif;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* إخفاء شريط التمرير */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* أنماط ووردبريس المخصصة */
.wp-block-image {
    margin: 1.5rem 0;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.wp-block-quote {
    border-left: 4px solid #000;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
}

.wp-block-button {
    margin: 1rem 0;
}

.wp-block-button a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.wp-block-button a:hover {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}

/* أنماط التدوين */
.post {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.post-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.post-meta {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.post-content {
    line-height: 1.6;
}

/* أنماط التعليقات */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
}

.comment-author {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.comment-content {
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.875rem;
    color: #6b7280;
}

/* أنماط القوائم الجانبية */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #000;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    margin-bottom: 0.5rem;
}

.widget a {
    color: #374151;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #000;
}

/* أنماط النموذج الموحدة */
form {
    margin: 1rem 0;
}

/* تنسيق الأزرار لجميع النماذج */
form input[type="submit"],
form button {
    width: 100%;
    display: inline-block;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease-in-out;
    border: 2px solid;
    background-color: #000;
    color: #fff;
    border-color: #000;
    cursor: pointer;
}

form input[type="submit"]:hover,
form button:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* تنسيق حقول الإدخال لجميع النماذج */
form input[type="text"],
form input[type="email"],
form input[type="url"],
form input[type="search"],
form input[type="password"],
form input[type="tel"],
form textarea {
    width: 100%;
    border-bottom: 2px solid #e5e7eb;
    padding: 12px 8px;
    transition: border-color 0.3s ease;
    background: transparent;
    outline: none;
    border-left: none;
    border-right: none;
    border-top: none;
    margin-bottom: 24px;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="url"]:focus,
form input[type="search"]:focus,
form input[type="password"]:focus,
form input[type="tel"]:focus,
form textarea:focus {
    border-color: #000;
}

/* تنسيق التسميات لجميع النماذج */
form label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #374151;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* تنسيق المسافات لجميع النماذج */
form p {
    margin-bottom: 24px;
}

/* تنسيق رسائل النجاح والخطأ */
form .wpcf7-response-output,
form .form-response {
    margin: 16px 0;
    padding: 16px;
    border-radius: 8px;
}

form.sent .wpcf7-response-output,
form.success .form-response {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

form.failed .wpcf7-response-output,
form.error .form-response {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* أنماط خاصة لنموذج البحث */
.search-form input[type="search"] {
    margin-bottom: 0;
}

.search-form button {
    width: auto;
    padding: 0 12px;
    background: none;
    border: none;
    color: #6b7280;
}

.search-form button:hover {
    background: none;
    color: #000;
    transform: none;
    box-shadow: none;
}

/* أنماط خاصة لنموذج التعليقات */
.comment-form input[type="submit"] {
    width: auto;
    padding: 16px 32px;
}

/* أنماط خاصة بـ Contact Form 7 */
.wpcf7-form {
    margin: 0;
}

.wpcf7-form p {
    margin-bottom: 24px;
}

.wpcf7-form label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #374151;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* تنسيق حقول Contact Form 7 */
.wpcf7-form-control {
    width: 100%;
    border-bottom: 2px solid #e5e7eb;
    padding: 12px 8px;
    transition: border-color 0.3s ease;
    background: transparent;
    outline: none;
    border-left: none;
    border-right: none;
    border-top: none;
    margin-bottom: 0;
}

.wpcf7-form-control:focus {
    border-color: #000;
}

/* تنسيق زر الإرسال في Contact Form 7 */
.wpcf7-submit {
    width: 100%;
    display: inline-block;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease-in-out;
    border: 2px solid;
    background-color: #000;
    color: #fff;
    border-color: #000;
    cursor: pointer;
}

.wpcf7-submit:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* تنسيق رسائل الاستجابة في Contact Form 7 */
.wpcf7-response-output {
    margin: 16px 0;
    padding: 16px;
    border-radius: 8px;
}

.wpcf7-mail-sent-ok {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors,
.wpcf7-spam-blocked {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* تنسيق حقول الخطأ في Contact Form 7 */
.wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
}

.wpcf7-form-control.wpcf7-not-valid {
    border-color: #dc2626;
}

/* تخصيص حجم textarea فقط */
.wpcf7-form-control.wpcf7-textarea {
    height: 120px !important;
   /** resize: vertical;**/
}



/* أنماط التصفح */
.navigation {
    margin: 2rem 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-links a {
    padding: 0.75rem 1.5rem;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}


