/*
Theme Name: TS22-CORNER
Theme URI: https://corner-ksa.com
Author: Gemini Partner
Description: قالب مخصص للمركز السعودي للشحن - تصميم احترافي بألوان ناصعة.
Version: 1.0
Text Domain: ts22-corner
*/

:root {
    --primary-color: #0d47a1; /* أزرق ملكي داكن */
    --secondary-color: #fbc02d; /* أصفر ذهبي ناصع */
    --accent-color: #00897b; /* تركواز مميز للأقسام */
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-text: #212529;
    --section-gap: 80px; /* المسافة بين الأقسام */
}

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    text-align: right;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Sections Styling - فواصل غير مباشرة عبر الألوان والظلال */
section {
    padding: var(--section-gap) 0;
    position: relative;
}

.section-white {
    background-color: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%); /* تأثير جمالي غير مباشر */
}

.section-light {
    background-color: #f0f4f8;
}

.section-colored {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-link {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 16px;
}
.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    background-image: url('https://www.corner-ksa.com/wp-content/uploads/2026/01/2.jpg');
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}
/* لا يوجد تظليل للصورة حسب الطلب، فقط تنسيق النص */
.hero-text-container {
    background: rgba(13, 71, 161, 0.6); /* خلفية خفيفة للنص فقط لضمان القراءة */
    padding: 30px;
    border-radius: 10px;
    border-right: 5px solid var(--secondary-color);
}

/* Quote Box */
.quote-box {
    background: var(--white);
    border-top: 5px solid var(--accent-color);
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    margin-top: -50px; /* تداخل مع الهيرو */
    position: relative;
    border-radius: 15px;
    z-index: 10;
}

/* Features */
.feature-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    height: 100%;
    transition: transform 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}
.feature-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* International Grid */
.country-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.country-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}
.country-card:hover img {
    transform: scale(1.1);
}
.country-card h3 {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    margin: 0;
    padding: 10px;
    text-align: center;
    font-size: 18px;
}

/* Contact Bar */
.contact-bar {
    background: var(--secondary-color);
    padding: 30px 0;
    color: var(--dark-text);
    text-align: center;
    margin: 40px 0;
    border-radius: 10px;
}
.contact-item i {
    font-size: 24px;
    margin-left: 10px;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 20px;
    font-size: 14px;
}
footer h4 {
    color: var(--white);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}
footer ul {
    list-style: none;
    padding: 0;
}
footer ul li {
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}
footer ul li a {
    color: #ccc;
}
footer ul li a:hover {
    color: var(--secondary-color);
    padding-right: 5px;
}
.copyright {
    background: #000;
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
}

/* Accordion Custom */
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #e7f1ff;
}

/* حاوية الأزرار العائمة */
.floating-contact {
    position: fixed;
    bottom: 25px; /* المسافة من الأسفل */
    right: 25px;  /* المسافة من اليمين */
    z-index: 99999; /* لضمان ظهورها فوق كل العناصر */
    display: flex;
    flex-direction: column; /* ترتيب الأزرار فوق بعض */
    gap: 15px; /* مسافة بين الزرين */
}

/* التنسيق المشترك للأزرار */
.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
}

/* زر الواتساب */
.whatsapp-btn {
    background-color: #25D366;
}

/* زر الاتصال */
.call-btn {
    background-color: #007bff; /* لون أزرق */
}

/* تأثير عند المرور بالماوس */
.float-btn:hover {
    transform: scale(1.15); /* تكبير بسيط */
}

/* تحسين الأيقونات */
.float-btn svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* تحسين للموبايل لتقليل الحجم قليلاً */
@media (max-width: 768px) {
    .float-btn {
        width: 50px;
        height: 50px;
    }
    .float-btn svg {
        width: 24px;
        height: 24px;
    }
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
}