/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
}

.header-inner {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    height: 15px;
    width: auto;
    max-width: 34%;
    object-fit: contain;
}

.nav-links a {
    color: #1c1c1c;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 600;
}

.nav-links a:hover {
    background: #f6f7fb;
}

.cta-btn {
    background: #ffa19c;
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 10px 18px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    background: #ff8a7a;
    color: #fff;
    text-decoration: none;
}

.auth a {
    color: #1c1c1c;
    text-decoration: none;
    margin-inline-start: 14px;
}

.btn-link {
    color: #007bff !important;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-link:hover {
    color: #0056b3 !important;
}

/* Mobile Header Styles */
@media (max-width: 768px) {
    .header-inner {
        height: 56px;
        padding: 0 15px;
    }
    
    .brand {
        display: flex;
        align-items: center;
    }
    
    .logo-image {
        height: 12px;
        max-width: 34%;
    }
    
    .nav-links a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .cta-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
        border-radius: 14px;
    }
    
    .auth a {
        font-size: 0.9rem;
        margin-inline-start: 10px;
    }
    
    #mnav {
        background: #fff;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    #mnav .nav-links {
        padding: 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    #mnav .nav-links a {
        padding: 12px 16px;
        border-radius: 8px;
        background: #f8f9fa;
        text-align: center;
        font-weight: 600;
    }
    
    #mnav .nav-links a:hover {
        background: #e9ecef;
    }
    
    /* تحسين تنسيق الـ header في الموبيل */
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    .header-inner > div:last-child {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        height: 50px;
        padding: 0 10px;
    }
    
    .brand {
        display: flex;
        align-items: center;
    }
    
    .logo-image {
        height: 10px;
        max-width: 34%;
    }
    
    .cta-btn {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    .auth a {
        font-size: 0.8rem;
        margin-inline-start: 8px;
    }
    
    #mnav .nav-links {
        padding: 10px;
    }
    
    #mnav .nav-links a {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    /* تحسين تنسيق الـ header في الشاشات الصغيرة */
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    .header-inner > div:last-child {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}
